Skia
2DGraphicsLibrary
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GrNoClip Class Referencefinal

Specialized implementation for no clip. More...

#include <GrClip.h>

Inheritance diagram for GrNoClip:
GrClip

Private Member Functions

bool quickContains (const SkRect &) const final
 
void getConservativeBounds (int width, int height, SkIRect *devResult, bool *isIntersectionOfRects) const final
 
bool apply (GrContext *, GrDrawContext *, bool, bool, GrAppliedClip *) const final
 

Additional Inherited Members

- Public Member Functions inherited from GrClip
virtual bool quickContains (const SkRRect &rrect) const
 
- Static Public Member Functions inherited from GrClip
template<typename TRect >
static constexpr bool IsInsideClip (const TRect &innerClipBounds, const SkRect &queryBounds)
 Returns true if the given query bounds count as entirely inside the clip. More...
 
template<typename TRect >
static constexpr bool IsOutsideClip (const TRect &outerClipBounds, const SkRect &queryBounds)
 Returns true if the given query bounds count as entirely outside the clip. More...
 
static SkIRect GetPixelIBounds (const SkRect &bounds)
 Returns the minimal integer rect that counts as containing a given set of bounds.
 
static SkRect GetPixelBounds (const SkRect &bounds)
 Returns the minimal pixel-aligned rect that counts as containing a given set of bounds.
 
static bool IsPixelAligned (const SkRect &rect)
 Returns true if the given rect counts as aligned with pixel boundaries.
 
- Static Public Attributes inherited from GrClip
static constexpr SkScalar kBoundsTolerance = 1e-3f
 This is the maximum distance that a draw may extend beyond a clip's boundary and still count count as "on the other side". More...
 

Detailed Description

Specialized implementation for no clip.


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