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 13 of file SkPDFUnion.h.
SkPDFUnion::SkPDFUnion | ( | SkPDFUnion && | that | ) |
Definition at line 46 of file SkPDFTypes.cpp.
SkPDFUnion::~SkPDFUnion | ( | ) |
Definition at line 31 of file SkPDFTypes.cpp.
|
static |
Definition at line 311 of file SkPDFTypes.cpp.
|
static |
SkPDFUnion::String will encode the passed string. This will not copy.
Definition at line 325 of file SkPDFTypes.cpp.
|
static |
SkPDFUnion::String will encode the passed string.
Definition at line 339 of file SkPDFTypes.cpp.
|
static |
Definition at line 303 of file SkPDFTypes.cpp.
|
static |
Definition at line 307 of file SkPDFTypes.cpp.
void SkPDFUnion::emitObject | ( | SkWStream * | stream | ) | const |
These two non-virtual methods mirror SkPDFObject's corresponding virtuals.
Definition at line 246 of file SkPDFTypes.cpp.
|
static |
The following nine functions are the standard way of creating SkPDFUnion objects.
Definition at line 299 of file SkPDFTypes.cpp.
|
inlinestatic |
Definition at line 27 of file SkPDFUnion.h.
bool SkPDFUnion::isName | ( | ) | const |
Definition at line 91 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 319 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 335 of file SkPDFTypes.cpp.
|
static |
Definition at line 347 of file SkPDFTypes.cpp.
SkPDFUnion & SkPDFUnion::operator= | ( | SkPDFUnion && | that | ) |
Definition at line 83 of file SkPDFTypes.cpp.
|
static |
Definition at line 352 of file SkPDFTypes.cpp.
|
static |
Definition at line 315 of file SkPDFTypes.cpp.
|
static |
Definition at line 330 of file SkPDFTypes.cpp.
|
static |
Definition at line 343 of file SkPDFTypes.cpp.
bool SkPDFUnion::fBoolValue |
Definition at line 75 of file SkPDFUnion.h.
int32_t SkPDFUnion::fIntValue |
Definition at line 74 of file SkPDFUnion.h.
PDFObject SkPDFUnion::fObject |
Definition at line 79 of file SkPDFUnion.h.
SkScalar SkPDFUnion::fScalarValue |
Definition at line 76 of file SkPDFUnion.h.
SkString SkPDFUnion::fSkString |
Definition at line 78 of file SkPDFUnion.h.
const char* SkPDFUnion::fStaticString |
Definition at line 77 of file SkPDFUnion.h.