25 SpriteDeviceHelper& rDeviceHelper ) :
29 "CanvasBitmap::CanvasBitmap(): Invalid surface or device" );
31 maCanvasHelper.init( *
mpDevice, rDeviceHelper, rSize );
37 maCanvasHelper = rSrc.maCanvasHelper;
45 CanvasBitmapBaseT::disposeThis();
50 return maCanvasHelper.renderRecordedActions();
CanvasBitmap(const css::geometry::IntegerSize2D &rSize, SpriteCanvasRef rDevice, SpriteDeviceHelper &rDeviceHelper)
Create a canvas bitmap for the given surface.
virtual void disposeThis() override
Dispose all internal references.
SpriteCanvasRef mpDevice
MUST hold here, too, since CanvasHelper only contains a raw pointer (without refcounting)
bool renderRecordedActions() const
Write out recorded actions.
#define ENSURE_OR_THROW(c, m)
sal::systools::COMReference< IDirect3DDevice9 > mpDevice
::rtl::Reference< SpriteCanvas > SpriteCanvasRef