![]() |
【转帖】switching Between Wingdi And Winbitmap
switching between wingdi and winbitmap
switching between wingdi and winbitmap i need to be able to switch between wingdi and winbitmap. i can do the device creation just fine, but i need to be able to get the resulting rasterimage pointer. for wingdi i can use: odgirasterimage* praster = odgirasterimageptr(pdevice->properties()->getat("rasterimage")); and that works fine. however, for winbitmap that throws an exception. how do i get the rasterimage pointer for a device derived from winbitmap? btw: the devices are defined using: odgsmoduleptr pgs; odgsdeviceptr pdevice; if (rastergs == gswinbitmap) pgs = odrxdynamiclinker()->loadmodule("winbitmap.gs", false); else pgs = odrxdynamiclinker()->loadmodule("wingdi.gs"); pdevice = pgs->createbitmapdevice(); thanks. i really need an answer to this. it should not be complicated, but i am missing something. |
所有的时间均为北京时间。 现在的时间是 02:55 AM. |