LibreOffice Module canvas (master) 1
|
Helper template to handle XIntegerBitmap method forwarding to BitmapCanvasHelper. More...
#include <spritecanvasbase.hxx>
Public Types | |
typedef IntegerBitmapBase< BitmapCanvasBase< Base, CanvasHelper, Mutex, UnambiguousBase > > | BaseType |
typedef ::rtl::Reference< SpriteCanvasBase > | Reference |
Public Types inherited from canvas::BitmapCanvasBase< Base, CanvasHelper, ::osl::MutexGuard, css::uno::XInterface > | |
typedef CanvasBase< Base, CanvasHelper, ::osl::MutexGuard, css::uno::XInterface > | BaseType |
Public Types inherited from canvas::CanvasBase< Base, CanvasHelper, ::osl::MutexGuard, css::uno::XInterface > | |
typedef Base | BaseType |
typedef ::osl::MutexGuard | MutexType |
typedef css::uno::XInterface | UnambiguousBaseType |
Public Member Functions | |
SpriteCanvasBase () | |
virtual void | disposeThis () override |
virtual css::uno::Reference< css::rendering::XAnimatedSprite > SAL_CALL | createSpriteFromAnimation (const css::uno::Reference< css::rendering::XAnimation > &animation) override |
virtual css::uno::Reference< css::rendering::XAnimatedSprite > SAL_CALL | createSpriteFromBitmaps (const css::uno::Sequence< css::uno::Reference< css::rendering::XBitmap > > &animationBitmaps, sal_Int8 interpolationMode) override |
virtual css::uno::Reference< css::rendering::XCustomSprite > SAL_CALL | createCustomSprite (const css::geometry::RealSize2D &spriteSize) override |
virtual css::uno::Reference< css::rendering::XSprite > SAL_CALL | createClonedSprite (const css::uno::Reference< css::rendering::XSprite > &original) override |
virtual void | showSprite (const Sprite::Reference &rSprite) override |
virtual void | hideSprite (const Sprite::Reference &rSprite) override |
virtual void | moveSprite (const Sprite::Reference &rSprite, const ::basegfx::B2DPoint &rOldPos, const ::basegfx::B2DPoint &rNewPos, const ::basegfx::B2DVector &rSpriteSize) override |
virtual void | updateSprite (const Sprite::Reference &rSprite, const ::basegfx::B2DPoint &rPos, const ::basegfx::B2DRange &rUpdateArea) override |
Public Member Functions inherited from canvas::IntegerBitmapBase< BitmapCanvasBase< Base, CanvasHelper, ::osl::MutexGuard, css::uno::XInterface > > | |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getData (css::rendering::IntegerBitmapLayout &bitmapLayout, const css::geometry::IntegerRectangle2D &rect) override |
virtual void SAL_CALL | setData (const css::uno::Sequence< sal_Int8 > &, const css::rendering::IntegerBitmapLayout &bitmapLayout, const css::geometry::IntegerRectangle2D &rect) override |
virtual void SAL_CALL | setPixel (const css::uno::Sequence< sal_Int8 > &, const css::rendering::IntegerBitmapLayout &bitmapLayout, const css::geometry::IntegerPoint2D &pos) override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getPixel (css::rendering::IntegerBitmapLayout &bitmapLayout, const css::geometry::IntegerPoint2D &pos) override |
virtual css::rendering::IntegerBitmapLayout SAL_CALL | getMemoryLayout () override |
Public Member Functions inherited from canvas::BitmapCanvasBase< Base, CanvasHelper, ::osl::MutexGuard, css::uno::XInterface > | |
virtual css::geometry::IntegerSize2D SAL_CALL | getSize () override |
virtual sal_Bool SAL_CALL | hasAlpha () override |
virtual css::uno::Reference< css::rendering::XBitmap > SAL_CALL | getScaledBitmap (const css::geometry::RealSize2D &newSize, sal_Bool beFast) override |
Public Member Functions inherited from canvas::CanvasBase< Base, CanvasHelper, ::osl::MutexGuard, css::uno::XInterface > | |
CanvasBase () | |
Create CanvasBase. More... | |
virtual void | disposeThis () override |
virtual void SAL_CALL | clear () override |
virtual void SAL_CALL | drawPoint (const css::geometry::RealPoint2D &aPoint, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState) override |
virtual void SAL_CALL | drawLine (const css::geometry::RealPoint2D &aStartPoint, const css::geometry::RealPoint2D &aEndPoint, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState) override |
virtual void SAL_CALL | drawBezier (const css::geometry::RealBezierSegment2D &aBezierSegment, const css::geometry::RealPoint2D &aEndPoint, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState) override |
virtual css::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL | drawPolyPolygon (const css::uno::Reference< css::rendering::XPolyPolygon2D > &xPolyPolygon, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState) override |
virtual css::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL | strokePolyPolygon (const css::uno::Reference< css::rendering::XPolyPolygon2D > &xPolyPolygon, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState, const css::rendering::StrokeAttributes &strokeAttributes) override |
virtual css::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL | strokeTexturedPolyPolygon (const css::uno::Reference< css::rendering::XPolyPolygon2D > &xPolyPolygon, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState, const css::uno::Sequence< css::rendering::Texture > &textures, const css::rendering::StrokeAttributes &strokeAttributes) override |
virtual css::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL | strokeTextureMappedPolyPolygon (const css::uno::Reference< css::rendering::XPolyPolygon2D > &xPolyPolygon, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState, const css::uno::Sequence< css::rendering::Texture > &textures, const css::uno::Reference< css::geometry::XMapping2D > &xMapping, const css::rendering::StrokeAttributes &strokeAttributes) override |
virtual css::uno::Reference< css::rendering::XPolyPolygon2D > SAL_CALL | queryStrokeShapes (const css::uno::Reference< css::rendering::XPolyPolygon2D > &xPolyPolygon, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState, const css::rendering::StrokeAttributes &strokeAttributes) override |
virtual css::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL | fillPolyPolygon (const css::uno::Reference< css::rendering::XPolyPolygon2D > &xPolyPolygon, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState) override |
virtual css::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL | fillTexturedPolyPolygon (const css::uno::Reference< css::rendering::XPolyPolygon2D > &xPolyPolygon, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState, const css::uno::Sequence< css::rendering::Texture > &textures) override |
virtual css::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL | fillTextureMappedPolyPolygon (const css::uno::Reference< css::rendering::XPolyPolygon2D > &xPolyPolygon, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState, const css::uno::Sequence< css::rendering::Texture > &textures, const css::uno::Reference< css::geometry::XMapping2D > &xMapping) override |
virtual css::uno::Reference< css::rendering::XCanvasFont > SAL_CALL | createFont (const css::rendering::FontRequest &fontRequest, const css::uno::Sequence< css::beans::PropertyValue > &extraFontProperties, const css::geometry::Matrix2D &fontMatrix) override |
virtual css::uno::Sequence< css::rendering::FontInfo > SAL_CALL | queryAvailableFonts (const css::rendering::FontInfo &aFilter, const css::uno::Sequence< css::beans::PropertyValue > &aFontProperties) override |
virtual css::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL | drawText (const css::rendering::StringContext &text, const css::uno::Reference< css::rendering::XCanvasFont > &xFont, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState, sal_Int8 textDirection) override |
virtual css::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL | drawTextLayout (const css::uno::Reference< css::rendering::XTextLayout > &laidOutText, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState) override |
virtual css::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL | drawBitmap (const css::uno::Reference< css::rendering::XBitmap > &xBitmap, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState) override |
virtual css::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL | drawBitmapModulated (const css::uno::Reference< css::rendering::XBitmap > &xBitmap, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState) override |
virtual css::uno::Reference< css::rendering::XGraphicDevice > SAL_CALL | getDevice () override |
Protected Attributes | |
SpriteRedrawManager | maRedrawManager |
Protected Attributes inherited from canvas::CanvasBase< Base, CanvasHelper, ::osl::MutexGuard, css::uno::XInterface > | |
CanvasHelper | maCanvasHelper |
bool | mbSurfaceDirty |
Additional Inherited Members | |
Protected Member Functions inherited from canvas::CanvasBase< Base, CanvasHelper, ::osl::MutexGuard, css::uno::XInterface > | |
~CanvasBase () | |
Helper template to handle XIntegerBitmap method forwarding to BitmapCanvasHelper.
Use this helper to handle the XIntegerBitmap part of your implementation.
Definition at line 72 of file spritecanvasbase.hxx.
typedef IntegerBitmapBase< BitmapCanvasBase<Base, CanvasHelper, Mutex, UnambiguousBase> > canvas::SpriteCanvasBase< Base, CanvasHelper, Mutex, UnambiguousBase >::BaseType |
Definition at line 76 of file spritecanvasbase.hxx.
typedef ::rtl::Reference< SpriteCanvasBase > canvas::SpriteCanvasBase< Base, CanvasHelper, Mutex, UnambiguousBase >::Reference |
Definition at line 77 of file spritecanvasbase.hxx.
|
inline |
Definition at line 79 of file spritecanvasbase.hxx.
|
inlineoverridevirtual |
Definition at line 132 of file spritecanvasbase.hxx.
References canvas::tools::verifyArgs().
|
inlineoverridevirtual |
Definition at line 121 of file spritecanvasbase.hxx.
References canvas::tools::verifySpriteSize().
|
inlineoverridevirtual |
Definition at line 95 of file spritecanvasbase.hxx.
References canvas::tools::verifyArgs().
|
inlineoverridevirtual |
Definition at line 106 of file spritecanvasbase.hxx.
References canvas::tools::verifyArgs(), and canvas::tools::verifyRange().
|
inlineoverridevirtual |
Reimplemented from canvas::CanvasBase< Base, CanvasHelper, ::osl::MutexGuard, css::uno::XInterface >.
Reimplemented in cairocanvas::SpriteCanvas, dxcanvas::SpriteCanvas, and vclcanvas::SpriteCanvas.
Definition at line 84 of file spritecanvasbase.hxx.
References canvas::SpriteRedrawManager::disposing(), and canvas::SpriteCanvasBase< Base, CanvasHelper, Mutex, UnambiguousBase >::maRedrawManager.
|
inlineoverridevirtual |
Definition at line 153 of file spritecanvasbase.hxx.
References canvas::SpriteRedrawManager::hideSprite(), and canvas::SpriteCanvasBase< Base, CanvasHelper, Mutex, UnambiguousBase >::maRedrawManager.
|
inlineoverridevirtual |
Definition at line 162 of file spritecanvasbase.hxx.
References canvas::SpriteCanvasBase< Base, CanvasHelper, Mutex, UnambiguousBase >::maRedrawManager, and canvas::SpriteRedrawManager::moveSprite().
|
inlineoverridevirtual |
Definition at line 144 of file spritecanvasbase.hxx.
References canvas::SpriteCanvasBase< Base, CanvasHelper, Mutex, UnambiguousBase >::maRedrawManager, and canvas::SpriteRedrawManager::showSprite().
|
inlineoverridevirtual |
Definition at line 174 of file spritecanvasbase.hxx.
References canvas::SpriteCanvasBase< Base, CanvasHelper, Mutex, UnambiguousBase >::maRedrawManager, and canvas::SpriteRedrawManager::updateSprite().
|
protected |
Definition at line 186 of file spritecanvasbase.hxx.
Referenced by canvas::SpriteCanvasBase< Base, CanvasHelper, Mutex, UnambiguousBase >::disposeThis(), canvas::SpriteCanvasBase< Base, CanvasHelper, Mutex, UnambiguousBase >::hideSprite(), canvas::SpriteCanvasBase< Base, CanvasHelper, Mutex, UnambiguousBase >::moveSprite(), canvas::SpriteCanvasBase< Base, CanvasHelper, Mutex, UnambiguousBase >::showSprite(), and canvas::SpriteCanvasBase< Base, CanvasHelper, Mutex, UnambiguousBase >::updateSprite().