Kyocera Ci1000 Technical Reference Manual page 62

Prescribe commands technical reference manual - rev. 4.7
Hide thumbs Also See for Ci1000:
Table of Contents

Advertisement

Chapter 2 Graphics Tutorial
2-40
For example, construction of a filled and outlined shape such as that shown below
requires that we draw the path and then fill it. However, filling the path also clears it,
making it unavailable for stroking.
Figure 2. 39. A Path both Stroked and Filled
By saving the graphics state prior to filling the path, it becomes possible to restore the
path after it has been filled, thereby allowing it to be stroked without reconstructing it.
The commands used for saving and restoring the graphics state are the SCG (Save Cur-
rent Graphics state) command and the RPG (Return to Previous Graphics state) com-
mand.
The following program demonstrates the commands for constructing a path that is both
filled and stroked.
!R! RES; UNIT C; NEWP;
PMZP 4, 2;
PARC 3, 3, 1, 90, 270;
PARC 5, 3, 1, 270, 90;
CLSP;
SCG;
STRK;
RPG;
GPAT .5;
FILL 1;
PAGE;
EXIT;
The result appears in the figure above.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ci1100Dp-1800Dp-1400Dp-2800Dp-3600F-1000 ... Show all

Table of Contents