KYOCERA FS-C2026MFP+ Manual do Utilizador Página 62

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 260
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 61
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.
Vista de página 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 259 260

Comentários a estes Manuais

Sem comentários