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 >::RectangleListRegion Class Reference

#include <juce_RenderingHelpers.h>

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

Classes

class  SubRectangleIterator
 
class  SubRectangleIteratorFloat
 

Public Types

using Ptr = typename Base::Ptr
 

Public Member Functions

 RectangleListRegion (const RectangleList< int > &r)
 
 RectangleListRegion (const RectangleListRegion &other)
 
 RectangleListRegion (Rectangle< int > r)
 
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. More...
 
bool decReferenceCountWithoutDeleting () noexcept
 Decreases the object's reference count. More...
 
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< intgetClipBounds () const override
 
int getReferenceCount () const noexcept
 Returns the object's current reference count. More...
 
void incReferenceCount () noexcept
 Increments the object's reference count. More...
 
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< intclip
 

Private Member Functions

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

Private Attributes

int refCount = 0
 

Member Typedef Documentation

◆ Ptr

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

Constructor & Destructor Documentation

◆ RectangleListRegion() [1/3]

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

◆ RectangleListRegion() [2/3]

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

◆ RectangleListRegion() [3/3]

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

Member Function Documentation

◆ applyClipTo()

template<class SavedStateType >
Ptr juce::RenderingHelpers::ClipRegions< SavedStateType >::RectangleListRegion::applyClipTo ( const Ptr target) const
inlineoverridevirtual

◆ clipRegionIntersects()

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

◆ clipToEdgeTable()

template<class SavedStateType >
Ptr juce::RenderingHelpers::ClipRegions< SavedStateType >::RectangleListRegion::clipToEdgeTable ( const EdgeTable et)
inlineoverridevirtual

◆ clipToImageAlpha()

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

◆ clipToPath()

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

◆ clipToRectangle()

template<class SavedStateType >
Ptr juce::RenderingHelpers::ClipRegions< SavedStateType >::RectangleListRegion::clipToRectangle ( Rectangle< int r)
inlineoverridevirtual

◆ clipToRectangleList()

template<class SavedStateType >
Ptr juce::RenderingHelpers::ClipRegions< SavedStateType >::RectangleListRegion::clipToRectangleList ( const RectangleList< int > &  r)
inlineoverridevirtual

◆ clone()

template<class SavedStateType >
Ptr juce::RenderingHelpers::ClipRegions< SavedStateType >::RectangleListRegion::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()

template<class SavedStateType >
Ptr juce::RenderingHelpers::ClipRegions< SavedStateType >::RectangleListRegion::excludeClipRectangle ( Rectangle< int r)
inlineoverridevirtual

◆ fillAllWithColour()

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

◆ fillAllWithGradient()

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

◆ fillRectWithColour() [1/2]

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

◆ fillRectWithColour() [2/2]

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

◆ getClipBounds()

template<class SavedStateType >
Rectangle<int> juce::RenderingHelpers::ClipRegions< SavedStateType >::RectangleListRegion::getClipBounds ( ) const
inlineoverridevirtual

◆ 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<class SavedStateType >
template<class Renderer >
void juce::RenderingHelpers::ClipRegions< SavedStateType >::RectangleListRegion::iterate ( Renderer &  r) const
inlinenoexcept

◆ operator=()

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

◆ renderImageTransformed()

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

◆ renderImageUntransformed()

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

◆ toEdgeTable()

template<class SavedStateType >
Ptr juce::RenderingHelpers::ClipRegions< SavedStateType >::RectangleListRegion::toEdgeTable ( ) const
inlineprivate

◆ translate()

template<class SavedStateType >
void juce::RenderingHelpers::ClipRegions< SavedStateType >::RectangleListRegion::translate ( Point< int delta)
inlineoverridevirtual

Member Data Documentation

◆ clip

template<class SavedStateType >
RectangleList<int> juce::RenderingHelpers::ClipRegions< SavedStateType >::RectangleListRegion::clip

◆ refCount

int juce::SingleThreadedReferenceCountedObject::refCount = 0
privateinherited

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