LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/offapi/com/sun/star/rendering - XSimpleCanvas.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 2 0.0 %
Date: 2012-12-27 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_RENDERING_XSIMPLECANVAS_HDL
       2             : #define INCLUDED_COM_SUN_STAR_RENDERING_XSIMPLECANVAS_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/rendering/RenderState.hdl"
       7             : #include "com/sun/star/rendering/FontMetrics.hdl"
       8             : namespace com { namespace sun { namespace star { namespace rendering { class XGraphicDevice; } } } }
       9             : #include "com/sun/star/util/Color.hdl"
      10             : namespace com { namespace sun { namespace star { namespace rendering { class XPolyPolygon2D; } } } }
      11             : #include "com/sun/star/uno/RuntimeException.hdl"
      12             : namespace com { namespace sun { namespace star { namespace rendering { class XCanvas; } } } }
      13             : #include "com/sun/star/geometry/AffineMatrix2D.hdl"
      14             : namespace com { namespace sun { namespace star { namespace rendering { class XCanvasFont; } } } }
      15             : #include "com/sun/star/rendering/ViewState.hdl"
      16             : #include "com/sun/star/geometry/RealPoint2D.hdl"
      17             : namespace com { namespace sun { namespace star { namespace rendering { class XBitmap; } } } }
      18             : #include "com/sun/star/geometry/RealRectangle2D.hdl"
      19             : #include "com/sun/star/uno/XInterface.hdl"
      20             : #include "com/sun/star/rendering/StringContext.hdl"
      21             : #include "com/sun/star/uno/Reference.h"
      22             : #include "cppu/macros.hxx"
      23             : #include "rtl/ustring.hxx"
      24             : #include "sal/types.h"
      25             : 
      26             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      27             : 
      28             : namespace com { namespace sun { namespace star { namespace rendering {
      29             : 
      30           0 : class SAL_NO_VTABLE XSimpleCanvas : public css::uno::XInterface
      31             : {
      32             : public:
      33             : 
      34             :     // Methods
      35             :     virtual void SAL_CALL selectFont( const ::rtl::OUString& sFontName, double size, ::sal_Bool bold, ::sal_Bool italic ) = 0;
      36             :     virtual void SAL_CALL setPenColor( ::sal_Int32 nsRgbaColor ) = 0;
      37             :     virtual void SAL_CALL setFillColor( ::sal_Int32 nsRgbaColor ) = 0;
      38             :     virtual void SAL_CALL setRectClip( const css::geometry::RealRectangle2D& aRect ) = 0;
      39             :     virtual void SAL_CALL setTransformation( const css::geometry::AffineMatrix2D& aTransform ) = 0;
      40             :     virtual void SAL_CALL drawPixel( const css::geometry::RealPoint2D& aPoint ) = 0;
      41             :     virtual void SAL_CALL drawLine( const css::geometry::RealPoint2D& aStartPoint, const css::geometry::RealPoint2D& aEndPoint ) = 0;
      42             :     virtual void SAL_CALL drawRect( const css::geometry::RealRectangle2D& aRect ) = 0;
      43             :     virtual void SAL_CALL drawPolyPolygon( const ::com::sun::star::uno::Reference< css::rendering::XPolyPolygon2D >& xPolyPolygon ) = 0;
      44             :     virtual void SAL_CALL drawText( const css::rendering::StringContext& aText, const css::geometry::RealPoint2D& aOutPos, ::sal_Int8 nTextDirection ) = 0;
      45             :     virtual void SAL_CALL drawBitmap( const ::com::sun::star::uno::Reference< css::rendering::XBitmap >& xBitmap, const css::geometry::RealPoint2D& aLeftTop ) = 0;
      46             :     virtual ::com::sun::star::uno::Reference< css::rendering::XGraphicDevice > SAL_CALL getDevice() = 0;
      47             :     virtual ::com::sun::star::uno::Reference< css::rendering::XCanvas > SAL_CALL getCanvas() = 0;
      48             :     virtual css::rendering::FontMetrics SAL_CALL getFontMetrics() = 0;
      49             :     virtual ::com::sun::star::uno::Reference< css::rendering::XCanvasFont > SAL_CALL getCurrentFont() = 0;
      50             :     virtual ::sal_Int32 SAL_CALL getCurrentPenColor() = 0;
      51             :     virtual ::sal_Int32 SAL_CALL getCurrentFillColor() = 0;
      52             :     virtual css::geometry::RealRectangle2D SAL_CALL getCurrentClipRect() = 0;
      53             :     virtual css::geometry::AffineMatrix2D SAL_CALL getCurrentTransformation() = 0;
      54             :     virtual css::rendering::ViewState SAL_CALL getCurrentViewState() = 0;
      55             :     virtual css::rendering::RenderState SAL_CALL getCurrentRenderState( ::sal_Bool bUseFillColor ) = 0;
      56             : 
      57             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      58             : 
      59             : protected:
      60           0 :     ~XSimpleCanvas() throw () {} // avoid warnings about virtual members and non-virtual dtor
      61             : };
      62             : 
      63             : 
      64             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::rendering::XSimpleCanvas const *);
      65             : } } } }
      66             : 
      67             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::rendering::XSimpleCanvas > *) SAL_THROW(());
      68             : 
      69             : #endif

Generated by: LCOV version 1.10