JUCE  v5.1.1-3-g1a0b28c73
JUCE API
RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion Class Reference

#include <juce_RenderingHelpers.h>

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

Public Types

typedef Base::Ptr Ptr
 

Public Member Functions

 EdgeTableRegion (const EdgeTable &e)
 
 EdgeTableRegion (const Rectangle< int > &r)
 
 EdgeTableRegion (const Rectangle< float > &r)
 
 EdgeTableRegion (const RectangleList< int > &r)
 
 EdgeTableRegion (const RectangleList< float > &r)
 
 EdgeTableRegion (const Rectangle< int > &bounds, const Path &p, const AffineTransform &t)
 
 EdgeTableRegion (const EdgeTableRegion &other)
 
Ptr applyClipTo (const Ptr &target) const
 
bool clipRegionIntersects (const Rectangle< int > &r) const
 
Ptr clipToEdgeTable (const EdgeTable &et)
 
Ptr clipToImageAlpha (const Image &image, const AffineTransform &transform, const Graphics::ResamplingQuality quality)
 
Ptr clipToPath (const Path &p, const AffineTransform &transform)
 
Ptr clipToRectangle (const Rectangle< int > &r)
 
Ptr clipToRectangleList (const RectangleList< int > &r)
 
Ptr clone () const
 
void decReferenceCount () noexcept
 Decreases the object's reference count. More...
 
bool decReferenceCountWithoutDeleting () noexcept
 Decreases the object's reference count. More...
 
Ptr excludeClipRectangle (const Rectangle< int > &r)
 
void fillAllWithColour (SavedStateType &state, const PixelARGB colour, bool replaceContents) const
 
void fillAllWithGradient (SavedStateType &state, ColourGradient &gradient, const AffineTransform &transform, bool isIdentity) const
 
void fillRectWithColour (SavedStateType &state, const Rectangle< int > &area, const PixelARGB colour, bool replaceContents) const
 
void fillRectWithColour (SavedStateType &state, const Rectangle< float > &area, const PixelARGB colour) const
 
Rectangle< intgetClipBounds () const
 
int getReferenceCount () const noexcept
 Returns the object's current reference count. More...
 
void incReferenceCount () noexcept
 Increments the object's reference count. More...
 
void renderImageTransformed (SavedStateType &state, const Image &src, const int alpha, const AffineTransform &transform, Graphics::ResamplingQuality quality, bool tiledFill) const
 
void renderImageUntransformed (SavedStateType &state, const Image &src, const int alpha, int x, int y, bool tiledFill) const
 
void translate (Point< int > delta)
 

Public Attributes

EdgeTable edgeTable
 

Private Member Functions

EdgeTableRegionoperator= (const EdgeTableRegion &)
 
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, const Graphics::ResamplingQuality quality, const SrcPixelType *)
 

Member Typedef Documentation

◆ Ptr

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

Constructor & Destructor Documentation

◆ EdgeTableRegion() [1/7]

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

◆ EdgeTableRegion() [2/7]

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

◆ EdgeTableRegion() [3/7]

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

◆ EdgeTableRegion() [4/7]

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

◆ EdgeTableRegion() [5/7]

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

◆ EdgeTableRegion() [6/7]

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

◆ EdgeTableRegion() [7/7]

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

Member Function Documentation

◆ applyClipTo()

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

◆ clipRegionIntersects()

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

◆ clipToEdgeTable()

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

◆ clipToImageAlpha()

◆ clipToPath()

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

◆ clipToRectangle()

template<class SavedStateType >
Ptr RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion::clipToRectangle ( const Rectangle< int > &  r)
inlinevirtual

◆ clipToRectangleList()

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

◆ clone()

template<class SavedStateType >
Ptr RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion::clone ( ) const
inlinevirtual

◆ 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 >
Ptr RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion::excludeClipRectangle ( const Rectangle< int > &  r)
inlinevirtual

◆ fillAllWithColour()

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

◆ fillAllWithGradient()

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

◆ fillRectWithColour() [1/2]

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

◆ fillRectWithColour() [2/2]

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

◆ getClipBounds()

template<class SavedStateType >
Rectangle<int> RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion::getClipBounds ( ) const
inlinevirtual

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

◆ operator=()

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

◆ renderImageTransformed()

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

◆ renderImageUntransformed()

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

◆ straightClipImage()

◆ transformedClipImage()

◆ translate()

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

Member Data Documentation

◆ edgeTable


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