LCOV - code coverage report
Current view: top level - rendering - XCanvas.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2013-07-09 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_RENDERING_XCANVAS_HDL
       2             : #define INCLUDED_COM_SUN_STAR_RENDERING_XCANVAS_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/beans/PropertyValue.hdl"
       7             : #include "com/sun/star/geometry/Matrix2D.hdl"
       8             : #include "com/sun/star/geometry/RealBezierSegment2D.hdl"
       9             : #include "com/sun/star/geometry/RealPoint2D.hdl"
      10             : namespace com { namespace sun { namespace star { namespace geometry { class XMapping2D; } } } }
      11             : #include "com/sun/star/lang/IllegalArgumentException.hdl"
      12             : #include "com/sun/star/rendering/FontInfo.hdl"
      13             : #include "com/sun/star/rendering/FontRequest.hdl"
      14             : #include "com/sun/star/rendering/RenderState.hdl"
      15             : #include "com/sun/star/rendering/StringContext.hdl"
      16             : #include "com/sun/star/rendering/StrokeAttributes.hdl"
      17             : #include "com/sun/star/rendering/Texture.hdl"
      18             : #include "com/sun/star/rendering/ViewState.hdl"
      19             : #include "com/sun/star/rendering/VolatileContentDestroyedException.hdl"
      20             : namespace com { namespace sun { namespace star { namespace rendering { class XBitmap; } } } }
      21             : namespace com { namespace sun { namespace star { namespace rendering { class XCachedPrimitive; } } } }
      22             : namespace com { namespace sun { namespace star { namespace rendering { class XCanvasFont; } } } }
      23             : namespace com { namespace sun { namespace star { namespace rendering { class XGraphicDevice; } } } }
      24             : namespace com { namespace sun { namespace star { namespace rendering { class XPolyPolygon2D; } } } }
      25             : namespace com { namespace sun { namespace star { namespace rendering { class XTextLayout; } } } }
      26             : #include "com/sun/star/uno/RuntimeException.hdl"
      27             : #include "com/sun/star/uno/XInterface.hdl"
      28             : #include "com/sun/star/uno/Reference.h"
      29             : #include "com/sun/star/uno/Sequence.h"
      30             : #include "cppu/macros.hxx"
      31             : #include "sal/types.h"
      32             : 
      33             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      34             : 
      35             : namespace com { namespace sun { namespace star { namespace rendering {
      36             : 
      37           1 : class SAL_NO_VTABLE XCanvas : public css::uno::XInterface
      38             : {
      39             : public:
      40             : 
      41             :     // Methods
      42             :     virtual void SAL_CALL clear() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      43             :     virtual void SAL_CALL drawPoint( const css::geometry::RealPoint2D& aPoint, const css::rendering::ViewState& aViewState, const css::rendering::RenderState& aRenderState ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      44             :     virtual void SAL_CALL drawLine( const css::geometry::RealPoint2D& aStartPoint, const css::geometry::RealPoint2D& aEndPoint, const css::rendering::ViewState& aViewState, const css::rendering::RenderState& aRenderState ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      45             :     virtual void SAL_CALL drawBezier( const css::geometry::RealBezierSegment2D& aBezierSegment, const css::geometry::RealPoint2D& aEndPoint, const css::rendering::ViewState& aViewState, const css::rendering::RenderState& aRenderState ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      46             :     virtual ::com::sun::star::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL drawPolyPolygon( const ::com::sun::star::uno::Reference< css::rendering::XPolyPolygon2D >& xPolyPolygon, const css::rendering::ViewState& aViewState, const css::rendering::RenderState& aRenderState ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      47             :     virtual ::com::sun::star::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL strokePolyPolygon( const ::com::sun::star::uno::Reference< css::rendering::XPolyPolygon2D >& xPolyPolygon, const css::rendering::ViewState& aViewState, const css::rendering::RenderState& aRenderState, const css::rendering::StrokeAttributes& aStrokeAttributes ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      48             :     virtual ::com::sun::star::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL strokeTexturedPolyPolygon( const ::com::sun::star::uno::Reference< css::rendering::XPolyPolygon2D >& xPolyPolygon, const css::rendering::ViewState& aViewState, const css::rendering::RenderState& aRenderState, const ::com::sun::star::uno::Sequence< css::rendering::Texture >& aTextures, const css::rendering::StrokeAttributes& aStrokeAttributes ) /* throw (css::lang::IllegalArgumentException, css::rendering::VolatileContentDestroyedException, ::com::sun::star::uno::RuntimeException) */ = 0;
      49             :     virtual ::com::sun::star::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL strokeTextureMappedPolyPolygon( const ::com::sun::star::uno::Reference< css::rendering::XPolyPolygon2D >& xPolyPolygon, const css::rendering::ViewState& aViewState, const css::rendering::RenderState& aRenderState, const ::com::sun::star::uno::Sequence< css::rendering::Texture >& aTextures, const ::com::sun::star::uno::Reference< css::geometry::XMapping2D >& xMapping, const css::rendering::StrokeAttributes& aStrokeAttributes ) /* throw (css::lang::IllegalArgumentException, css::rendering::VolatileContentDestroyedException, ::com::sun::star::uno::RuntimeException) */ = 0;
      50             :     virtual ::com::sun::star::uno::Reference< css::rendering::XPolyPolygon2D > SAL_CALL queryStrokeShapes( const ::com::sun::star::uno::Reference< css::rendering::XPolyPolygon2D >& xPolyPolygon, const css::rendering::ViewState& aViewState, const css::rendering::RenderState& aRenderState, const css::rendering::StrokeAttributes& aStrokeAttributes ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      51             :     virtual ::com::sun::star::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL fillPolyPolygon( const ::com::sun::star::uno::Reference< css::rendering::XPolyPolygon2D >& xPolyPolygon, const css::rendering::ViewState& aViewState, const css::rendering::RenderState& aRenderState ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      52             :     virtual ::com::sun::star::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL fillTexturedPolyPolygon( const ::com::sun::star::uno::Reference< css::rendering::XPolyPolygon2D >& xPolyPolygon, const css::rendering::ViewState& aViewState, const css::rendering::RenderState& aRenderState, const ::com::sun::star::uno::Sequence< css::rendering::Texture >& xTextures ) /* throw (css::lang::IllegalArgumentException, css::rendering::VolatileContentDestroyedException, ::com::sun::star::uno::RuntimeException) */ = 0;
      53             :     virtual ::com::sun::star::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL fillTextureMappedPolyPolygon( const ::com::sun::star::uno::Reference< css::rendering::XPolyPolygon2D >& xPolyPolygon, const css::rendering::ViewState& aViewState, const css::rendering::RenderState& aRenderState, const ::com::sun::star::uno::Sequence< css::rendering::Texture >& xTextures, const ::com::sun::star::uno::Reference< css::geometry::XMapping2D >& xMapping ) /* throw (css::lang::IllegalArgumentException, css::rendering::VolatileContentDestroyedException, ::com::sun::star::uno::RuntimeException) */ = 0;
      54             :     virtual ::com::sun::star::uno::Reference< css::rendering::XCanvasFont > SAL_CALL createFont( const css::rendering::FontRequest& aFontRequest, const ::com::sun::star::uno::Sequence< css::beans::PropertyValue >& aExtraFontProperties, const css::geometry::Matrix2D& aFontMatrix ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      55             :     virtual ::com::sun::star::uno::Sequence< css::rendering::FontInfo > SAL_CALL queryAvailableFonts( const css::rendering::FontInfo& aFilter, const ::com::sun::star::uno::Sequence< css::beans::PropertyValue >& aFontProperties ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      56             :     virtual ::com::sun::star::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL drawText( const css::rendering::StringContext& aText, const ::com::sun::star::uno::Reference< css::rendering::XCanvasFont >& xFont, const css::rendering::ViewState& aViewState, const css::rendering::RenderState& aRenderState, ::sal_Int8 nTextDirection ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      57             :     virtual ::com::sun::star::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL drawTextLayout( const ::com::sun::star::uno::Reference< css::rendering::XTextLayout >& xLayoutetText, const css::rendering::ViewState& aViewState, const css::rendering::RenderState& aRenderState ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      58             :     virtual ::com::sun::star::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL drawBitmap( const ::com::sun::star::uno::Reference< css::rendering::XBitmap >& xBitmap, const css::rendering::ViewState& aViewState, const css::rendering::RenderState& aRenderState ) /* throw (css::lang::IllegalArgumentException, css::rendering::VolatileContentDestroyedException, ::com::sun::star::uno::RuntimeException) */ = 0;
      59             :     virtual ::com::sun::star::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL drawBitmapModulated( const ::com::sun::star::uno::Reference< css::rendering::XBitmap >& xBitmap, const css::rendering::ViewState& aViewState, const css::rendering::RenderState& aRenderState ) /* throw (css::lang::IllegalArgumentException, css::rendering::VolatileContentDestroyedException, ::com::sun::star::uno::RuntimeException) */ = 0;
      60             :     virtual ::com::sun::star::uno::Reference< css::rendering::XGraphicDevice > SAL_CALL getDevice() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      61             : 
      62             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      63             : 
      64             : protected:
      65           1 :     ~XCanvas() throw () {} // avoid warnings about virtual members and non-virtual dtor
      66             : };
      67             : 
      68             : 
      69             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::rendering::XCanvas const *);
      70             : } } } }
      71             : 
      72             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::rendering::XCanvas > *) SAL_THROW(());
      73             : 
      74             : #endif

Generated by: LCOV version 1.10