查看单个帖子
旧 2009-05-06, 10:01 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】pline and selectionmarker

pline and selectionmarker
pline and selectionmarker
hi,
i've tried to override the pline method so i have this code
void odgsopenglvectorizeview:line(const odgipolyline& polyline, oduint32 fromindex,
oduint32 numsegs)
{
if(effectivelyvisible() && !regenabort())
{
oduint32 nb = (oduint32)polyline.numverts();
ontraitsmodified();
for (oduint32 i=0;i<nb;i++)
{
setselectionmarker(i+1);
m_pactiveentrypoint->geometry().plineproc(polyline, 0, i, 1);
}
}
}
with this code the vectorization is not good, for both lwpolyline. (continous linetype (white lwpolyline) and non continous linetype(yellow lwpolyline).
see attached file.
i'm using oda 2_1_0
you can reproduce in odamfcdll.
.
please help me.
attached files
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)