Synopsis

PDX_MSGT dxcr_ArcText(long option, MDA_PTR orig_ptr, char *text, char *fontname, char *bigfontname, double *centerpt, double radius, double widthfactor, double height, double charspacing, double arcoffset, double rightoffset, double leftoffset, double startangle, double endangle, int charorder, int direction, int alignment, int side, int bold, int italic, int underline, int charset, int pitch, int fonttype, int color, int wizardflag, MDA_PTR textstyleobjhandle, MDA_PTR arcobjhandle, int model, MDA_PTR *dxf_text_ptr)

Purpose

Create a DXF ArcText.

Description

A DXF ArcText entity is created for the given data.

The orig_ptr argument should contain the database pointer of the entity that the new entity was created from (usually this should be obtained by the calling routine via mda_GetOrigDbptr) or MDA_NULL_PTR. See the mda_intro man page for more information about predecessor entities.

Input

option

Options (not used)

orig_ptr

The original entities orig_ptr as obtained from the mda_GetOrigDbptr call, or MDA_NULL_PTR

text

Text contents

fontname

Font name

bigfontname

Bigfont name

centerpt

Center point

radius

Arc radius

widthfactor

Width factor

height

Text height

charspacing

Character spacing

arcoffset

Offset from arc

rightoffset

Right offset

leftoffset

Left offset

startangle

Start angle

endangle

End angle

charorder

Character order

direction

Direction flag

alignment

Alignment flag

side

Side flag

bold

Bold flag

italic

Italic flag

underline

Underline flag

charset

Character set value

pitch

Pitch and family value

fonttype

Font type

color

Color index

wizardflag

Wizard flag

textstyleobjhandle

Ptr to textstyle

arcobjhandle

Ptr to arc

model

DXF Model

Output

dxf_text_ptr

Entity pointer of the DXF ArcText

Return

      DXCR_NOERR
      Low level error return
      .fi