几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】drawing lines around bitmap (http://www.dimcax.com/hust/showthread.php?t=15791)

yang686526 2009-05-04 08:08 PM

【转帖】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 !


所有的时间均为北京时间。 现在的时间是 12:12 AM.