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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

10.2. <strong>DLI</strong> <strong>Implementation</strong> <strong>and</strong> <strong>Reference</strong> <strong>Guide</strong><br />

Overview<br />

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

This chapter contains calls used to draw lines within an area, <strong>and</strong> fill or stroke those<br />

lines while producing commonly-used shapes. Common to all of these calls is the<br />

PDEGraphicState, which defines line drawing parameters (Line Width, Join,<br />

Miter, etc.) <strong>and</strong> the Paint operator, which defines how the path defined should be<br />

treated (kPDEStroke, kPDEFill, kPDEEoFill, or a combination of these).<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 in this chapter to produce commonly-used shapes. The general<br />

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

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

content element in which these are placed may translate, scale, or rotate the image.

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

Saved successfully!

Ooh no, something went wrong!