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 >::EdgeTableRegion Struct Reference

#include <juce_RenderingHelpers.h>

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

Public Types

using Ptr = typename Base::Ptr
 

Public Member Functions

 EdgeTableRegion (const EdgeTable &e)
 
 EdgeTableRegion (const EdgeTableRegion &other)
 
 EdgeTableRegion (const RectangleList< float > &r)
 
 EdgeTableRegion (const RectangleList< int > &r)
 
 EdgeTableRegion (Rectangle< float > r)
 
 EdgeTableRegion (Rectangle< int > bounds, const Path &p, const AffineTransform &t)
 
 EdgeTableRegion (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...
 
EdgeTableRegionoperator= (const EdgeTableRegion &)=delete
 
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

EdgeTable edgeTable
 

Private Member Functions

template<class SrcPixelType >
void straightClipImage (const Image::BitmapData &srcData, int imageX, int imageY, const SrcPixelType *)
 
template<class SrcPixelType >
void transformedClipImage (const Image::BitmapData &srcData, const AffineTransform &transform, Graphics::ResamplingQuality quality, const SrcPixelType *)
 

Private Attributes

int refCount = 0
 

Member Typedef Documentation

◆ Ptr

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

Constructor & Destructor Documentation

◆ EdgeTableRegion() [1/7]

template<class SavedStateType >
juce::RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion::EdgeTableRegion ( const EdgeTable e)
inline

◆ EdgeTableRegion() [2/7]

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

◆ EdgeTableRegion() [3/7]

template<class SavedStateType >
juce::RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion::EdgeTableRegion ( Rectangle< float r)
inline

◆ EdgeTableRegion() [4/7]

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

◆ EdgeTableRegion() [5/7]

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

◆ EdgeTableRegion() [6/7]

template<class SavedStateType >
juce::RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion::EdgeTableRegion ( Rectangle< int bounds,
const Path p,
const AffineTransform t 
)
inline

◆ EdgeTableRegion() [7/7]

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

Member Function Documentation

◆ applyClipTo()

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

◆ clipRegionIntersects()

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

◆ clipToEdgeTable()

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

◆ clipToImageAlpha()

◆ clipToPath()

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

◆ clipToRectangle()

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

◆ clipToRectangleList()

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

◆ clone()

template<class SavedStateType >
Ptr juce::RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion::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 >::EdgeTableRegion::excludeClipRectangle ( Rectangle< int r)
inlineoverridevirtual

◆ fillAllWithColour()

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

◆ fillAllWithGradient()

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

◆ fillRectWithColour() [1/2]

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

◆ fillRectWithColour() [2/2]

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

◆ getClipBounds()

template<class SavedStateType >
Rectangle<int> juce::RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion::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.

◆ operator=()

template<class SavedStateType >
EdgeTableRegion& juce::RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion::operator= ( const EdgeTableRegion )
delete

◆ renderImageTransformed()

template<class SavedStateType >
void juce::RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion::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 >::EdgeTableRegion::renderImageUntransformed ( SavedStateType &  state,
const Image src,
int  alpha,
int  x,
int  y,
bool  tiledFill 
) const
inlineoverridevirtual

◆ straightClipImage()

template<class SavedStateType >
template<class SrcPixelType >
void juce::RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion::straightClipImage ( const Image::BitmapData srcData,
int  imageX,
int  imageY,
const SrcPixelType *   
)
inlineprivate

◆ transformedClipImage()

◆ translate()

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

Member Data Documentation

◆ edgeTable

template<class SavedStateType >
EdgeTable juce::RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion::edgeTable

◆ refCount

int juce::SingleThreadedReferenceCountedObject::refCount = 0
privateinherited

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