formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Vector Export

# fz_expt_vect_draw_simple_text

Description

Draws simple text to a vector image. Simple text is text that is all the same font and size. It has no style (normal, bold, etc.) unless the style is implicit in the font. It is not rotated and follows a linear path. Any new line characters are ignored. Currently, formZ only calls this to export axis labels.

Plugin Prototype

fzrt_error_td fz_expt_vect_draw_simple_text(

fzrt_int | windex,
fz_expt_vect_ptr | expt_vect,
char * | fname,
double | txsize,
double | x,
double | y,
char * | str )

Parameters

windex [Input]

project window index

expt_vect [Input]

Image vector export data

fname [Input]

The font name.

txsize [Input]

The point size of the font.

x [Input]

The x location of the lower left corner of the text.

y [Input]

The y location of the lower left corner of the text.

str [Input]

The ascii text string.

Returns

FZRT_NOERR on success. Or:
Appropriate error on failure.

Availability

5.0.0.0

Function Set

fz_expt_vect_modl_fset

Defined in

fz_expt_vect_api.h