10/10/03

7.5.Plot Function Instructions

Instruction

Function

 

 

AC

Anchor Corner

 

 

FT

Fill Type

LA

Line Attribute

 

 

LT

Line Type

 

 

PW

Pen Width

RF

Raster Fill Definition

 

 

SM

Symbol Mode

 

 

SP

Select Pen

 

 

SV

Screened Vectors

 

 

TR

Transparency Mode

UL

User-defined Line Type

 

 

WU

Select Unit for Pen Width

 

 

AC - Anchor corner

AC [ X, Y ] [;]

X; x-coordinate of starting point of fill pattern

Y; y-coordinate of starting point of fill pattern

This command specifies the anchor corner which is the starting position of a fill pattern.

• If no parameters are specified the lower left hand corner of the PCL picture frame, according to the current coordinate system, becomes the anchor position. This is equivalent to AC0,0;

User units or graphics units may be used.

The value of the coordinates are real numbers in the range (-230) to 230 - 1.

10'-Anchor Corner -

20WIDTH "LPT1:",255

30LPRINT CHR$(27); "E";

40LPRINT CHR$(27); "%0B";

50LPRINT "IN;SP1;";

60LPRINT "PA3000,3000;FT3,400,45;"

70LPRINT "RR1000,1000;ER1000,1000;"

80LPRINT "PR1000,0;FT4,400,45;"

90LPRINT "RR1000,1000;ER1000,1000;"

100LPRINT "PR1000,0;FT3,400,45;"

110LPRINT "RR1000,1000,ER1000,1000;"

120LPRINT "PA3000,1500;AC3000,1500;"

130LPRINT "RR1000,1000;ER1000,1000;"

140LPRINT "PA4000,1500;AC4000,1500;FT4,400,45;"

150LPRINT "RR1000,1000;ER1000,1000;"

160LPRINT "PA5000,1500;AC5000,1500;FT3,400,45;"

170LPRINT "RR1000,1000;ER1000,1000;"

180LPRINT CHR$(27); "%0A";

190LPRINT CHR$(27); "E";

200END

<Sample 38>

CHAPTER 4 HP-GL/2 - 30

Page 170
Image 170
Homelite HL-1250, HL-P2500, HL-1660E, HL-2400CE, HL-1450, HL-1050, 2060 Plot Function Instructions, AC Anchor corner, Ac X, Y