Summary:
Set the values of an element with arc info.
Header File:
eant.h
Library Name:
elib
|
Eant_Element* eant_ArcElementSetValues (
|
Eant_AnnotationInfo* antInfo,
|
Eant_CoordSysConversion* coordConvert,
|
Eerr_ErrorReport** lclerr,
antInfo
Specifies the input annotation information.
coordConvert
The coordinate system conversion factors.
element
The input element.
lclerr
Error handling structure pointer.
va_alist
Variable Ehfa_FileOption arguments.
Description:
Set the values of an element with arc info. The list of Eant_ElementParts must end with EANT_ELEMENT_PARTS_END. The valid Eant_ElementParts for this function and their arguments are:
EANT_ELEMENT_NAME, char *elementName
EANT_ELEMENT_DESCRIPTION, char *elementDescription
EANT_ELEMENT_XFORMMATRIX, Efga_Polynomial *elementTransformation
EANT_ELEMENT_BBOX, Eant_Real lowerLeftX, Eant_Real lowerLeftY, Eant_Real upperLeftX, Eant_Real upperLeftY, Eant_Real upperRightX, Eant_Real upperRightY, Eant_Real lowerRightX, Eant_Real lowerRightY
EANT_ELEMENT_SCALEUNITS, Eevg_Units elementScaleUnitType, char *elementScaleUnitString
EANT_ELEMENT_POSITIONUNITS, Eevg_Units elementPositionUnitType, char *elementPositionUnitString
EANT_FILLSTYLE, Eant_StyleNumber arcFillStyleNumber
EANT_SELECTEDFILLSTYLE, Eant_Style *arcFillStyle
EANT_ARC_CENTER, Eant_Real ellipseCenterX, Eant_Real ellipseCenterY
EANT_ARC_AXES, Eant_Real ellipseSemiMajorAxis, Eant_Real ellipseSemiMinorAxis
EANT_ARC_ORIENTATION, Eant_Real ellipseOrientationAngle (radians)
EANT_ARC_ANGLES, Eant_Real arcStartAngleFromSemiMajor, Eant_Real arcEndAngleFromSemiMajor
EANT_ARC_TYPE, Eevg_ArcType arcType
Notes:
None.
Return Description:
Upon success this function returns a pointer to Eant_Element structure. If an error occurs this function calls eerr_CreateErrorReport and returns NULL.