PDF::API2::Gfx

A Gfx object is used to draw lines, curves, and shapes on a page. It is created using the gfx( ) constructor of the Page object. All of the drawing commands use a local coordinate system that is subject to transformation with any of the PDF::API2::Content methods. All of these methods can also be used with a hybrid graphics/text object (created with the Page->hybrid( ) constructor).

Get Perl Graphics Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.