formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Graphics

# fzrt_graf_get_pattern_bits

Description

Gets the bits of a pen pattern. This function will return the 8x8 bitmap pattern used for a pen pattern. The pattern is a monochrome bitmap, stored as 8 bytes, with each bit in a byte representing a pixel in the 8x8 bitmap. The first bytes is the top row, with the high bit being the leftmost pixel.

Plugin Prototype

fzrt_error_td fzrt_graf_get_pattern_bits(

fzrt_pen_pattern_ptr | pattern,
unsigned char * | bits )

Parameters

pattern [Input]

pointer to pattern

bits [Result]

pointer to memory to received the bits. This must be allocated by the caller and have at least 8 bytes

Availability

5.0.0.0

See Also

Function Set

fz_fzrt_graf_fset

Defined in

fzrt_api.h