JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce::RenderingHelpers::ClipRegions::RectangleListRegion< SavedStateType > Class Template Referenceabstract
Inheritance diagram for juce::RenderingHelpers::ClipRegions::RectangleListRegion< SavedStateType >:
Collaboration diagram for juce::RenderingHelpers::ClipRegions::RectangleListRegion< SavedStateType >:

Classes

class  SubRectangleIterator
 
class  SubRectangleIteratorFloat
 

Public Types

using Ptr = typename Base< SavedStateType >::Ptr
 

Public Member Functions

 RectangleListRegion (const RectangleList< int > &r)
 
 RectangleListRegion (const RectangleListRegion &other)
 
 RectangleListRegion (Rectangle< int > r)
 
virtual Ptr applyClipTo (const Ptr &target) const =0
 
Ptr applyClipTo (const Ptr &target) const override
 
bool clipRegionIntersects (Rectangle< int > r) const override
 
Ptr clipToEdgeTable (const EdgeTable &et) override
 
Ptr clipToImageAlpha (const Image &image, const AffineTransform &transform, Graphics::ResamplingQuality quality) override
 
Ptr clipToPath (const Path &p, const AffineTransform &transform) override
 
Ptr clipToRectangle (Rectangle< int > r) override
 
Ptr clipToRectangleList (const RectangleList< int > &r) override
 
Ptr clone () const override
 
void decReferenceCount () noexcept
 Decreases the object's reference count.
 
bool decReferenceCountWithoutDeleting () noexcept
 Decreases the object's reference count.
 
Ptr excludeClipRectangle (Rectangle< int > r) override
 
void fillAllWithColour (SavedStateType &state, PixelARGB colour, bool replaceContents) const override
 
void fillAllWithGradient (SavedStateType &state, ColourGradient &gradient, const AffineTransform &transform, bool isIdentity) const override
 
void fillRectWithColour (SavedStateType &state, Rectangle< float > area, PixelARGB colour) const override
 
void fillRectWithColour (SavedStateType &state, Rectangle< int > area, PixelARGB colour, bool replaceContents) const override
 
Rectangle< int > getClipBounds () const override
 
int getReferenceCount () const noexcept
 Returns the object's current reference count.
 
void incReferenceCount () noexcept
 Increments the object's reference count.
 
template<class Renderer >
void iterate (Renderer &r) const noexcept
 
void renderImageTransformed (SavedStateType &state, const Image &src, int alpha, const AffineTransform &transform, Graphics::ResamplingQuality quality, bool tiledFill) const override
 
void renderImageUntransformed (SavedStateType &state, const Image &src, int alpha, int x, int y, bool tiledFill) const override
 
void translate (Point< int > delta) override
 

Public Attributes

RectangleList< int > clip
 

Private Member Functions

RectangleListRegionoperator= (const RectangleListRegion &)=delete
 
Ptr toEdgeTable () const
 

Private Attributes

int refCount = 0
 

Member Typedef Documentation

◆ Ptr

template<typename SavedStateType >
using juce::RenderingHelpers::ClipRegions::RectangleListRegion< SavedStateType >::Ptr = typename Base<SavedStateType>::Ptr

Constructor & Destructor Documentation

◆ RectangleListRegion() [1/3]

template<typename SavedStateType >
juce::RenderingHelpers::ClipRegions::RectangleListRegion< SavedStateType >::RectangleListRegion ( Rectangle< int >  r)
inline

◆ RectangleListRegion() [2/3]

template<typename SavedStateType >
juce::RenderingHelpers::ClipRegions::RectangleListRegion< SavedStateType >::RectangleListRegion ( const RectangleList< int > &  r)
inline

◆ RectangleListRegion() [3/3]

template<typename SavedStateType >
juce::RenderingHelpers::ClipRegions::RectangleListRegion< SavedStateType >::RectangleListRegion ( const RectangleListRegion< SavedStateType > &  other)
inline

Member Function Documentation

◆ applyClipTo() [1/2]

template<typename SavedStateType >
virtual Ptr juce::RenderingHelpers::ClipRegions::Base< SavedStateType >::applyClipTo ( const Ptr target) const
pure virtualinherited

◆ applyClipTo() [2/2]

template<typename SavedStateType >
Ptr juce::RenderingHelpers::ClipRegions::RectangleListRegion< SavedStateType >::applyClipTo ( const Ptr target) const
inlineoverride

◆ clipRegionIntersects()

◆ clipToEdgeTable()

◆ clipToImageAlpha()

template<typename SavedStateType >
Ptr juce::RenderingHelpers::ClipRegions::RectangleListRegion< SavedStateType >::clipToImageAlpha ( const Image image,
const AffineTransform transform,
Graphics::ResamplingQuality  quality 
)
inlineoverridevirtual

◆ clipToPath()

template<typename SavedStateType >
Ptr juce::RenderingHelpers::ClipRegions::RectangleListRegion< SavedStateType >::clipToPath ( const Path p,
const AffineTransform transform 
)
inlineoverridevirtual

◆ clipToRectangle()

◆ clipToRectangleList()

◆ clone()

template<typename SavedStateType >
Ptr juce::RenderingHelpers::ClipRegions::RectangleListRegion< SavedStateType >::clone ( ) const
inlineoverridevirtual

◆ decReferenceCount()

void juce::SingleThreadedReferenceCountedObject::decReferenceCount ( )
inlinenoexceptinherited

Decreases the object's reference count.

If the count gets to zero, the object will be deleted.

References jassert.

◆ decReferenceCountWithoutDeleting()

bool juce::SingleThreadedReferenceCountedObject::decReferenceCountWithoutDeleting ( )
inlinenoexceptinherited

Decreases the object's reference count.

If the count gets to zero, the object will not be deleted, but this method will return true, allowing the caller to take care of deletion.

References jassert.

◆ excludeClipRectangle()

◆ fillAllWithColour()

template<typename SavedStateType >
void juce::RenderingHelpers::ClipRegions::RectangleListRegion< SavedStateType >::fillAllWithColour ( SavedStateType &  state,
PixelARGB  colour,
bool  replaceContents 
) const
inlineoverridevirtual

◆ fillAllWithGradient()

template<typename SavedStateType >
void juce::RenderingHelpers::ClipRegions::RectangleListRegion< SavedStateType >::fillAllWithGradient ( SavedStateType &  state,
ColourGradient gradient,
const AffineTransform transform,
bool  isIdentity 
) const
inlineoverridevirtual

◆ fillRectWithColour() [1/2]

template<typename SavedStateType >
void juce::RenderingHelpers::ClipRegions::RectangleListRegion< SavedStateType >::fillRectWithColour ( SavedStateType &  state,
Rectangle< float area,
PixelARGB  colour 
) const
inlineoverridevirtual

◆ fillRectWithColour() [2/2]

template<typename SavedStateType >
void juce::RenderingHelpers::ClipRegions::RectangleListRegion< SavedStateType >::fillRectWithColour ( SavedStateType &  state,
Rectangle< int >  area,
PixelARGB  colour,
bool  replaceContents 
) const
inlineoverridevirtual

◆ getClipBounds()

◆ getReferenceCount()

int juce::SingleThreadedReferenceCountedObject::getReferenceCount ( ) const
inlinenoexceptinherited

Returns the object's current reference count.

◆ incReferenceCount()

void juce::SingleThreadedReferenceCountedObject::incReferenceCount ( )
inlinenoexceptinherited

Increments the object's reference count.

This is done automatically by the smart pointer, but is public just in case it's needed for nefarious purposes.

◆ iterate()

template<typename SavedStateType >
template<class Renderer >
void juce::RenderingHelpers::ClipRegions::RectangleListRegion< SavedStateType >::iterate ( Renderer &  r) const
inlinenoexcept

◆ operator=()

template<typename SavedStateType >
RectangleListRegion & juce::RenderingHelpers::ClipRegions::RectangleListRegion< SavedStateType >::operator= ( const RectangleListRegion< SavedStateType > &  )
privatedelete

◆ renderImageTransformed()

template<typename SavedStateType >
void juce::RenderingHelpers::ClipRegions::RectangleListRegion< SavedStateType >::renderImageTransformed ( SavedStateType &  state,
const Image src,
int  alpha,
const AffineTransform transform,
Graphics::ResamplingQuality  quality,
bool  tiledFill 
) const
inlineoverridevirtual

◆ renderImageUntransformed()

template<typename SavedStateType >
void juce::RenderingHelpers::ClipRegions::RectangleListRegion< SavedStateType >::renderImageUntransformed ( SavedStateType &  state,
const Image src,
int  alpha,
int  x,
int  y,
bool  tiledFill 
) const
inlineoverridevirtual

◆ toEdgeTable()

◆ translate()

Member Data Documentation

◆ clip

◆ refCount

int juce::SingleThreadedReferenceCountedObject::refCount = 0
privateinherited

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