- UID
- 186670
- 积分
- 0
- 精华
- 贡献
-
- 威望
-
- 活跃度
-
- D豆
-
- 在线时间
- 小时
- 注册时间
- 2004-10-24
- 最后登录
- 1970-1-1
|
发表于 2006-5-28 10:38:19
|
显示全部楼层
兄弟,看看这个再说吧
AcDbText(
const AcGePoint3d& position,
const char* text,
AcDbObjectId style = AcDbObjectId::kNull,
double height = 0,
double rotation = 0);
position Input insertion point for the text
text Input text string to be used as displayed text.
style Input object ID of the AcDbTextStyleTableRecord to use
height Input the height of the shape
rotation Input the rotation angle (in radians) for the text about its OCS Z axis
This constructor initializes the text entity with insertionPoint, text, style, height, and rotation as passed in. In addition, the alignment point is initialized to (0,0,0), the obliquing angle to 0.0, the width factor to 1.0, mirroring to Adesk::kFalse, horizontal mode to AcDb::kTextLeft, vertical mode to AcDb::kTextBase, the normal vector to (0,0,1), and the thickness to 0.0.
--------------------------------------------------------------------------------
AcDbText();
Default constructor. Initializes the insertion point to (0,0,0), the alignment point to (0,0,0), the obliquing angle to 0.0, the rotation angle to 0.0, the height to 0.0, the width factor to 1.0, the text string to NULL, the textStyle object ID to AcDbObjectId::kNull, mirroring to Adesk::kFalse, horizontal mode to AcDb::kTextLeft, vertical mode to AcDb::kTextBase, the normal vector to (0,0,1), and the thickness to 0.0. |
|