formZ SDK | 4.0 Call Back Reference | File Translator | Structured File Translator | Image Vector Call Back

fz_ffmt_cbak_image_vect_write_arc

Description

Determines of a specific circular arc can be exported to a vector file. Circles, ellipses and elliptical arcs are checked with this function. Full circles and ellipses are specified by setting the start angle to 0 and the end angle to 360. Ellipses and elliptical arcs are specified by setting different values to rx and ry. Filled arcs are filled as wedges.

Plugin Prototype

fzrt_error_td fz_ffmt_cbak_image_vect_write_arc(

fzrt_int

windex,

fz_ffmt_ref_td

ffmt_id,

void *

data,

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

ffmt_id [Input]

The file format reference id.

data [Input]

A pointer to translator defined 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. An error otherwise.

Availability

5.0.0.0

Function Set

fz_ffmt_cbak_image_fset


Defined in

fz_ffmt_api.h