JUCE  v5.1.1-3-g1a0b28c73
JUCE API
RenderingHelpers::SavedStateBase< SavedStateType > Class Template Reference

#include <juce_RenderingHelpers.h>

Inheritance diagram for RenderingHelpers::SavedStateBase< SavedStateType >:
Collaboration diagram for RenderingHelpers::SavedStateBase< SavedStateType >:

Public Types

typedef ClipRegions< SavedStateType >::Base BaseRegionType
 
typedef ClipRegions< SavedStateType >::EdgeTableRegion EdgeTableRegionType
 
typedef ClipRegions< SavedStateType >::RectangleListRegion RectangleListRegionType
 

Public Member Functions

 SavedStateBase (const Rectangle< int > &initialClip)
 
 SavedStateBase (const RectangleList< int > &clipList, Point< int > origin)
 
 SavedStateBase (const SavedStateBase &other)
 
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 drawImage (const Image &sourceImage, const AffineTransform &trans)
 
void drawLine (const Line< float > &line)
 
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)
 
template<typename CoordType >
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)
 
Rectangle< intgetClipBounds () const
 
SavedStateType & getThis () noexcept
 
void renderImage (const Image &sourceImage, const AffineTransform &trans, const BaseRegionType *const tiledFillClipRegion)
 
void setFillType (const FillType &newFill)
 

Static Public Member Functions

static Rectangle< intgetLargestIntegerWithin (Rectangle< float > r)
 
static bool isOnlyTranslationAllowingError (const AffineTransform &t)
 

Public Attributes

BaseRegionType::Ptr clip
 
FillType fillType
 
Graphics::ResamplingQuality interpolationQuality
 
RenderingHelpers::TranslationOrTransform transform
 
float transparencyLayerAlpha
 

Member Typedef Documentation

◆ BaseRegionType

template<class SavedStateType>
typedef ClipRegions<SavedStateType>::Base RenderingHelpers::SavedStateBase< SavedStateType >::BaseRegionType

◆ EdgeTableRegionType

template<class SavedStateType>
typedef ClipRegions<SavedStateType>::EdgeTableRegion RenderingHelpers::SavedStateBase< SavedStateType >::EdgeTableRegionType

◆ RectangleListRegionType

template<class SavedStateType>
typedef ClipRegions<SavedStateType>::RectangleListRegion RenderingHelpers::SavedStateBase< SavedStateType >::RectangleListRegionType

Constructor & Destructor Documentation

◆ SavedStateBase() [1/3]

template<class SavedStateType>
RenderingHelpers::SavedStateBase< SavedStateType >::SavedStateBase ( const Rectangle< int > &  initialClip)
inline

◆ SavedStateBase() [2/3]

template<class SavedStateType>
RenderingHelpers::SavedStateBase< SavedStateType >::SavedStateBase ( const RectangleList< int > &  clipList,
Point< int origin 
)
inline

◆ SavedStateBase() [3/3]

template<class SavedStateType>
RenderingHelpers::SavedStateBase< SavedStateType >::SavedStateBase ( const SavedStateBase< SavedStateType > &  other)
inline

Member Function Documentation

◆ clipRegionIntersects()

template<class SavedStateType>
bool RenderingHelpers::SavedStateBase< SavedStateType >::clipRegionIntersects ( const Rectangle< int > &  r) const
inline

◆ clipToImageAlpha()

template<class SavedStateType>
void RenderingHelpers::SavedStateBase< SavedStateType >::clipToImageAlpha ( const Image sourceImage,
const AffineTransform t 
)
inline

◆ clipToPath()

template<class SavedStateType>
void RenderingHelpers::SavedStateBase< SavedStateType >::clipToPath ( const Path p,
const AffineTransform t 
)
inline

◆ clipToRectangle()

template<class SavedStateType>
bool RenderingHelpers::SavedStateBase< SavedStateType >::clipToRectangle ( const Rectangle< int > &  r)
inline

◆ clipToRectangleList()

template<class SavedStateType>
bool RenderingHelpers::SavedStateBase< SavedStateType >::clipToRectangleList ( const RectangleList< int > &  r)
inline

◆ cloneClipIfMultiplyReferenced()

