#include <juce_RenderingHelpers.h>
Public Types | |
using | BaseRegionType = typename ClipRegions< SoftwareRendererSavedState >::Base |
using | EdgeTableRegionType = typename ClipRegions< SoftwareRendererSavedState >::EdgeTableRegion |
using | GlyphCacheType = GlyphCache< CachedGlyphEdgeTable< SoftwareRendererSavedState >, SoftwareRendererSavedState > |
using | RectangleListRegionType = typename ClipRegions< SoftwareRendererSavedState >::RectangleListRegion |
Public Member Functions | |
SoftwareRendererSavedState (const Image &im, Rectangle< int > clipBounds) | |
SoftwareRendererSavedState (const Image &im, const RectangleList< int > &clipList, Point< int > origin) | |
SoftwareRendererSavedState (const SoftwareRendererSavedState &other) | |
SoftwareRendererSavedState * | beginTransparencyLayer (float opacity) |
bool | clipRegionIntersects (Rectangle< int > r) const |
void | clipToImageAlpha (const Image &sourceImage, const AffineTransform &t) |
void | clipToPath (const Path &p, const AffineTransform &t) |
bool | clipToRectangle (Rectangle< int > r) |
bool | clipToRectangleList (const RectangleList< int > &r) |
void | cloneClipIfMultiplyReferenced () |
void | drawGlyph (int glyphNumber, const AffineTransform &trans) |
void | drawImage (const Image &sourceImage, const AffineTransform &trans) |
void | drawLine (Line< float > line) |
void | endTransparencyLayer (SoftwareRendererSavedState &finishedLayerState) |
bool | excludeClipRectangle (Rectangle< int > r) |
void | fillEdgeTable (const EdgeTable &edgeTable, float x, int y) |
void | fillPath (const Path &path, const AffineTransform &t) |
void | fillRect (Rectangle< int > r, bool replaceContents) |
void | fillRect (Rectangle< float > r) |
void | fillRectAsPath (Rectangle< CoordType > r) |
void | fillRectList (const RectangleList< float > &list) |
void | fillShape (typename BaseRegionType::Ptr shapeToFill, bool replaceContents) |
void | fillTargetRect (Rectangle< int > r, bool replaceContents) |
void | fillTargetRect (Rectangle< float > r) |
template<typename IteratorType > | |
void | fillWithGradient (IteratorType &iter, ColourGradient &gradient, const AffineTransform &trans, bool isIdentity) const |
template<typename IteratorType > | |
void | fillWithSolidColour (IteratorType &iter, PixelARGB colour, bool replaceContents) const |
Rectangle< int > | getClipBounds () const |
Rectangle< int > | getMaximumBounds () const |
SoftwareRendererSavedState & | getThis () noexcept |
void | renderImage (const Image &sourceImage, const AffineTransform &trans, const BaseRegionType *tiledFillClipRegion) |
template<typename IteratorType > | |
void | renderImageTransformed (IteratorType &iter, const Image &src, int alpha, const AffineTransform &trans, Graphics::ResamplingQuality quality, bool tiledFill) const |
template<typename IteratorType > | |
void | renderImageUntransformed (IteratorType &iter, const Image &src, int alpha, int x, int y, bool tiledFill) const |
void | setFillType (const FillType &newFill) |
Static Public Member Functions | |
static void | clearGlyphCache () |
static Rectangle< int > | getLargestIntegerWithin (Rectangle< float > r) |
static bool | isOnlyTranslationAllowingError (const AffineTransform &t, float tolerance) noexcept |
Public Attributes | |
BaseRegionType::Ptr | clip |
FillType | fillType |
Font | font |
Image | image |
Graphics::ResamplingQuality | interpolationQuality |
RenderingHelpers::TranslationOrTransform | transform |
float | transparencyLayerAlpha |
Private Types | |
using | BaseClass = SavedStateBase< SoftwareRendererSavedState > |
Private Member Functions | |
SoftwareRendererSavedState & | operator= (const SoftwareRendererSavedState &) |
|
private |
|
inherited |
|
inherited |
using juce::RenderingHelpers::SoftwareRendererSavedState::GlyphCacheType = GlyphCache<CachedGlyphEdgeTable<SoftwareRendererSavedState>, SoftwareRendererSavedState> |
|
inherited |
|
inline |
|
inline |
|
inline |
|
inline |
References juce::Image::ARGB.
|
inlinestatic |
|
inlineinherited |
|
inlineinherited |
References juce::Path::addRectangle(), juce::Image::getBounds(), and juce::Image::hasAlphaChannel().
|
inlineinherited |
|
inlineinherited |
References juce::Path::addRectangle().
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
References juce::Path::addLineSegment().
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
References jassert.
|
inlineinherited |
|
inlineinherited |
References juce::Path::addRectangle().
|
inlineinherited |
References juce::RectangleList< ValueType >::begin(), juce::RectangleList< ValueType >::getNumRectangles(), juce::RectangleList< ValueType >::offsetAll(), juce::RectangleList< ValueType >::toPath(), juce::RectangleList< ValueType >::transformAll(), and juce::RenderingHelpers::TranslationOrTransform::transformed().
|
inlineinherited |
References juce::RenderingHelpers::TranslationOrTransform::isIdentity(), and jassert.
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlinestaticinherited |
|
inline |
|
inlinenoexceptinherited |
|
inlinestaticnoexceptinherited |
|
private |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inherited |
|
inherited |
Font juce::RenderingHelpers::SoftwareRendererSavedState::font |
Image juce::RenderingHelpers::SoftwareRendererSavedState::image |
Referenced by endTransparencyLayer().
|
inherited |
|
inherited |
|
inherited |