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

# fzrt_get_pen_size

Description

Gets the pen size. This will get the size of the current pen. The size of the pen is stored as a point for width and height. If the underlying OS does not support non-square pens, then the h coordinate contains the size of the pen, and v coordinate is unused.

Plugin Prototype

void fzrt_get_pen_size(

fzrt_graf_ptr | port,
fzrt_point * | pnSize )

Parameters

port [Input, Optional]

pointer to graphics port. NULL to use current port

pnSize [Input, Result]

pointer to a point structure to receive pen size. x is size of pen in horizontal direction, y is size of pen in vertical direction.

Availability

5.0.0.0

See Also

Function Set

fz_fzrt_graf_fset

Defined in

fzrt_api.h