MCPcopy Create free account
hub / github.com/Tencent/tgfx / Serialize

Method Serialize

src/pdf/PDFBitmap.cpp:337–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335}
336
337PDFIndirectReference PDFBitmap::Serialize(const std::shared_ptr<Image>& image,
338 PDFDocumentImpl* document, int encodingQuality) {
339 DEBUG_ASSERT(image);
340 DEBUG_ASSERT(document);
341 auto ref = document->reserveRef();
342 SerializeImage(image, encodingQuality, document, ref);
343 return ref;
344}
345} // namespace tgfx

Callers

nothing calls this directly

Calls 1

reserveRefMethod · 0.80

Tested by

no test coverage detected