JUCE  v5.1.1-3-g1a0b28c73
JUCE API
RenderingHelpers::ClipRegions< SavedStateType >::Base Class Referenceabstract

#include <juce_RenderingHelpers.h>

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

Public Types

typedef ReferenceCountedObjectPtr< BasePtr
 

Public Member Functions

 Base ()
 
virtual ~Base ()
 
virtual Ptr applyClipTo (const Ptr &target) const =0
 
virtual bool clipRegionIntersects (const Rectangle< int > &) const =0
 
virtual Ptr clipToEdgeTable (const EdgeTable &et)=0
 
virtual Ptr clipToImageAlpha (const Image &, const AffineTransform &, const Graphics::ResamplingQuality)=0
 
virtual Ptr clipToPath (const Path &, const AffineTransform &)=0
 
virtual Ptr clipToRectangle (const 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 (const Rectangle< int > &)=0
 
virtual void fillAllWithColour (SavedStateType &, const PixelARGB colour, bool replaceContents) const =0
 
virtual void fillAllWithGradient (SavedStateType &, ColourGradient &, const AffineTransform &, bool isIdentity) const =0
 
virtual void fillRectWithColour (SavedStateType &, const Rectangle< int > &, const PixelARGB colour, bool replaceContents) const =0
 
virtual void fillRectWithColour (SavedStateType &, const Rectangle< float > &, const PixelARGB colour) 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 &, const int alpha, const AffineTransform &, Graphics::ResamplingQuality, bool tiledFill) const =0
 
virtual void renderImageUntransformed (SavedStateType &, const Image &, const int alpha, int x, int y, bool tiledFill) const =0
 
virtual void translate (Point< int > delta)=0
 

Member Typedef Documentation

◆ Ptr

template<class SavedStateType >
typedef ReferenceCountedObjectPtr<Base> RenderingHelpers::ClipRegions< SavedStateType >::Base::Ptr

Constructor & Destructor Documentation

◆ Base()

template<class SavedStateType >
RenderingHelpers::ClipRegions< SavedStateType >::Base::Base ( )
inline

◆ ~Base()

template<class SavedStateType >
virtual RenderingHelpers::ClipRegions< SavedStateType >::Base::~Base ( )
inlinevirtual

Member Function Documentation

◆ applyClipTo()

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

◆ clipRegionIntersects()

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

◆ clipToEdgeTable()

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

◆ clipToImageAlpha()

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

◆ clipToPath()

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

◆ clipToRectangle()

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

◆ clipToRectangleList()

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

◆ clone()

template<class SavedStateType >
virtual Ptr RenderingHelpers::ClipRegions< SavedStateType >::Base::clone ( ) const
pure virtual

◆ decReferenceCount()

void SingleThreadedReferenceCountedObject::decReferenceCount ( )
inlinenoexceptinherited

Decreases the object's reference count.

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

References jassert.

◆ decReferenceCountWithoutDeleting()

bool 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 RenderingHelpers::ClipRegions< SavedStateType >::Base::excludeClipRectangle ( const Rectangle< int > &  )
pure virtual

◆ fillAllWithColour()

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

◆ fillAllWithGradient()

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

◆ fillRectWithColour() [1/2]

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

◆ fillRectWithColour() [2/2]

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

◆ getClipBounds()

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

◆ getReferenceCount()

int SingleThreadedReferenceCountedObject::getReferenceCount ( ) const
inlinenoexceptinherited

Returns the object's current reference count.

◆ incReferenceCount()

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

◆ renderImageUntransformed()

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

◆ translate()

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

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