Go to the source code of this file.
◆ as_pdf_blend_mode_name()
static const char * as_pdf_blend_mode_name |
( |
SkBlendMode |
mode | ) |
|
|
static |
◆ make_invert_function()
Definition at line 105 of file SkPDFGraphicState.cpp.
105 {
106
107
108 static const char psInvert[] = "{1 exch sub}";
109
111
113 dict->insertInt("FunctionType", 4);
117}
SkPDFIndirectReference SkPDFStreamOut(std::unique_ptr< SkPDFDict > dict, std::unique_ptr< SkStreamAsset > content, SkPDFDocument *doc, SkPDFSteamCompressionEnabled compress)
static std::unique_ptr< SkPDFDict > SkPDFMakeDict(const char *type=nullptr)
static std::unique_ptr< SkPDFArray > SkPDFMakeArray(Args... args)
static sk_sp< SkData > MakeWithoutCopy(const void *data, size_t length)
static std::unique_ptr< SkMemoryStream > Make(sk_sp< SkData > data)
◆ pdf_blend_mode()
Definition at line 46 of file SkPDFGraphicState.cpp.
46 {
50 {
52 }
53 return SkToU8((
unsigned)mode);
54}
@ kSrcOver
r = s + (1-sa)*d
@ kXor
r = s*(1-da) + d*(1-sa)
constexpr uint8_t SkToU8(S x)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive mode
◆ to_stroke_cap()
static int to_stroke_cap |
( |
uint8_t |
cap | ) |
|
|
static |
◆ to_stroke_join()
static int to_stroke_join |
( |
uint8_t |
join | ) |
|
|
static |
Definition at line 34 of file SkPDFGraphicState.cpp.
34 {
35
41 }
42}
@ kMiter_Join
extends to miter limit
@ kBevel_Join
connects outside edges