![]() |
【转帖】ext Size Mapping With Vectorization
text size mapping with vectorization
text size mapping with vectorization hi, we're using the dd libs to import from and export to dwg/dxf formats. the problem we face is the mapping of text size attributes between our document model and autocad. during export (to dxf) we set the following properties: oddbtextstyletablerecordptr pstyle = oddbtextstyletablerecord::createobject(); ... pstyle->settextsize(a); pstyle->setxscale(b); ... oddbtextptr ptext = oddbtext::createobject(); ... ptext->setheight(c); ptext->setwidthfactor(d); ... while importing using vectorization, how can we recover a, b, c, d from the arguments passed to our textproc()? using the arguments passed to our textproc() ptext->setheight(v.length()); ptext->setwidthfactor(u.length()/v.length()); there are property current text in textstyle in textproc() arguments. best regards, sergey z. |
所有的时间均为北京时间。 现在的时间是 02:17 PM. |