Definition at line 242 of file SkPDFDevice.cpp.
◆ ScopedContentEntry() [1/2]
Definition at line 244 of file SkPDFDevice.cpp.
251 , fClipStack(clipStack)
252 {
253 if (
matrix.hasPerspective()) {
255 return;
256 }
258 fContentStream =
259 fDevice->setUpContentEntry(clipStack, matrix,
paint, textScale, &fDstFormXObject);
260 }
@ kSrcOver
r = s + (1-sa)*d
#define NOT_IMPLEMENTED(condition, assert)
unsigned useCenter Optional< SkMatrix > matrix
◆ ScopedContentEntry() [2/2]
◆ ~ScopedContentEntry()
ScopedContentEntry::~ScopedContentEntry |
( |
| ) |
|
|
inline |
Definition at line 264 of file SkPDFDevice.cpp.
264 {
265 if (fContentStream) {
268 shape = nullptr;
269 }
270 fDevice->finishContentEntry(fClipStack, fBlendMode, fDstFormXObject, shape);
271 }
272 }
◆ needShape()
bool ScopedContentEntry::needShape |
( |
| ) |
|
|
inline |
Definition at line 278 of file SkPDFDevice.cpp.
278 {
279 switch (fBlendMode) {
289 return true;
290 default:
291 return false;
292 }
293 }
@ kSrcATop
r = s*da + d*(1-sa)
@ kDstATop
r = d*sa + s*(1-da)
◆ needSource()
bool ScopedContentEntry::needSource |
( |
| ) |
|
|
inline |
Definition at line 296 of file SkPDFDevice.cpp.
296 {
298 return false;
299 }
300 return true;
301 }
◆ operator bool()
ScopedContentEntry::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ setShape()
void ScopedContentEntry::setShape |
( |
const SkPath & |
shape | ) |
|
|
inline |
◆ stream()
The documentation for this class was generated from the following file: