Go to the source code of this file.
◆ BREAK_ON_READ_ERROR
#define BREAK_ON_READ_ERROR |
( |
|
r | ) |
if (!r->isValid()) break |
◆ do_clip_op()
Definition at line 108 of file SkPicturePlayback.cpp.
109 {
110 switch(op) {
113
114 *clipOpToUse =
static_cast<SkClipOp>(op);
115 return true;
117
121 return true;
122 default:
123
125 return false;
126 }
127}
static void ResetClip(SkCanvas *canvas)
bool isVersionLT(SkPicturePriv::Version targetVersion) const
@ kReplace_Op
replace target with operand
@ kIntersect_Op
target intersected with operand
@ kDifference_Op
target minus operand
◆ get_rect_ptr()
Definition at line 51 of file SkPicturePlayback.cpp.
51 {
54 return storage;
55 } else {
56 return nullptr;
57 }
58}
void readRect(SkRect *rect)
◆ validate_offsetToRestore()
static void validate_offsetToRestore |
( |
SkReadBuffer * |
reader, |
|
|
size_t |
offsetToRestore |
|
) |
| |
|
static |
Definition at line 102 of file SkPicturePlayback.cpp.
102 {
103 if (offsetToRestore) {
105 }
106}
static constexpr bool SkIsAlign4(T x)
bool validate(bool isValid)