Previous Page | Next Page

Graphics Options and Device Parameters Dictionary

RECTFILL



Specifies which rectangle fills should be performed by hardware.
Used in: GDEVICE procedure; GDEVICE Parameters window
Default: device-dependent
See also: FILL

Syntax
Details

Syntax

RECTFILL='rectangle-fill-hex-string'X

rectangle-fill-hex-string

is a hexadecimal string that is 16 characters long. In GDEVICE procedure statements, enclose the string in single quotation marks, followed by an X. In the Parameters window, enter the hexadecimal string without either quotation marks or a trailing X.

The following table shows which bit position (left-to-right) within the hexadecimal string controls each fill pattern.

Bit Fill pattern Bit Fill pattern
1 R1 9 L4
2 R2 10 L5
3 R3 11 X1
4 R4 12 X2
5 R5 13 X3
6 L1 14 X4
7 L2 15 X5
8 L3 16 S

For example, if you want the driver to use only the L1 and R1 fills in hardware, the first and sixth bits of the first byte of the hexadecimal string should be turned on, which corresponds to a value of '8400000000000000'X ('84'X is equivalent to '1 0 0 0 0 1 0 0' in binary). If a particular hardware rectangle fill is not available or not to be used (as indicated by the value of RECTFILL), the fill is generated by the software.

See PATTERN Statement for an illustration of the fill patterns.


Details

Note:   Not all devices support this capability. If FILL=N is specified or the NOFILL option is used in a GOPTIONS statement, RECTFILL is ignored.  [cautionend]

Previous Page | Next Page | Top of Page