template<class SavedStateType>
void RenderingHelpers::SavedStateBase< SavedStateType >::cloneClipIfMultiplyReferenced ( )
inline

◆ drawImage()

template<class SavedStateType>
void RenderingHelpers::SavedStateBase< SavedStateType >::drawImage ( const Image sourceImage,
const AffineTransform trans 
)
inline

◆ drawLine()

template<class SavedStateType>
void RenderingHelpers::SavedStateBase< SavedStateType >::drawLine ( const Line< float > &  line)
inline

◆ excludeClipRectangle()

template<class SavedStateType>
bool RenderingHelpers::SavedStateBase< SavedStateType >::excludeClipRectangle ( const Rectangle< int > &  r)
inline

◆ fillEdgeTable()

template<class SavedStateType>
void RenderingHelpers::SavedStateBase< SavedStateType >::fillEdgeTable ( const EdgeTable edgeTable,
const float  x,
const int  y 
)
inline

◆ fillPath()

template<class SavedStateType>
void RenderingHelpers::SavedStateBase< SavedStateType >::fillPath ( const Path path,
const AffineTransform t 
)
inline

◆ fillRect() [1/2]

template<class SavedStateType>
void RenderingHelpers::SavedStateBase< SavedStateType >::fillRect ( const Rectangle< int > &  r,
const bool  replaceContents 
)
inline

◆ fillRect() [2/2]

template<class SavedStateType>
void RenderingHelpers::SavedStateBase< SavedStateType >::fillRect ( const Rectangle< float > &  r)
inline

◆ fillRectAsPath()

template<class SavedStateType>
template<typename CoordType >
void RenderingHelpers::SavedStateBase< SavedStateType >::fillRectAsPath ( const Rectangle< CoordType > &  r)
inline

◆ fillRectList()

template<class SavedStateType>
void RenderingHelpers::SavedStateBase< SavedStateType >::fillRectList ( const RectangleList< float > &  list)
inline

◆ fillShape()

template<class SavedStateType>
void RenderingHelpers::SavedStateBase< SavedStateType >::fillShape ( typename BaseRegionType::Ptr  shapeToFill,
const bool  replaceContents 
)
inline

◆ fillTargetRect() [1/2]

template<class SavedStateType>
void RenderingHelpers::SavedStateBase< SavedStateType >::fillTargetRect ( const Rectangle< int > &  r,
const bool  replaceContents 
)
inline

◆ fillTargetRect() [2/2]

template<class SavedStateType>
void RenderingHelpers::SavedStateBase< SavedStateType >::fillTargetRect ( const Rectangle< float > &  r)
inline

◆ getClipBounds()

template<class SavedStateType>
Rectangle<int> RenderingHelpers::SavedStateBase< SavedStateType >::getClipBounds ( ) const
inline

◆ getLargestIntegerWithin()

template<class SavedStateType>
static Rectangle<int> RenderingHelpers::SavedStateBase< SavedStateType >::getLargestIntegerWithin ( Rectangle< float >  r)
inlinestatic

◆ getThis()

template<class SavedStateType>
SavedStateType& RenderingHelpers::SavedStateBase< SavedStateType >::getThis ( )
inlinenoexcept

◆ isOnlyTranslationAllowingError()

template<class SavedStateType>
static bool RenderingHelpers::SavedStateBase< SavedStateType >::isOnlyTranslationAllowingError ( const AffineTransform t)
inlinestatic

◆ renderImage()

template<class SavedStateType>
void RenderingHelpers::SavedStateBase< SavedStateType >::renderImage ( const Image sourceImage,
const AffineTransform trans,
const BaseRegionType *const  tiledFillClipRegion 
)
inline

◆ setFillType()

template<class SavedStateType>
void RenderingHelpers::SavedStateBase< SavedStateType >::setFillType ( const FillType newFill)
inline

Member Data Documentation

◆ clip

◆ fillType

template<class SavedStateType>
FillType RenderingHelpers::SavedStateBase< SavedStateType >::fillType

◆ interpolationQuality

template<class SavedStateType>
Graphics::ResamplingQuality RenderingHelpers::SavedStateBase< SavedStateType >::interpolationQuality

◆ transform

◆ transparencyLayerAlpha


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