GPR_$INQ_FILL_PATTERN GPR Calls GPR_$INQ_FILL_PATTERN
NAME
gpr_$inq_fill_pattern - returns the fill pattern for the current bitmap.
FORMAT
gpr_$inq_fill_pattern (pattern, scale, status)
DESCRIPTION
This routine returns the fill pattern for the current bitmap.
Output Parameters
pattern
The descriptor of the fill pattern bitmap, in gpr_$bitmap_desc_t
format. This bitmap is part of the attribute block associated with
the current bitmap.
scale
The number of times each bit in this pattern is to be replicated
before proceeding to the next bit in the pattern in both the x and y
directions. This is a 2-byte integer.
status
Completion status, in status_$t format.
SEE ALSO
gpr_$set_fill_pattern, gpr_$set_fill_background_value.
NOTES
Currently, the tile pattern must be stored in a bitmap that is 32 x 32
pixels. The scale factor must be one. Any other pattern size or scale
value results in an error. With a one-plane bitmap as the pattern, the
pixel values used are those set by gpr_$set_fill_value and
gpr_$set_fill_background_value. Pixels corresponding to "1" bits of the
pattern are drawn in the fill value: pixels corresponding to "0" bits of
the pattern are drawn in the fill background value.