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::ClipRegions< SavedStateType >::Base Struct Referenceabstract

#include <juce_RenderingHelpers.h>

Inheritance diagram for juce::RenderingHelpers::ClipRegions< SavedStateType >::Base:
Collaboration diagram for juce::RenderingHelpers::ClipRegions< SavedStateType >::Base:

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. More...
 
bool decReferenceCountWithoutDeleting () noexcept
 Decreases the object's reference count. More...
 
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< intgetClipBounds () const =0
 
int getReferenceCount () const noexcept
 Returns the object's current reference count. More...
 
void incReferenceCount () noexcept
 Increments the object's reference count. More...
 
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<class SavedStateType >
using juce::RenderingHelpers::ClipRegions< SavedStateType >::Base::Ptr = ReferenceCountedObjectPtr<Base>

Constructor & Destructor Documentation

◆ Base()

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

◆ ~Base()

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

Member Function Documentation

◆ applyClipTo()

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

◆ clipRegionIntersects()

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

◆ clipToEdgeTable()

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

◆ clipToImageAlpha()

template<class SavedStateType >
virtual Ptr juce::RenderingHelpers::ClipRegions< SavedStateType >::Base::clipToImageAlpha ( const Image ,
const AffineTransform ,
Graphics::ResamplingQuality   
)
pure virtual

◆ clipToPath()

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

◆ clipToRectangle()

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

◆ clipToRectangleList()

template<class SavedStateType >
virtual Ptr juce::RenderingHelpers::ClipRegions< SavedStateType >::Base::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<class SavedStateType >
virtual Ptr juce::RenderingHelpers::ClipRegions< SavedStateType >::Base::excludeClipRectangle ( Rectangle< int )
pure virtual

◆ fillAllWithColour()

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

◆ fillAllWithGradient()

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

◆ fillRectWithColour() [1/2]

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

◆ fillRectWithColour() [2/2]

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

◆ getClipBounds()

template<class SavedStateType >
virtual Rectangle<int> juce::RenderingHelpers::ClipRegions< SavedStateType >::Base::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<class SavedStateType >
virtual void juce::RenderingHelpers::ClipRegions< SavedStateType >::Base::renderImageTransformed ( SavedStateType &  ,
const Image ,
int  alpha,
const AffineTransform ,
Graphics::ResamplingQuality  ,
bool  tiledFill 
) const
pure virtual

◆ renderImageUntransformed()

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

◆ translate()

template<class SavedStateType >
virtual void juce::RenderingHelpers::ClipRegions< SavedStateType >::Base::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: