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

opengl and polyline width
opengl and polyline width
hi,
one of my customers complained because some polygons did not show properly when zooming out (some segments did not show)
i reproduced this in odsmfcapp.
i saw that these oddbpolyline had not a null width (it was equal to 12), and showed properly only at a certain zoom level with opengl rendering (it works fine with wingdi).
as a temporary correction, i made a function that sets all widths (i really mean 'width', not lineweigh or thickness, so that there is no confusion) of oddbpolyline to 0 in order to show them a whatever zoomlevel, but i'd like to avoid this preprocessing, because some polygons are actually intended to have a width.
the other solution would be to use wingdi, but it is slower.
autocad shows these polygons with no problem.
is this a bug, is there any other solution ?
thank's for your help
guillaume
hi,
still no solution to this issue ? is it planned to be fixed in next release ?
thank you
guillaume
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)