NAME

CAM::PDF::GS::NoText - PDF graphic state

LICENSE

See CAM::PDF.

SYNOPSIS

use CAM::PDF;
my $pdf = CAM::PDF->new($filename);
my $contentTree = $pdf->getPageContentTree(4);
my $gs = $contentTree->computeGS(1);

DESCRIPTION

This class is used to represent the graphic state at a point in the rendering flow of a PDF page. This does not include the graphics state for text blocks. That functionality is in the subclass, CAM::PDF::GS.

FUNCTIONS

new DATA

Create a new instance, setting all state values to their defaults. Stores a reference to DATA and sets the DATA property fm => undef.

clone

Duplicate the instance.

CONVERSION FUNCTIONS

applyMatrix M1, M2

Apply m1 to m2, save in m2

dot MATRIX, X, Y

Compute the dot product of a position against the coordinate matrix.

userToDevice X, Y

Convert user coordinates to device coordinates.

DATA FUNCTIONS

i FLATNESS
j LINEJOIN
J LINECAP
ri RENDERING_INTENT
Tc CHARSPACE
TL LEADING
Tr RENDERING_MODE
Ts RISE
Tw WORDSPACE
w LINEWIDTH
g GRAY
G GRAY
rg RED GREEN BLUE
RG RED GREEN BLUE
k CYAN MAGENTA YELLOW BLACK
K CYAN MAGENTA YELLOW BLACK
gs (Not implemented...)
cm M1, M2, M3, M4, M5, M6
d ARRAYREF, SCALAR

AUTHOR

Clotho Advanced Media Inc., cpan@clotho.com