Flutter Engine
The Flutter Engine
|
#include <SkPDFDocumentPriv.h>
Additional Inherited Members | |
Protected Types inherited from SkDocument | |
enum | State { kBetweenPages_State , kInPage_State , kClosed_State } |
Protected Member Functions inherited from SkDocument | |
SkDocument (SkWStream *) | |
~SkDocument () override | |
virtual SkCanvas * | onBeginPage (SkScalar width, SkScalar height)=0 |
virtual void | onEndPage ()=0 |
virtual void | onClose (SkWStream *)=0 |
virtual void | onAbort ()=0 |
SkWStream * | getStream () |
State | getState () const |
Concrete implementation of SkDocument that creates PDF files. This class does not produced linearized or optimized PDFs; instead it it attempts to use a minimum amount of RAM.
Definition at line 95 of file SkPDFDocumentPriv.h.
SkPDFDocument::SkPDFDocument | ( | SkWStream * | stream, |
SkPDF::Metadata | metadata | ||
) |
Definition at line 233 of file SkPDFDocument.cpp.
|
override |
Definition at line 248 of file SkPDFDocument.cpp.
Definition at line 567 of file SkPDFDocument.cpp.
SkPDFTagTree::Mark SkPDFDocument::createMarkIdForNodeId | ( | int | nodeId, |
SkPoint | p | ||
) |
Definition at line 558 of file SkPDFDocument.cpp.
Definition at line 571 of file SkPDFDocument.cpp.
|
inline |
Definition at line 131 of file SkPDFDocumentPriv.h.
|
inline |
Definition at line 155 of file SkPDFDocumentPriv.h.
const SkMatrix & SkPDFDocument::currentPageTransform | ( | ) | const |
Definition at line 549 of file SkPDFDocument.cpp.
SkPDFIndirectReference SkPDFDocument::emit | ( | const SkPDFObject & | object, |
SkPDFIndirectReference | ref | ||
) |
Serialize the object, as well as any other objects it indirectly refers to. If any any other objects have been added to the SkPDFObjNumMap without serializing them, they will be serialized as well.
It might go without saying that objects should not be changed after calling serialize, since those changes will be too late.
Definition at line 253 of file SkPDFDocument.cpp.
|
inline |
Definition at line 114 of file SkPDFDocumentPriv.h.
|
inline |
Definition at line 117 of file SkPDFDocumentPriv.h.
|
inline |
Definition at line 152 of file SkPDFDocumentPriv.h.
std::unique_ptr< SkPDFArray > SkPDFDocument::getAnnotations | ( | ) |
Definition at line 338 of file SkPDFDocument.cpp.
SkPDFIndirectReference SkPDFDocument::getPage | ( | size_t | pageIndex | ) | const |
Definition at line 544 of file SkPDFDocument.cpp.
|
inline |
Definition at line 130 of file SkPDFDocumentPriv.h.
void SkPDFDocument::incrementJobCount | ( | ) |
Definition at line 672 of file SkPDFDocument.cpp.
|
inline |
Definition at line 127 of file SkPDFDocumentPriv.h.
SkString SkPDFDocument::nextFontSubsetTag | ( | ) |
Definition at line 592 of file SkPDFDocument.cpp.
|
overridevirtual |
Implements SkDocument.
Definition at line 405 of file SkPDFDocument.cpp.
Implements SkDocument.
Definition at line 272 of file SkPDFDocument.cpp.
|
overridevirtual |
Implements SkDocument.
Definition at line 609 of file SkPDFDocument.cpp.
|
overridevirtual |
Implements SkDocument.
Definition at line 377 of file SkPDFDocument.cpp.
|
inline |
Definition at line 156 of file SkPDFDocumentPriv.h.
|
inline |
Definition at line 147 of file SkPDFDocumentPriv.h.
void SkPDFDocument::signalJobComplete | ( | ) |
Definition at line 674 of file SkPDFDocument.cpp.
std::vector<std::unique_ptr<SkPDFLink> > SkPDFDocument::fCurrentPageLinks |
Definition at line 185 of file SkPDFDocumentPriv.h.
skia_private::THashMap<SkPDFFillGraphicState, SkPDFIndirectReference, SkPDFFillGraphicState::Hash> SkPDFDocument::fFillGSMap |
Definition at line 182 of file SkPDFDocumentPriv.h.
skia_private::THashMap<uint32_t, SkPDFIndirectReference> SkPDFDocument::fFontDescriptors |
Definition at line 174 of file SkPDFDocumentPriv.h.
skia_private::THashMap<uint64_t, SkPDFFont> SkPDFDocument::fFontMap |
Definition at line 176 of file SkPDFDocumentPriv.h.
skia_private::THashMap<SkPDFGradientShader::Key, SkPDFIndirectReference, SkPDFGradientShader::KeyHash> SkPDFDocument::fGradientPatternMap |
Definition at line 166 of file SkPDFDocumentPriv.h.
skia_private::THashMap<SkPDFIccProfileKey, SkPDFIndirectReference, SkPDFIccProfileKey::Hash> SkPDFDocument::fICCProfileMap |
Definition at line 170 of file SkPDFDocumentPriv.h.
skia_private::THashMap<SkPDFImageShaderKey, SkPDFIndirectReference, SkPDFImageShaderKey::Hash> SkPDFDocument::fImageShaderMap |
Definition at line 163 of file SkPDFDocumentPriv.h.
SkPDFIndirectReference SkPDFDocument::fInvertFunction |
Definition at line 183 of file SkPDFDocumentPriv.h.
std::vector<SkPDFNamedDestination> SkPDFDocument::fNamedDestinations |
Definition at line 186 of file SkPDFDocumentPriv.h.
SkPDFIndirectReference SkPDFDocument::fNoSmaskGraphicState |
Definition at line 184 of file SkPDFDocumentPriv.h.
skia_private::THashMap<SkBitmapKey, SkPDFIndirectReference> SkPDFDocument::fPDFBitmapMap |
Definition at line 167 of file SkPDFDocumentPriv.h.
skia_private::THashMap<SkPDFStrokeGraphicState, SkPDFIndirectReference, SkPDFStrokeGraphicState::Hash> SkPDFDocument::fStrokeGSMap |
Definition at line 179 of file SkPDFDocumentPriv.h.
skia_private::THashMap<uint32_t, std::vector<SkUnichar> > SkPDFDocument::fToUnicodeMap |
Definition at line 173 of file SkPDFDocumentPriv.h.
skia_private::THashMap<uint32_t, std::vector<SkString> > SkPDFDocument::fType1GlyphNames |
Definition at line 172 of file SkPDFDocumentPriv.h.
skia_private::THashMap<uint32_t, SkPDFIndirectReference> SkPDFDocument::fType3FontDescriptors |
Definition at line 175 of file SkPDFDocumentPriv.h.
skia_private::THashMap<uint32_t, std::unique_ptr<SkAdvancedTypefaceMetrics> > SkPDFDocument::fTypefaceMetrics |
Definition at line 171 of file SkPDFDocumentPriv.h.