|
高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|