Module printpdf::types::plugins::graphics::xobject [−][src]
Structs
THIS IS NOT A PDF FORM! A form XObject
can be nearly everything.
PDF allows you to reuse content for the graphics stream in a FormXObject
.
A FormXObject
is basically a layer-like content stream and can contain anything
as long as it’s a valid strem. A FormXObject
is intended to be used for reapeated
content on one page.
Named reference to an image
Optional content group, for PDF layers. Only available in PDF 1.4 but (I think) lower versions of PDF allow this, too. Used to create Adobe Illustrator-like layers in PDF
TODO, very low priority
PDF 1.4 and higher Contains a PDF file to be embedded in the current PDF
SMask
dictionary. A soft mask (or SMask
) is a greyscale image
that is used to mask another image
List of XObjects
Named reference to an XObject
Enums
Describes the format the image bytes are compressed with.
Intent to use for the optional content groups
External object that gets reference outside the PDF content stream
Gets constructed similar to the ExtGState
, then inserted into the /XObject
dictionary
on the page. You can instantiate XObjects
with the /Do
operator. The layer.add_xobject()
(or better yet, the layer.add_image()
, layer.add_form()
) methods will do this for you.