JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::RenderingHelpers::SavedStateBase< SavedStateType > Class Template Reference

#include <juce_RenderingHelpers.h>

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

Public Types

using BaseRegionType = typename ClipRegions< SavedStateType >::Base
 
using EdgeTableRegionType = typename ClipRegions< SavedStateType >::EdgeTableRegion
 
using RectangleListRegionType = typename ClipRegions< SavedStateType >::RectangleListRegion
 

Public Member Functions

 SavedStateBase (const RectangleList< int > &clipList, Point< int > origin)
 
 SavedStateBase (const SavedStateBase &other)
 
 SavedStateBase (Rectangle< int > initialClip)
 
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 drawImage (const Image &sourceImage, const AffineTransform &trans)
 
void drawLine (Line< float > line)
 
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< float > r)
 
void fillRect (Rectangle< int > r, bool replaceContents)
 
template<typename CoordType >
void fillRectAsPath (Rectangle< CoordType > r)
 
void fillRectList (const RectangleList< float > &list)
 
void fillShape (typename BaseRegionType::Ptr shapeToFill, bool replaceContents)
 
void fillTargetRect (Rectangle< float > r)
 
void fillTargetRect (Rectangle< int > r, bool replaceContents)
 
Rectangle< intgetClipBounds () const
 
SavedStateType & getThis () noexcept
 
void renderImage (const Image &sourceImage, const AffineTransform &trans, const BaseRegionType *tiledFillClipRegion)
 
void setFillType (const FillType &newFill)
 

Static Public Member Functions

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

Public Attributes

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

Member Typedef Documentation

◆ BaseRegionType

template<class SavedStateType >
using juce::RenderingHelpers::SavedStateBase< SavedStateType >::BaseRegionType = typename ClipRegions<SavedStateType>::Base

◆ EdgeTableRegionType

template<class SavedStateType >
using juce::RenderingHelpers::SavedStateBase< SavedStateType >::EdgeTableRegionType = typename ClipRegions<SavedStateType>::EdgeTableRegion

◆ RectangleListRegionType

template<class SavedStateType >
using juce::RenderingHelpers::SavedStateBase< SavedStateType >::RectangleListRegionType = typename ClipRegions<SavedStateType>::RectangleListRegion

Constructor & Destructor Documentation

◆ SavedStateBase() [1/3]

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

◆ SavedStateBase() [2/3]

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

◆ SavedStateBase() [3/3]

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

Member Function Documentation

◆ clipRegionIntersects()

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

◆ clipToImageAlpha()

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

◆ clipToPath()

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

◆ clipToRectangle()

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

◆ clipToRectangleList()

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

◆ cloneClipIfMultiplyReferenced()

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

◆ drawImage()

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

◆ drawLine()

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

◆ excludeClipRectangle()

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

◆ fillEdgeTable()

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

◆ fillPath()

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

◆ fillRect() [1/2]

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

◆ fillRect() [2/2]

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

◆ fillRectAsPath()

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

◆ fillRectList()

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

◆ fillShape()

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

◆ fillTargetRect() [1/2]

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

◆ fillTargetRect() [2/2]

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

◆ getClipBounds()

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

◆ getLargestIntegerWithin()

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

◆ getThis()

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

◆ isOnlyTranslationAllowingError()

template<class SavedStateType >
static bool juce::RenderingHelpers::SavedStateBase< SavedStateType >::isOnlyTranslationAllowingError ( const AffineTransform t,
float  tolerance 
)
inlinestaticnoexcept

◆ renderImage()

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

◆ setFillType()

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

Member Data Documentation

◆ clip

template<class SavedStateType >
BaseRegionType::Ptr juce::RenderingHelpers::SavedStateBase< SavedStateType >::clip

◆ fillType

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

◆ interpolationQuality

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

◆ transform

template<class SavedStateType >
RenderingHelpers::TranslationOrTransform juce::RenderingHelpers::SavedStateBase< SavedStateType >::transform

◆ transparencyLayerAlpha

template<class SavedStateType >
float juce::RenderingHelpers::SavedStateBase< SavedStateType >::transparencyLayerAlpha

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