PDFlib Cookbook

cookbook

Path Objects

aligned_path_objects Path objects are attached at a line by an attachment point and with an alignment.
arrow_as_path_object Example for a path object: arrow with rounded arrow head and two attachment points.
clipping Demonstrate the effect of different PDF clipping rules.
crop_marks Create crop marks which specify the "cutting area".
import_path_from_image Import a path object from an image file and use it for filling, stroking or clipping.
path_objects Create various shapes with path objects.
starter_path Starter sample for path objects: create basic examples of path object construction and use.
svg_path Create a path object from a description in SVG path syntax.