#include <SmallPathShapeData.h>
Definition at line 20 of file SmallPathShapeData.h.
◆ SmallPathShapeDataKey() [1/3]
◆ SmallPathShapeDataKey() [2/3]
skgpu::ganesh::SmallPathShapeDataKey::SmallPathShapeDataKey |
( |
const GrStyledShape & |
shape, |
|
|
uint32_t |
dim |
|
) |
| |
Definition at line 18 of file SmallPathShapeData.cpp.
18 {
19
20
24 fKey.
reset(1 + shapeKeySize);
25 fKey[0] = dim;
27}
bool isSimpleFill() const
void writeUnstyledKey(uint32_t *key) const
int unstyledKeySize() const
bool hasUnstyledKey() const
const GrStyle & style() const
◆ SmallPathShapeDataKey() [3/3]
skgpu::ganesh::SmallPathShapeDataKey::SmallPathShapeDataKey |
( |
const GrStyledShape & |
shape, |
|
|
const SkMatrix & |
ctm |
|
) |
| |
Definition at line 29 of file SmallPathShapeData.cpp.
29 {
30
31
34
41
47 fKey.
reset(5 + shapeKeySize);
52 fKey[4] = fracX | (fracY >> 8);
54}
#define SkScalarToFixed(x)
static uint32_t SkFloat2Bits(float value)
#define SkScalarFloorToScalar(x)
static constexpr int kMScaleX
horizontal scale factor
static constexpr int kMTransY
vertical translation
static constexpr int kMTransX
horizontal translation
static constexpr int kMSkewY
vertical skew factor
SkScalar get(int index) const
static constexpr int kMScaleY
vertical scale factor
static constexpr int kMSkewX
horizontal skew factor
◆ count32()
int skgpu::ganesh::SmallPathShapeDataKey::count32 |
( |
| ) |
const |
|
inline |
◆ data()
const uint32_t * skgpu::ganesh::SmallPathShapeDataKey::data |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ operator==()
Definition at line 36 of file SmallPathShapeData.h.
36 {
37 return fKey.
count() == that.fKey.count() &&
38 0 == memcmp(fKey.
get(), that.fKey.get(),
sizeof(uint32_t) * fKey.
count());
39 }
The documentation for this class was generated from the following files: