几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】save Dwg With Raster Image With Odrxrasterservices (http://www.dimcax.com/hust/showthread.php?t=18494)

yang686526 2009-05-07 03:23 PM

【转帖】save Dwg With Raster Image With Odrxrasterservices
 
save dwg with raster image with odrxrasterservices
save dwg with raster image with odrxrasterservices
hi all,
i'm trying to save a dwg with a raster image and i have problems implementing the odrxrasterservices module for the oddbrasterimagedef::setimage() . i need to create the input of (oddbrasterimagedefptr)pimagedef->setimage() and the only way i've already seen is by (odrxrasterservicesptr)prassvcs->loadrasterimage(imagefilename). also, i want it loaded dynamically with
oduint32 rasterid = odrxdynamiclinker()->loadapp(rx_raster_services_appname);
odrxrasterservicesptr prassvcs = pdynlnk->module(rasterid);
oddbrasterimagedefptr
pimagedef->setimage(prassvcs->loadrasterimage(imagefilename));
has anyone an implementation of this (or something like this) ?
any suggestion will be realy appreciated..
our examples folder contains sources of rasterservices implementation (rxrasterservices.drx module)
sergey slezkin


所有的时间均为北京时间。 现在的时间是 03:24 PM.