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