PDFlib

Graphics

aligned_path_objects

Path object like an arrow, electrical symbol etc. is attached at a line by an attachment point and with an alignment.

arrowsCreate an arrow using different methods.
arrow_as_path_object

Example for a path object: An arrow with rounded arrow head, with two attachment points.

clippingDemonstrate the effect of the different PDF clipping rules.
crop_marksCreate crop marks which specify the "cutting area".
dashed_linesCreate some dash patterns to be used as line styles.
fill_patternDefine some hatching patterns and use them to fill arbitrary shapes.
fill_rulesDefine some overlapping vector graphics and fill them using various methods.
hierarchical_layersDefine a layer hierarchy using the parent and child options.
layers_and_bookmarksDefine two layers and hide or show them via bookmarks.
overprinting_textCreate text which will overprint other page contents instead of knocking it out.
path_objectsCreate various shapes with path objects.
rounded_rectangleCreate some rectangle with the corners being rounded.
stamp_on_print_layerPlace a stamp on a layer which is only visible upon printing.
starter_graphicsCreate some basic examples of vector graphics.
starter_layerDefine several layers, output images and text into them and define particular layers to be visible when opening the document.
starter_pathStarter sample for path objects: Create some basic examples of path object construction and use.
starter_svgLoad SVG graphics and fit into a box.
transparent_graphicsCreate some transparent graphics objects.