Flutter Engine
The Flutter Engine
|
#include <GrNativeRect.h>
Public Member Functions | |
const int * | asInts () const |
int * | asInts () |
SkIRect | asSkIRect () const |
void | setRelativeTo (GrSurfaceOrigin org, int rtHeight, const SkIRect &devRect) |
void | setRelativeTo (GrSurfaceOrigin origin, int surfaceHeight, int leftOffset, int topOffset, int width, int height) |
bool | contains (int width, int height) const |
void | invalidate () |
bool | isInvalid () const |
bool | operator== (const GrNativeRect &that) const |
bool | operator!= (const GrNativeRect &that) const |
Static Public Member Functions | |
static GrNativeRect | MakeRelativeTo (GrSurfaceOrigin origin, int rtHeight, SkIRect devRect) |
static SkIRect | MakeIRectRelativeTo (GrSurfaceOrigin origin, int rtHeight, SkIRect devRect) |
Public Attributes | |
int | fX |
int | fY |
int | fWidth |
int | fHeight |
Helper struct for dealing with bottom-up surface origins (bottom-up instead of top-down).
Definition at line 19 of file GrNativeRect.h.
|
inline |
Definition at line 47 of file GrNativeRect.h.
|
inline |
cast-safe way to treat the rect as an array of (4) ints.
Definition at line 38 of file GrNativeRect.h.
|
inline |
Definition at line 49 of file GrNativeRect.h.
Definition at line 77 of file GrNativeRect.h.
|
inline |
|
inline |
|
inlinestatic |
Definition at line 31 of file GrNativeRect.h.
|
inlinestatic |
Definition at line 25 of file GrNativeRect.h.
|
inline |
Definition at line 92 of file GrNativeRect.h.
|
inline |
Definition at line 88 of file GrNativeRect.h.
|
inline |
Definition at line 57 of file GrNativeRect.h.
|
inline |
Definition at line 62 of file GrNativeRect.h.
int GrNativeRect::fHeight |
Definition at line 23 of file GrNativeRect.h.
int GrNativeRect::fWidth |
Definition at line 22 of file GrNativeRect.h.
int GrNativeRect::fX |
Definition at line 20 of file GrNativeRect.h.
int GrNativeRect::fY |
Definition at line 21 of file GrNativeRect.h.