JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
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::Base< SavedStateType >
 
using EdgeTableRegionType = typename ClipRegions::EdgeTableRegion< SavedStateType >
 
using RectangleListRegionType = typename ClipRegions::RectangleListRegion< SavedStateType >
 

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< int > getClipBounds () 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 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::Base<SavedStateType>

◆ EdgeTableRegionType

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

◆ RectangleListRegionType

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

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()

◆ clipToImageAlpha()

◆ clipToPath()

◆ clipToRectangle()

◆ clipToRectangleList()

◆ cloneClipIfMultiplyReferenced()

◆ drawImage()

◆ drawLine()

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

◆ excludeClipRectangle()

◆ fillEdgeTable()

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

◆ fillPath()

◆ fillRect() [1/2]

◆ fillRect() [2/2]

◆ fillRectAsPath()

◆ fillRectList()

◆ fillShape()

◆ fillTargetRect() [1/2]

◆ fillTargetRect() [2/2]

◆ getClipBounds()

◆ getThis()

◆ isOnlyTranslationAllowingError()

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

◆ renderImage()

◆ setFillType()

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

Member Data Documentation

◆ clip

◆ fillType

◆ interpolationQuality

◆ transform

◆ transparencyLayerAlpha

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

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