JUCE  v5.1.1-3-g1a0b28c73
JUCE API
RenderingHelpers::SoftwareRendererSavedState Class Reference

#include <juce_RenderingHelpers.h>

Inheritance diagram for RenderingHelpers::SoftwareRendererSavedState:
Collaboration diagram for RenderingHelpers::SoftwareRendererSavedState:

Public Types

typedef ClipRegions< SoftwareRendererSavedState >::Base BaseRegionType
 
typedef ClipRegions< SoftwareRendererSavedState >::EdgeTableRegion EdgeTableRegionType
 
typedef GlyphCache< CachedGlyphEdgeTable< SoftwareRendererSavedState >, SoftwareRendererSavedStateGlyphCacheType
 
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)
 
SoftwareRendererSavedStatebeginTransparencyLayer (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< intgetClipBounds () const
 
Rectangle< intgetMaximumBounds () const
 
SoftwareRendererSavedStategetThis () 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< intgetLargestIntegerWithin (Rectangle< float > r)
 
static bool isOnlyTranslationAllowingError (const AffineTransform &t)
 

Public Attributes

BaseRegionType::Ptr clip
 
FillType fillType
 
Font font
 
Image image
 
Graphics::ResamplingQuality interpolationQuality
 
RenderingHelpers::TranslationOrTransform transform
 
float transparencyLayerAlpha
 

Private Types

typedef SavedStateBase< SoftwareRendererSavedStateBaseClass
 

Private Member Functions

SoftwareRendererSavedStateoperator= (const SoftwareRendererSavedState &)
 

Member Typedef Documentation

◆ BaseClass

◆ BaseRegionType

◆ EdgeTableRegionType

◆ GlyphCacheType

◆ RectangleListRegionType

Constructor & Destructor Documentation

◆ SoftwareRendererSavedState() [1/3]

RenderingHelpers::SoftwareRendererSavedState::SoftwareRendererSavedState ( const Image im,
const Rectangle< int > &  clipBounds 
)
inline

◆ SoftwareRendererSavedState() [2/3]

RenderingHelpers::SoftwareRendererSavedState::SoftwareRendererSavedState ( const Image im,
const RectangleList< int > &  clipList,
Point< int origin 
)
inline

◆ SoftwareRendererSavedState() [3/3]

RenderingHelpers::SoftwareRendererSavedState::SoftwareRendererSavedState ( const SoftwareRendererSavedState other)
inline

Member Function Documentation

◆ beginTransparencyLayer()

◆ clearGlyphCache()

static void RenderingHelpers::SoftwareRendererSavedState::clearGlyphCache ( )
inlinestatic

◆ clipRegionIntersects()

bool RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >::clipRegionIntersects ( const Rectangle< int > &  r) const
inlineinherited

◆ clipToImageAlpha()

void RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >::clipToImageAlpha ( const Image sourceImage,
const AffineTransform t 
)
inlineinherited

◆ clipToPath()

void RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >::clipToPath ( const Path p,
const AffineTransform t 
)
inlineinherited

◆ clipToRectangle()

bool RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >::clipToRectangle ( const Rectangle< int > &  r)
inlineinherited

References Path::addRectangle().

◆ clipToRectangleList()

◆ cloneClipIfMultiplyReferenced()

void RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >::cloneClipIfMultiplyReferenced ( )
inlineinherited

◆ drawGlyph()

◆ drawImage()

void RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >::drawImage ( const Image sourceImage,
const AffineTransform trans 
)
inlineinherited

◆ drawLine()

void RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >::drawLine ( const Line< float > &  line)
inlineinherited

◆ endTransparencyLayer()

void RenderingHelpers::SoftwareRendererSavedState::endTransparencyLayer ( SoftwareRendererSavedState finishedLayerState)
inline

◆ excludeClipRectangle()

◆ fillEdgeTable()

◆ fillPath()

◆ fillRect() [1/2]

void RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >::fillRect ( const Rectangle< int > &  r,
const bool  replaceContents 
)
inlineinherited

References jassert.

◆ fillRect() [2/2]

void RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >::fillRect ( const Rectangle< float > &  r)
inlineinherited

◆ fillRectAsPath()

void RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >::fillRectAsPath ( const Rectangle< CoordType > &  r)
inlineinherited

References Path::addRectangle().

◆ fillRectList()

◆ fillShape()

◆ fillTargetRect() [1/2]

void RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >::fillTargetRect ( const Rectangle< int > &  r,
const bool  replaceContents 
)
inlineinherited

◆ fillTargetRect() [2/2]

void RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >::fillTargetRect ( const Rectangle< float > &  r)
inlineinherited

◆ fillWithGradient()

template<typename IteratorType >
void RenderingHelpers::SoftwareRendererSavedState::fillWithGradient ( IteratorType &  iter,
ColourGradient gradient,
const AffineTransform trans,
bool  isIdentity 
) const
inline

◆ fillWithSolidColour()

template<typename IteratorType >
void RenderingHelpers::SoftwareRendererSavedState::fillWithSolidColour ( IteratorType &  iter,
const PixelARGB  colour,
bool  replaceContents 
) const
inline

◆ getClipBounds()

Rectangle<int> RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >::getClipBounds ( ) const
inlineinherited

◆ getLargestIntegerWithin()

◆ getMaximumBounds()

Rectangle<int> RenderingHelpers::SoftwareRendererSavedState::getMaximumBounds ( ) const
inline

◆ getThis()

◆ isOnlyTranslationAllowingError()

static bool RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >::isOnlyTranslationAllowingError ( const AffineTransform t)
inlinestaticinherited

◆ operator=()

SoftwareRendererSavedState& RenderingHelpers::SoftwareRendererSavedState::operator= ( const SoftwareRendererSavedState )
private

◆ renderImage()

◆ renderImageTransformed()

template<typename IteratorType >
void RenderingHelpers::SoftwareRendererSavedState::renderImageTransformed ( IteratorType &  iter,
const Image src,
const int  alpha,
const AffineTransform trans,
Graphics::ResamplingQuality  quality,
bool  tiledFill 
) const
inline

◆ renderImageUntransformed()

template<typename IteratorType >
void RenderingHelpers::SoftwareRendererSavedState::renderImageUntransformed ( IteratorType &  iter,
const Image src,
const int  alpha,
int  x,
int  y,
bool  tiledFill 
) const
inline

◆ setFillType()

void RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >::setFillType ( const FillType newFill)
inlineinherited

Member Data Documentation

◆ clip

◆ fillType

◆ font

Font RenderingHelpers::SoftwareRendererSavedState::font

◆ image

Image RenderingHelpers::SoftwareRendererSavedState::image

◆ interpolationQuality

◆ transform

◆ transparencyLayerAlpha

float RenderingHelpers::SavedStateBase< SoftwareRendererSavedState >::transparencyLayerAlpha
inherited

The documentation for this class was generated from the following file: