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

Public Types

using Ptr = ReferenceCountedObjectPtr< Base >
 

Public Member Functions

 Base ()=default
 
 ~Base () override=default
 
virtual Ptr applyClipTo (const Ptr &target) const =0
 
virtual bool clipRegionIntersects (Rectangle< int >) const =0
 
virtual Ptr clipToEdgeTable (const EdgeTable &)=0
 
virtual Ptr clipToImageAlpha (const Image &, const AffineTransform &, Graphics::ResamplingQuality)=0
 
virtual Ptr clipToPath (const Path &, const AffineTransform &)=0
 
virtual Ptr clipToRectangle (Rectangle< int >)=0
 
virtual Ptr clipToRectangleList (const RectangleList< int > &)=0
 
virtual Ptr clone () const =0
 
void decReferenceCount () noexcept
 Decreases the object's reference count.
 
bool decReferenceCountWithoutDeleting () noexcept
 Decreases the object's reference count.
 
virtual Ptr excludeClipRectangle (Rectangle< int >)=0
 
virtual void fillAllWithColour (SavedStateType &, PixelARGB colour, bool replaceContents) const =0
 
virtual void fillAllWithGradient (SavedStateType &, ColourGradient &, const AffineTransform &, bool isIdentity) const =0
 
virtual void fillRectWithColour (SavedStateType &, Rectangle< float >, PixelARGB colour) const =0
 
virtual void fillRectWithColour (SavedStateType &, Rectangle< int >, PixelARGB colour, bool replaceContents) const =0
 
virtual Rectangle< int > getClipBounds () const =0
 
int getReferenceCount () const noexcept
 Returns the object's current reference count.
 
void incReferenceCount () noexcept
 Increments the object's reference count.
 
virtual void renderImageTransformed (SavedStateType &, const Image &, int alpha, const AffineTransform &, Graphics::ResamplingQuality, bool tiledFill) const =0
 
virtual void renderImageUntransformed (SavedStateType &, const Image &, int alpha, int x, int y, bool tiledFill) const =0
 
virtual void translate (Point< int > delta)=0
 

Private Attributes

int refCount = 0
 

Member Typedef Documentation

◆ Ptr

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

Constructor & Destructor Documentation

◆ Base()

template<typename SavedStateType >
juce::RenderingHelpers::ClipRegions::Base< SavedStateType >::Base ( )
default

◆ ~Base()

template<typename SavedStateType >
juce::RenderingHelpers::ClipRegions::Base< SavedStateType >::~Base ( )
overridedefault

Member Function Documentation

◆ applyClipTo()

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

◆ clipRegionIntersects()

template<typename SavedStateType >
virtual bool juce::RenderingHelpers::ClipRegions::Base< SavedStateType >::clipRegionIntersects ( Rectangle< int >  ) const
pure virtual

◆ clipToEdgeTable()

template<typename SavedStateType >
virtual Ptr juce::RenderingHelpers::ClipRegions::Base< SavedStateType >::clipToEdgeTable ( const EdgeTable )
pure virtual

◆ clipToImageAlpha()

◆ clipToPath()

template<typename SavedStateType >
virtual Ptr juce::RenderingHelpers::ClipRegions::Base< SavedStateType >::clipToPath ( const Path ,
const AffineTransform  
)
pure virtual

◆ clipToRectangle()

◆ clipToRectangleList()

template<typename SavedStateType >
virtual Ptr juce::RenderingHelpers::ClipRegions::Base< SavedStateType >::clipToRectangleList ( const RectangleList< int > &  )
pure virtual

◆ clone()

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

template<typename SavedStateType >
virtual Ptr juce::RenderingHelpers::ClipRegions::Base< SavedStateType >::excludeClipRectangle ( Rectangle< int >  )
pure virtual

◆ fillAllWithColour()

template<typename SavedStateType >
virtual void juce::RenderingHelpers::ClipRegions::Base< SavedStateType >::fillAllWithColour ( SavedStateType &  ,
PixelARGB  colour,
bool  replaceContents 
) const
pure virtual

◆ fillAllWithGradient()

template<typename SavedStateType >
virtual void juce::RenderingHelpers::ClipRegions::Base< SavedStateType >::fillAllWithGradient ( SavedStateType &  ,
ColourGradient ,
const AffineTransform ,
bool  isIdentity 
) const
pure virtual

◆ fillRectWithColour() [1/2]

template<typename SavedStateType >
virtual void juce::RenderingHelpers::ClipRegions::Base< SavedStateType >::fillRectWithColour ( SavedStateType &  ,
Rectangle< float ,
PixelARGB  colour 
) const
pure virtual

◆ fillRectWithColour() [2/2]

template<typename SavedStateType >
virtual void juce::RenderingHelpers::ClipRegions::Base< SavedStateType >::fillRectWithColour ( SavedStateType &  ,
Rectangle< int >  ,
PixelARGB  colour,
bool  replaceContents 
) const
pure virtual

◆ getClipBounds()

template<typename SavedStateType >
virtual Rectangle< int > juce::RenderingHelpers::ClipRegions::Base< SavedStateType >::getClipBounds ( ) const
pure virtual

◆ 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.

◆ renderImageTransformed()

template<typename SavedStateType >
virtual void juce::RenderingHelpers::ClipRegions::Base< SavedStateType >::renderImageTransformed ( SavedStateType &  ,
const Image ,
int  alpha,
const AffineTransform ,
Graphics::ResamplingQuality  ,
bool  tiledFill 
) const
pure virtual

◆ renderImageUntransformed()

template<typename SavedStateType >
virtual void juce::RenderingHelpers::ClipRegions::Base< SavedStateType >::renderImageUntransformed ( SavedStateType &  ,
const Image ,
int  alpha,
int  x,
int  y,
bool  tiledFill 
) const
pure virtual

◆ translate()

template<typename SavedStateType >
virtual void juce::RenderingHelpers::ClipRegions::Base< SavedStateType >::translate ( Point< int >  delta)
pure virtual

Member Data Documentation

◆ refCount

int juce::SingleThreadedReferenceCountedObject::refCount = 0
privateinherited

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