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

oddbhatch and xor-ed polygons
oddbhatch and xor-ed polygons
hi,
i have some polygons which may overlap. they are defined by their vertives coordinates.
overlap should be resolved by xor operation. for example, two circles with the same center and different radius should by like an "o" letter.
now, i need to create oddbhatch from the polygons, with xor operation.
can the library help me in this matter?
best regards,
michał Śliwka

yes, just create hatch
append your loops using oddbhatch::appendloop().
use oddbhatch::sethatchstyle(oddbhatch::knormal).
sincerely yours,
george udov
thanks, i didn't notice that i didn't add loops to the same hatch, i added loops to different hatches...
regards,
michał Śliwka
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)