#include <juce_RenderingHelpers.h>
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< int > | getClipBounds () const override |
int | getReferenceCount () const noexcept |
Returns the object's current reference count. More... | |
void | incReferenceCount () noexcept |
Increments the object's reference count. More... | |
EdgeTableRegion & | operator= (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 |
using juce::RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion::Ptr = typename Base::Ptr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements juce::RenderingHelpers::ClipRegions< SavedStateType >::Base.
References juce::gl::target.
|
inlineoverridevirtual |
Implements juce::RenderingHelpers::ClipRegions< SavedStateType >::Base.
References juce::gl::r.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements juce::RenderingHelpers::ClipRegions< SavedStateType >::Base.
References juce::gl::p, and juce::gl::transform.
|
inlineoverridevirtual |
Implements juce::RenderingHelpers::ClipRegions< SavedStateType >::Base.
References juce::gl::r.
|
inlineoverridevirtual |
Implements juce::RenderingHelpers::ClipRegions< SavedStateType >::Base.
References juce::gl::r, and juce::RectangleList< ValueType >::subtract().
|
inlineoverridevirtual |
|
inlinenoexceptinherited |
Decreases the object's reference count.
If the count gets to zero, the object will be deleted.
References jassert.
|
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.
|
inlineoverridevirtual |
Implements juce::RenderingHelpers::ClipRegions< SavedStateType >::Base.
References juce::gl::r.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements juce::RenderingHelpers::ClipRegions< SavedStateType >::Base.
References juce::gl::transform.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlinenoexceptinherited |
Returns the object's current reference count.
|
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.
|
delete |
|
inlineoverridevirtual |
Implements juce::RenderingHelpers::ClipRegions< SavedStateType >::Base.
References juce::gl::alpha, juce::gl::src, and juce::gl::transform.
|
inlineoverridevirtual |
Implements juce::RenderingHelpers::ClipRegions< SavedStateType >::Base.
References juce::gl::alpha, juce::gl::src, juce::gl::x, and juce::gl::y.
|
inlineprivate |
|
inlineprivate |
References juce::RenderingHelpers::EdgeTableFillers::TransformedImageFill< DestPixelType, SrcPixelType, repeatPattern >::clipEdgeTableLine(), juce::EdgeTable::getMaximumBounds(), juce::Rectangle< ValueType >::getWidth(), juce::Rectangle< ValueType >::getX(), juce::Rectangle< ValueType >::getY(), juce::gl::transform, and juce::gl::y.
|
inlineoverridevirtual |
Implements juce::RenderingHelpers::ClipRegions< SavedStateType >::Base.
References juce::Point< ValueType >::x, and juce::Point< ValueType >::y.
EdgeTable juce::RenderingHelpers::ClipRegions< SavedStateType >::EdgeTableRegion::edgeTable |
|
privateinherited |