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

# fz_expt_vect_draw_arc

Description

Draws arcs, circles and ellipses.

Plugin Prototype

fzrt_error_td fz_expt_vect_draw_arc(

fzrt_int | windex,
fz_expt_vect_ptr | expt_vect,
double | cx,
double | cy,
double | rx,
double | ry,
double | ang1,
double | ang2,
double | pitch,
short | res,
fzrt_int | how )

Parameters

windex [Input]

project window index

expt_vect [Input]

Image vector export data

cx [Input]

The x location of the center of the center of the arc.

cy [Input]

The y location of the center of the center of the arc.

rx [Input]

The radius along the x-axis.

ry [Input]

The radius along the x-axis.

ang1 [Input]

The angle of the starting point of the arc.

ang2 [Input]

The angle of the end point of the arc.

pitch [Input]

Rotation to apply to the arc.

res [Input]

The maximum length of a line segment to represent the arc.

how [Input]

What the arc represents (i.e. outline, filled polygon, clip polygon)

Bit Flag Type: fz_ffmt_lineset_flags_enum

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