package
3.67.0
Repository: https://github.com/unidoc/unipdf.git
Documentation: pkg.go.dev

# Packages

Package draw has handy features for defining paths which can be used to draw content on a PDF page.

# Functions

NewContentCreator returns a new initialized ContentCreator.
NewContentStreamParser creates a new instance of the content stream parser from an input content stream string.
NewContentStreamProcessor returns a new ContentStreamProcessor for operations `ops`.
NewInlineImageFromImage makes a new content stream inline image object from an image.

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

ContentCreator is a builder for PDF content streams.
ContentStreamInlineImage is a representation of an inline image in a Content stream.
ContentStreamOperation represents an operation in PDF contentstream which consists of an operand and parameters.
ContentStreamParser represents a content stream parser for parsing content streams in PDFs.
ContentStreamProcessor defines a data structure and methods for processing a content stream, keeping track of the current graphics state, and allowing external handlers to define their own functions as a part of the processing, for example rendering or extracting certain information.
GraphicsState is a basic graphics state implementation for PDF processing.

# Type aliases

ContentStreamOperations is a slice of ContentStreamOperations.
GraphicStateStack represents a stack of GraphicsState.
HandlerConditionEnum represents the type of operand content stream processor (handler).
HandlerFunc is the function syntax that the ContentStreamProcessor handler must implement.