#include <juce_RenderingHelpers.h>
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< 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... | |
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< int > | clip |
Private Member Functions | |
RectangleListRegion & | operator= (const RectangleListRegion &)=delete |
Ptr | toEdgeTable () const |
Private Attributes | |
int | refCount = 0 |
using juce::RenderingHelpers::ClipRegions< SavedStateType >::RectangleListRegion::Ptr = typename Base::Ptr |
|
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 |
Implements juce::RenderingHelpers::ClipRegions< SavedStateType >::Base.
References juce::gl::transform.
|
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.
|
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.
|
inlinenoexcept |
References juce::gl::bottom, jassert, juce::gl::r, juce::gl::w, juce::gl::x, and juce::gl::y.
|
privatedelete |
|
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 |
|
inlineoverridevirtual |
RectangleList<int> juce::RenderingHelpers::ClipRegions< SavedStateType >::RectangleListRegion::clip |
|
privateinherited |