Flutter Engine
The Flutter Engine
|
Functions | |
SkPDFIndirectReference | GetGraphicStateForPaint (SkPDFDocument *, const SkPaint &) |
SkPDFIndirectReference | GetSMaskGraphicState (SkPDFIndirectReference sMask, bool invert, SkPDFSMaskMode sMaskMode, SkPDFDocument *doc) |
SkPDFIndirectReference SkPDFGraphicState::GetGraphicStateForPaint | ( | SkPDFDocument * | , |
const SkPaint & | |||
) |
Get the graphic state for the passed SkPaint.
SkPDFIndirectReference SkPDFGraphicState::GetSMaskGraphicState | ( | SkPDFIndirectReference | sMask, |
bool | invert, | ||
SkPDFSMaskMode | sMaskMode, | ||
SkPDFDocument * | doc | ||
) |
Make a graphic state that only sets the passed soft mask.
sMask | The form xobject to use as a soft mask. |
invert | Indicates if the alpha of the sMask should be inverted. |
sMaskMode | Whether to use alpha or luminosity for the sMask. |
These are not de-duped.