22.03.2015 Views

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8.6 <strong>DLI</strong> <strong>Implementation</strong> <strong>and</strong> <strong>Reference</strong> <strong>Guide</strong><br />

defines how the path defined should be treated (kPDEStroke, kPDEFill,<br />

kPDEEoFill, or a combination of these).<br />

Concepts <strong>and</strong> Facilities: <strong>Guide</strong> to the DL Pager Composition System<br />

There are two color definitions within the PDEGraphicState:<br />

• Fill Color will be used with the operators kPDEFill or kPDEEoFill.<br />

• Stroke Color will be used with the operator kPDEStroke.<br />

All of the fields within PDEGraphicState will be honored.<br />

NOTE: Stroking will colorize to a given width, while filling will colorize within the<br />

borders. To draw lines, use stroking to give the line a width.<br />

Functions are provided here to produce commonly-used shapes. The general path<br />

operator dlpdfcontentpath can image arbitrarily complex shapes.<br />

All of the coordinate values <strong>and</strong> sizes specified below are considered to be in points.<br />

The content element in which these are placed may translate, scale or rotate the<br />

image.<br />

dlpdfcontentclip<br />

This call is used to establish a clipping path. Note that clipping paths are not<br />

established automatically for images, forms, or line drawings. Generally, PDF images<br />

page more efficiently if there is no clipping involved.<br />

A clipping region is considered a part of the content structure, <strong>and</strong> will be ended at the<br />

end of a content structure. Clipping regions may be nested, but each nested region<br />

must fit within the previous region. A clipping region can, <strong>and</strong> should, be ended as<br />

soon as possible, using the dlpdfcontentclipend call.<br />

The Path <strong>and</strong> Pathlen oper<strong>and</strong>s of this call are identical to the<br />

dlpdfcontentpath oper<strong>and</strong>s. The EOClip oper<strong>and</strong> should be FALSE for a normal<br />

clip <strong>and</strong> TRUE for an Even/Odd clip.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!