|
发表于 2014-11-17 10:28:40
|
显示全部楼层
case(lineDbid->objType
("path"
; println("path")
;endPoint = cadr(nthelem(lineDbid->nSegs lineDbid->segments)->startEnd)
;startPoint = car(car(lineDbid->segments)->startEnd)
linePath = axlPathStart(list(car(car(lineDbid->segments)->startEnd)))
foreach(temp lineDbid->segments
case(temp->objType
("line"
axlPathLine(linePath temp->width cadr(temp->startEnd))
)
("arc"
axlPathArcCenter(linePath temp->width cadr(temp->startEnd) temp->isClockwise temp->xy)
)
(t
printf("Path Type is Unknown!\n")
)
);end case
)
axlDBCreatePath(linePath lineLayer 'line)
)
("text"
; println("text")
Ori_XY=lineDbid->xy
Ori_textBlock=lineDbid->textBlock
Ori_rotation=lineDbid->rotation
Ori_isMirrored=lineDbid->isMirrored
Ori_justify=lineDbid->justify
myorient = make_axlTextOrientation(?textBlock Ori_textBlock, ?rotation Ori_rotation, ?mirrored Ori_isMirrored, ?justify Ori_justify)
newText= axlDBCreateText(lineDbid->text Ori_XY myorient lineLayer nil)
)
) |
评分
-
查看全部评分
|