JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
juce::RenderingHelpers::SavedStateBase< SavedStateType > Class Template Reference

Public Types

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

Public Member Functions

 SavedStateBase (Rectangle< int > initialClip)
 
 SavedStateBase (const RectangleList< int > &clipList, Point< int > origin)
 
 SavedStateBase (const SavedStateBase &other)
 
SavedStateTypegetThis () noexcept
 
bool clipToRectangle (Rectangle< int > r)
 
bool clipToRectangleList (const RectangleList< int > &r)
 
bool excludeClipRectangle (Rectangle< int > r)
 
void clipToPath (const Path &p, const AffineTransform &t)
 
void clipToImageAlpha (const Image &sourceImage, const AffineTransform &t)
 
bool clipRegionIntersects (Rectangle< int > r) const
 
Rectangle< intgetClipBounds () const
 
void setFillType (const FillType &newFill)
 
void fillTargetRect (Rectangle< int > r, bool replaceContents)
 
void fillTargetRect (Rectangle< float > r)
 
template<typename CoordType >
void fillRectAsPath (Rectangle< CoordType > r)
 
void fillRect (Rectangle< int > r, bool replaceContents)
 
void fillRect (Rectangle< float > r)
 
void fillRectList (const RectangleList< float > &list)
 
void fillPath (const Path &path, const AffineTransform &t)
 
void fillEdgeTable (const EdgeTable &edgeTable, float x, int y)
 
void drawLine (Line< float > line)
 
void drawImage (const Image &sourceImage, const AffineTransform &trans)
 
void renderImage (const Image &sourceImage, const AffineTransform &trans, const BaseRegionType *tiledFillClipRegion)
 
void fillShape (typename BaseRegionType::Ptr shapeToFill, bool replaceContents)
 
void cloneClipIfMultiplyReferenced ()
 

Static Public Member Functions

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

Public Attributes

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

Detailed Description

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

Definition at line 2042 of file juce_RenderingHelpers.h.

Member Typedef Documentation

◆ BaseRegionType

Definition at line 2045 of file juce_RenderingHelpers.h.

◆ EdgeTableRegionType

Definition at line 2046 of file juce_RenderingHelpers.h.

◆ RectangleListRegionType

Definition at line 2047 of file juce_RenderingHelpers.h.

Constructor & Destructor Documentation

◆ SavedStateBase() [1/3]

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

Definition at line 2049 of file juce_RenderingHelpers.h.

◆ SavedStateBase() [2/3]

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

Definition at line 2055 of file juce_RenderingHelpers.h.

◆ SavedStateBase() [3/3]

Definition at line 2061 of file juce_RenderingHelpers.h.

Member Function Documentation

◆ clipRegionIntersects()

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

Definition at line 2198 of file juce_RenderingHelpers.h.

◆ clipToImageAlpha()

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

Definition at line 2180 of file juce_RenderingHelpers.h.

◆ clipToPath()

Definition at line 2171 of file juce_RenderingHelpers.h.

◆ clipToRectangle()

Definition at line 2070 of file juce_RenderingHelpers.h.

◆ clipToRectangleList()

Definition at line 2095 of file juce_RenderingHelpers.h.

◆ cloneClipIfMultiplyReferenced()

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

Definition at line 2465 of file juce_RenderingHelpers.h.

◆ drawImage()

Definition at line 2360 of file juce_RenderingHelpers.h.

◆ drawLine()

Definition at line 2353 of file juce_RenderingHelpers.h.

◆ excludeClipRectangle()

Definition at line 2143 of file juce_RenderingHelpers.h.

◆ fillEdgeTable()

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

Definition at line 2334 of file juce_RenderingHelpers.h.

◆ fillPath()

Definition at line 2322 of file juce_RenderingHelpers.h.

◆ fillRect() [1/2]

Definition at line 2280 of file juce_RenderingHelpers.h.

◆ fillRect() [2/2]

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

Definition at line 2260 of file juce_RenderingHelpers.h.

◆ fillRectAsPath()

Definition at line 2253 of file juce_RenderingHelpers.h.

◆ fillRectList()

Definition at line 2293 of file juce_RenderingHelpers.h.

◆ fillShape()

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

Definition at line 2427 of file juce_RenderingHelpers.h.

◆ fillTargetRect() [1/2]

Definition at line 2237 of file juce_RenderingHelpers.h.

◆ fillTargetRect() [2/2]

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

Definition at line 2222 of file juce_RenderingHelpers.h.

◆ getClipBounds()

Definition at line 2211 of file juce_RenderingHelpers.h.

◆ getLargestIntegerWithin()

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

Definition at line 2133 of file juce_RenderingHelpers.h.

◆ getThis()

Definition at line 2068 of file juce_RenderingHelpers.h.

◆ isOnlyTranslationAllowingError()

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

Definition at line 2366 of file juce_RenderingHelpers.h.

◆ renderImage()

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

Definition at line 2374 of file juce_RenderingHelpers.h.

◆ setFillType()

Definition at line 2217 of file juce_RenderingHelpers.h.

Member Data Documentation

◆ clip

Definition at line 2471 of file juce_RenderingHelpers.h.

◆ fillType

Definition at line 2473 of file juce_RenderingHelpers.h.

◆ interpolationQuality

Definition at line 2474 of file juce_RenderingHelpers.h.

◆ transform

Definition at line 2472 of file juce_RenderingHelpers.h.

◆ transparencyLayerAlpha

Definition at line 2475 of file juce_RenderingHelpers.h.


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