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

# fzrt_get_pen_pat

Description

Gets the pen pattern. This will get the pen's 8x8 bitmap pattern of the specified port. If the port parameter is NULL, it gets the pen pattern of the current port set by the last call to . The caller must allocate a pen pattern before calling this function. and dispose of it when it is no longer needed.

Plugin Prototype

void fzrt_get_pen_pat(

fzrt_graf_ptr | port,
fzrt_pen_pattern_ptr | pat )

Parameters

port [Input, Optional]

pointer to graphics port. NULL to use current port

pat [Input, Result]

pointer to a pen pattern that receives current pen pattern. Must be a pointer allocated by fzrt_pen_pat_new

Availability

5.0.0.0

See Also

fzrt_pen_pat_new, fzrt_pen_pat_dispose

Function Set

fz_fzrt_graf_fset

Defined in

fzrt_api.h