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

getting highlighted coordinates
getting highlighted coordinates
hello,
i have highlighted a oddbpolyline using oddbpolyline::setconstantwidth(linewidth).
now i get a thicker line when i give linewidth = some positive value
i need to find the boundary points of the new thicker line, which will be on either side of the parent polyline. ( for instance, if a line is highlighted, we get four points as boundary points of the highlighted line)
can anyone tell me how to find the boundary points.
if you really need highligting than note that setconstantwidth() modifies the entity in database and destroys the existing information. polyline can have non-constant width defined at start and end of each segment.
odamfcapp contains sample highlighting implementation.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)