#include <juce_RenderingHelpers.h>
Public Types | |
typedef ClipRegions< SoftwareRendererSavedState >::Base | BaseRegionType |
typedef ClipRegions< SoftwareRendererSavedState >::EdgeTableRegion | EdgeTableRegionType |
typedef GlyphCache< CachedGlyphEdgeTable< SoftwareRendererSavedState >, SoftwareRendererSavedState > | GlyphCacheType |
typedef ClipRegions< SoftwareRendererSavedState >::RectangleListRegion | RectangleListRegionType |
Public Member Functions | |
SoftwareRendererSavedState (const Image &im, const Rectangle< int > &clipBounds) | |
SoftwareRendererSavedState (const Image &im, const RectangleList< int > &clipList, Point< int > origin) | |
SoftwareRendererSavedState (const SoftwareRendererSavedState &other) | |
SoftwareRendererSavedState * | beginTransparencyLayer (float opacity) |
bool | clipRegionIntersects (const Rectangle< int > &r) const |
void | clipToImageAlpha (const Image &sourceImage, const AffineTransform &t) |
void | clipToPath (const Path &p, const AffineTransform &t) |
bool | clipToRectangle (const 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 (const Line< float > &line) |
void | endTransparencyLayer (SoftwareRendererSavedState &finishedLayerState) |
bool | excludeClipRectangle (const Rectangle< int > &r) |
void | fillEdgeTable (const EdgeTable &edgeTable, const float x, const int y) |
void | fillPath (const Path &path, const AffineTransform &t) |
void | fillRect (const Rectangle< int > &r, const bool replaceContents) |
void | fillRect (const Rectangle< float > &r) |
void | fillRectAsPath (const Rectangle< CoordType > &r) |
void | fillRectList (const RectangleList< float > &list) |
void | fillShape (typename BaseRegionType::Ptr shapeToFill, const bool replaceContents) |
void | fillTargetRect (const Rectangle< int > &r, const bool replaceContents) |
void | fillTargetRect (const 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, const 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 *const tiledFillClipRegion) |
template<typename IteratorType > | |
void | renderImageTransformed (IteratorType &iter, const Image &src, const int alpha, const AffineTransform &trans, Graphics::ResamplingQuality quality, bool tiledFill) const |
template<typename IteratorType > | |
void | renderImageUntransformed (IteratorType &iter, const Image &src, const 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) |
Private Types | |
typedef SavedStateBase< SoftwareRendererSavedState > | BaseClass |
Private Member Functions | |
SoftwareRendererSavedState & | operator= (const SoftwareRendererSavedState &) |
|
private |
|
inherited |
|
inherited |
typedef GlyphCache<CachedGlyphEdgeTable<SoftwareRendererSavedState>, SoftwareRendererSavedState> RenderingHelpers::SoftwareRendererSavedState::GlyphCacheType |
|
inherited |
|
inline |
|
inline |
|
inline |
|
inline |
References Image::ARGB, RenderingHelpers::SavedStateBase< SavedStateType >::clip, RenderingHelpers::SavedStateBase< SavedStateType >::cloneClipIfMultiplyReferenced(), image, RenderingHelpers::TranslationOrTransform::moveOriginInDeviceSpace(), RenderingHelpers::SavedStateBase< SavedStateType >::transform, and RenderingHelpers::SavedStateBase< SavedStateType >::transparencyLayerAlpha.
|
inlinestatic |
|
inlineinherited |
|
inlineinherited |
References Path::addRectangle(), Image::getBounds(), and Image::hasAlphaChannel().
|
inlineinherited |
|
inlineinherited |
References Path::addRectangle().
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
References Path::addLineSegment().
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
References jassert.
|
inlineinherited |
|
inlineinherited |
References Path::addRectangle().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inline |
|
inlineinherited |
|
inlinestaticinherited |
|
inlinenoexceptinherited |
|
inlinestaticinherited |
References AffineTransform::mat00, AffineTransform::mat01, AffineTransform::mat10, and AffineTransform::mat11.
|
private |
|
inlineinherited |
References Path::addRectangle(), Image::getBounds(), Image::getHeight(), Rectangle< ValueType >::getIntersection(), Image::getWidth(), Rectangle< ValueType >::isEmpty(), Graphics::lowResamplingQuality, RenderingHelpers::ClipRegions< SavedStateType >::Base::renderImageTransformed(), and RenderingHelpers::ClipRegions< SavedStateType >::Base::renderImageUntransformed().
|
inline |
|
inlineinherited |
|
inherited |
|
inherited |
Font RenderingHelpers::SoftwareRendererSavedState::font |
Image RenderingHelpers::SoftwareRendererSavedState::image |
Referenced by beginTransparencyLayer(), and endTransparencyLayer().
|
inherited |
|
inherited |
|
inherited |