Flutter Engine
The Flutter Engine
|
#include <SkPDFUnion.h>
Public Member Functions | |
SkPDFUnion (SkPDFUnion &&) | |
SkPDFUnion & | operator= (SkPDFUnion &&) |
~SkPDFUnion () | |
void | emitObject (SkWStream *) const |
bool | isName () const |
Static Public Member Functions | |
static SkPDFUnion | Int (int32_t) |
static SkPDFUnion | Int (size_t v) |
static SkPDFUnion | Bool (bool) |
static SkPDFUnion | Scalar (SkScalar) |
static SkPDFUnion | ColorComponent (uint8_t) |
static SkPDFUnion | ColorComponentF (float) |
static SkPDFUnion | Name (const char *) |
static SkPDFUnion | ByteString (const char *) |
static SkPDFUnion | TextString (const char *) |
static SkPDFUnion | Name (SkString) |
static SkPDFUnion | ByteString (SkString) |
static SkPDFUnion | TextString (SkString) |
static SkPDFUnion | Object (std::unique_ptr< SkPDFObject >) |
static SkPDFUnion | Ref (SkPDFIndirectReference) |
A SkPDFUnion is a non-virtualized implementation of the non-compound, non-specialized PDF Object types: Name, String, Number, Boolean.
Definition at line 23 of file SkPDFUnion.h.
SkPDFUnion::SkPDFUnion | ( | SkPDFUnion && | that | ) |
Definition at line 52 of file SkPDFTypes.cpp.
SkPDFUnion::~SkPDFUnion | ( | ) |
Definition at line 37 of file SkPDFTypes.cpp.
|
static |
Definition at line 317 of file SkPDFTypes.cpp.
|
static |
SkPDFUnion::String will encode the passed string. This will not copy.
Definition at line 331 of file SkPDFTypes.cpp.
|
static |
SkPDFUnion::String will encode the passed string.
Definition at line 345 of file SkPDFTypes.cpp.
|
static |
Definition at line 309 of file SkPDFTypes.cpp.
|
static |
Definition at line 313 of file SkPDFTypes.cpp.
void SkPDFUnion::emitObject | ( | SkWStream * | stream | ) | const |
These two non-virtual methods mirror SkPDFObject's corresponding virtuals.
Definition at line 252 of file SkPDFTypes.cpp.
|
static |
The following nine functions are the standard way of creating SkPDFUnion objects.
Definition at line 305 of file SkPDFTypes.cpp.
|
inlinestatic |
Definition at line 37 of file SkPDFUnion.h.
bool SkPDFUnion::isName | ( | ) | const |
Definition at line 97 of file SkPDFTypes.cpp.
|
static |
These two functions do NOT take ownership of char*, and do NOT copy the string. Suitable for passing in static const strings. For example: SkPDFUnion n = SkPDFUnion::Name("Length"); SkPDFUnion u = SkPDFUnion::String("Identity"); SkPDFUnion::Name(const char*) assumes that the passed string is already a valid name (that is: it has no control or whitespace characters). This will not copy the name.
Definition at line 325 of file SkPDFTypes.cpp.
|
static |
SkPDFUnion::Name(SkString) does not assume that the passed string is already a valid name and it will escape the string.
Definition at line 341 of file SkPDFTypes.cpp.
|
static |
Definition at line 353 of file SkPDFTypes.cpp.
SkPDFUnion & SkPDFUnion::operator= | ( | SkPDFUnion && | that | ) |
Definition at line 89 of file SkPDFTypes.cpp.
|
static |
Definition at line 358 of file SkPDFTypes.cpp.
|
static |
Definition at line 321 of file SkPDFTypes.cpp.
|
static |
Definition at line 336 of file SkPDFTypes.cpp.
|
static |
Definition at line 349 of file SkPDFTypes.cpp.
bool SkPDFUnion::fBoolValue |
Definition at line 85 of file SkPDFUnion.h.
int32_t SkPDFUnion::fIntValue |
Definition at line 84 of file SkPDFUnion.h.
PDFObject SkPDFUnion::fObject |
Definition at line 89 of file SkPDFUnion.h.
SkScalar SkPDFUnion::fScalarValue |
Definition at line 86 of file SkPDFUnion.h.
SkString SkPDFUnion::fSkString |
Definition at line 88 of file SkPDFUnion.h.
const char* SkPDFUnion::fStaticString |
Definition at line 87 of file SkPDFUnion.h.