高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】drawing lines around bitmap
drawing lines around bitmap ?
drawing lines around bitmap ?
hello,
i'm trying to display a bitmap inserted in a dwg.
with dwgdirect 1.09 rc1 it works fine (i'm using rasterimagedc), but it also display lines around my bitmap.
i just want to know how can i do to not display those lines ?
thanks !
image frame is rendered or not depending on database settings (oddbrastervariables::imageframe()) see dbrastervariables.h
sergey slezkin
thank you sergey for your answer, but dwgdirect still display lines around my bitmap.
i try to change the image frame display flag of my database (kimageframeinvalid, kimageframeoff, kimageframeabove, kimageframebelow) but nothing change.
please help me...
if imageframe is kimageframeabove the frame is rendered above the image (by polyline() ) if kimageframebelow - it's rendered below the image. the frame is not rendered in other cases. can you reproduce the situation in odamfcapp?
sergey slezkin
imageframe of my drawing is kimageframeoff.
when i open it with odamfcapp or odamdiapp, i can see the frame around my bitmap, sorry.
i can't reproduce it in odamfcapp. could you send me or post the problem file?
sergey slezkin
did you received my drawing ?
i didn't see that i can attach a file in a post reply, so i send it to
here is she.
attached files (95.3 kb, 10 views)
e-mail you used is not mine. my address you can get from my profile.
in attached drawing there is no oddbimage entity. it's oddbole2frame. so imageframe() does not effect it. the rectangle drawn around it is a result of dd bug. i'll fix it.
sergey slezkin
thank you sergey !
|