Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SkPDFObject Class Referenceabstract

#include <SkPDFTypes.h>

Inheritance diagram for SkPDFObject:
SkPDFArray SkPDFDict

Public Member Functions

 SkPDFObject ()=default
 
virtual void emitObject (SkWStream *stream) const =0
 
virtual ~SkPDFObject ()=default
 

Detailed Description

A PDF Object is the base class for primitive elements in a PDF file. A common subtype is used to ease the use of indirect object references, which are common in the PDF format.

Definition at line 56 of file SkPDFTypes.h.

Constructor & Destructor Documentation

◆ SkPDFObject()

SkPDFObject::SkPDFObject ( )
default

◆ ~SkPDFObject()

virtual SkPDFObject::~SkPDFObject ( )
virtualdefault

Member Function Documentation

◆ emitObject()

virtual void SkPDFObject::emitObject ( SkWStream stream) const
pure virtual

Subclasses must implement this method to print the object to the PDF file.

Parameters
catalogThe object catalog to use.
streamThe writable output stream to send the output to.

Implemented in SkPDFArray, and SkPDFDict.


The documentation for this class was generated from the following file: