class SkPDFDict; class SkWStream; struct SkPDFIndirectReference;
enumclass SkPDFResourceType {
kExtGState = 0,
kPattern = 1,
kXObject = 2,
kFont = 3, // These additional types are defined by the spec, but not // currently used by Skia: ColorSpace, Shading, Properties
};
/** Create a PDF resource dictionary. * The full set of ProcSet entries is automatically created for backwards * compatibility, as recommended by the PDF spec. * * Any arguments can be nullptr.
*/
std::unique_ptr<SkPDFDict> SkPDFMakeResourceDict( const std::vector<SkPDFIndirectReference>& graphicStateResources, const std::vector<SkPDFIndirectReference>& shaderResources, const std::vector<SkPDFIndirectReference>& xObjectResources, const std::vector<SkPDFIndirectReference>& fontResources);
/** * Writes the name for the resource that will be generated by the resource * dict. * * @param type The type of resource being entered * @param key The resource key, should be unique within its type.
*/ void SkPDFWriteResourceName(SkWStream*, SkPDFResourceType type, int key);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.