#include <AtlasTypes.h>
Definition at line 39 of file AtlasTypes.h.
◆ area()
int skgpu::IRect16::area |
( |
| ) |
const |
|
inline |
◆ height()
int skgpu::IRect16::height |
( |
| ) |
const |
|
inline |
◆ isEmpty()
bool skgpu::IRect16::isEmpty |
( |
| ) |
const |
|
inline |
◆ Make()
Definition at line 60 of file AtlasTypes.h.
60 {
61 IRect16 r;
62 r.set(ir);
63 return r;
64 }
◆ MakeEmpty()
static IRect16 skgpu::IRect16::MakeEmpty |
( |
| ) |
|
|
inlinestatic |
Definition at line 42 of file AtlasTypes.h.
42 {
43 IRect16 r;
44 r.setEmpty();
45 return r;
46 }
◆ MakeWH()
static IRect16 skgpu::IRect16::MakeWH |
( |
int16_t |
w, |
|
|
int16_t |
h |
|
) |
| |
|
inlinestatic |
Definition at line 48 of file AtlasTypes.h.
48 {
49 IRect16 r;
51 return r;
52 }
◆ MakeXYWH()
static IRect16 skgpu::IRect16::MakeXYWH |
( |
int16_t |
x, |
|
|
int16_t |
y, |
|
|
int16_t |
w, |
|
|
int16_t |
h |
|
) |
| |
|
inlinestatic |
Definition at line 54 of file AtlasTypes.h.
54 {
55 IRect16 r;
57 return r;
58 }
◆ offset()
void skgpu::IRect16::offset |
( |
int16_t |
dx, |
|
|
int16_t |
dy |
|
) |
| |
|
inline |
Definition at line 87 of file AtlasTypes.h.
87 {
92 }
skia_private::AutoTArray< sk_sp< SkImageFilter > > filters TypedMatrix matrix TypedMatrix matrix SkScalar dx
◆ set() [1/2]
void skgpu::IRect16::set |
( |
const SkIRect & |
r | ) |
|
|
inline |
Definition at line 80 of file AtlasTypes.h.
80 {
85 }
constexpr int16_t SkToS16(S x)
int32_t fBottom
larger y-axis bounds
int32_t fTop
smaller y-axis bounds
int32_t fLeft
smaller x-axis bounds
int32_t fRight
larger x-axis bounds
◆ set() [2/2]
void skgpu::IRect16::set |
( |
int16_t |
left, |
|
|
int16_t |
top, |
|
|
int16_t |
right, |
|
|
int16_t |
bottom |
|
) |
| |
|
inline |
◆ setEmpty()
void skgpu::IRect16::setEmpty |
( |
| ) |
|
|
inline |
Definition at line 71 of file AtlasTypes.h.
71{ memset(this, 0, sizeof(*this)); }
◆ width()
int skgpu::IRect16::width |
( |
| ) |
const |
|
inline |
◆ fBottom
int16_t skgpu::IRect16::fBottom |
◆ fLeft
int16_t skgpu::IRect16::fLeft |
◆ fRight
int16_t skgpu::IRect16::fRight |
◆ fTop
int16_t skgpu::IRect16::fTop |
The documentation for this struct was generated from the following file: