LCOV - code coverage report
Current view: top level - solver/unxlngi6.pro/inc/offapi/com/sun/star/awt - XGraphics.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2012-08-25 Functions: 2 2 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : #ifndef INCLUDED_COM_SUN_STAR_AWT_XGRAPHICS_HDL
       2                 :            : #define INCLUDED_COM_SUN_STAR_AWT_XGRAPHICS_HDL
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : #include "com/sun/star/uno/RuntimeException.hdl"
       7                 :            : #include "com/sun/star/awt/Gradient.hdl"
       8                 :            : #include "com/sun/star/awt/SimpleFontMetric.hdl"
       9                 :            : namespace com { namespace sun { namespace star { namespace awt { class XRegion; } } } }
      10                 :            : #include "com/sun/star/awt/RasterOperation.hdl"
      11                 :            : namespace com { namespace sun { namespace star { namespace awt { class XDisplayBitmap; } } } }
      12                 :            : #include "com/sun/star/util/Color.hdl"
      13                 :            : #include "com/sun/star/awt/FontDescriptor.hdl"
      14                 :            : namespace com { namespace sun { namespace star { namespace awt { class XFont; } } } }
      15                 :            : namespace com { namespace sun { namespace star { namespace awt { class XDevice; } } } }
      16                 :            : #include "com/sun/star/uno/XInterface.hdl"
      17                 :            : #include "com/sun/star/uno/Reference.h"
      18                 :            : #include "com/sun/star/uno/Sequence.h"
      19                 :            : #include "cppu/macros.hxx"
      20                 :            : #include "rtl/ustring.hxx"
      21                 :            : #include "sal/types.h"
      22                 :            : 
      23                 :            : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      24                 :            : 
      25                 :            : namespace com { namespace sun { namespace star { namespace awt {
      26                 :            : 
      27                 :      20511 : class SAL_NO_VTABLE XGraphics : public ::com::sun::star::uno::XInterface
      28                 :            : {
      29                 :            : public:
      30                 :            : 
      31                 :            :     // Methods
      32                 :            :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XDevice > SAL_CALL getDevice(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      33                 :            :     virtual ::com::sun::star::awt::SimpleFontMetric SAL_CALL getFontMetric(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      34                 :            :     virtual void SAL_CALL setFont( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFont >& xNewFont ) throw (::com::sun::star::uno::RuntimeException) = 0;
      35                 :            :     virtual void SAL_CALL selectFont( const ::com::sun::star::awt::FontDescriptor& aDescription ) throw (::com::sun::star::uno::RuntimeException) = 0;
      36                 :            :     virtual void SAL_CALL setTextColor( ::sal_Int32 nColor ) throw (::com::sun::star::uno::RuntimeException) = 0;
      37                 :            :     virtual void SAL_CALL setTextFillColor( ::sal_Int32 nColor ) throw (::com::sun::star::uno::RuntimeException) = 0;
      38                 :            :     virtual void SAL_CALL setLineColor( ::sal_Int32 nColor ) throw (::com::sun::star::uno::RuntimeException) = 0;
      39                 :            :     virtual void SAL_CALL setFillColor( ::sal_Int32 nColor ) throw (::com::sun::star::uno::RuntimeException) = 0;
      40                 :            :     virtual void SAL_CALL setRasterOp( ::com::sun::star::awt::RasterOperation ROP ) throw (::com::sun::star::uno::RuntimeException) = 0;
      41                 :            :     virtual void SAL_CALL setClipRegion( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XRegion >& Clipping ) throw (::com::sun::star::uno::RuntimeException) = 0;
      42                 :            :     virtual void SAL_CALL intersectClipRegion( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XRegion >& xClipping ) throw (::com::sun::star::uno::RuntimeException) = 0;
      43                 :            :     virtual void SAL_CALL push(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      44                 :            :     virtual void SAL_CALL pop(  ) throw (::com::sun::star::uno::RuntimeException) = 0;
      45                 :            :     virtual void SAL_CALL copy( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XDevice >& xSource, ::sal_Int32 nSourceX, ::sal_Int32 nSourceY, ::sal_Int32 nSourceWidth, ::sal_Int32 nSourceHeight, ::sal_Int32 nDestX, ::sal_Int32 nDestY, ::sal_Int32 nDestWidth, ::sal_Int32 nDestHeight ) throw (::com::sun::star::uno::RuntimeException) = 0;
      46                 :            :     virtual void SAL_CALL draw( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XDisplayBitmap >& xBitmapHandle, ::sal_Int32 SourceX, ::sal_Int32 SourceY, ::sal_Int32 SourceWidth, ::sal_Int32 SourceHeight, ::sal_Int32 DestX, ::sal_Int32 DestY, ::sal_Int32 DestWidth, ::sal_Int32 DestHeight ) throw (::com::sun::star::uno::RuntimeException) = 0;
      47                 :            :     virtual void SAL_CALL drawPixel( ::sal_Int32 X, ::sal_Int32 Y ) throw (::com::sun::star::uno::RuntimeException) = 0;
      48                 :            :     virtual void SAL_CALL drawLine( ::sal_Int32 X1, ::sal_Int32 Y1, ::sal_Int32 X2, ::sal_Int32 Y2 ) throw (::com::sun::star::uno::RuntimeException) = 0;
      49                 :            :     virtual void SAL_CALL drawRect( ::sal_Int32 X, ::sal_Int32 Y, ::sal_Int32 Width, ::sal_Int32 Height ) throw (::com::sun::star::uno::RuntimeException) = 0;
      50                 :            :     virtual void SAL_CALL drawRoundedRect( ::sal_Int32 X, ::sal_Int32 Y, ::sal_Int32 Width, ::sal_Int32 Height, ::sal_Int32 nHorzRound, ::sal_Int32 nVertRound ) throw (::com::sun::star::uno::RuntimeException) = 0;
      51                 :            :     virtual void SAL_CALL drawPolyLine( const ::com::sun::star::uno::Sequence< ::sal_Int32 >& DataX, const ::com::sun::star::uno::Sequence< ::sal_Int32 >& DataY ) throw (::com::sun::star::uno::RuntimeException) = 0;
      52                 :            :     virtual void SAL_CALL drawPolygon( const ::com::sun::star::uno::Sequence< ::sal_Int32 >& DataX, const ::com::sun::star::uno::Sequence< ::sal_Int32 >& DataY ) throw (::com::sun::star::uno::RuntimeException) = 0;
      53                 :            :     virtual void SAL_CALL drawPolyPolygon( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< ::sal_Int32 > >& DataX, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< ::sal_Int32 > >& DataY ) throw (::com::sun::star::uno::RuntimeException) = 0;
      54                 :            :     virtual void SAL_CALL drawEllipse( ::sal_Int32 X, ::sal_Int32 Y, ::sal_Int32 Width, ::sal_Int32 Height ) throw (::com::sun::star::uno::RuntimeException) = 0;
      55                 :            :     virtual void SAL_CALL drawArc( ::sal_Int32 X, ::sal_Int32 Y, ::sal_Int32 Width, ::sal_Int32 Height, ::sal_Int32 X1, ::sal_Int32 Y1, ::sal_Int32 X2, ::sal_Int32 Y2 ) throw (::com::sun::star::uno::RuntimeException) = 0;
      56                 :            :     virtual void SAL_CALL drawPie( ::sal_Int32 X, ::sal_Int32 Y, ::sal_Int32 Width, ::sal_Int32 Height, ::sal_Int32 X1, ::sal_Int32 Y1, ::sal_Int32 X2, ::sal_Int32 Y2 ) throw (::com::sun::star::uno::RuntimeException) = 0;
      57                 :            :     virtual void SAL_CALL drawChord( ::sal_Int32 nX, ::sal_Int32 nY, ::sal_Int32 nWidth, ::sal_Int32 nHeight, ::sal_Int32 nX1, ::sal_Int32 nY1, ::sal_Int32 nX2, ::sal_Int32 nY2 ) throw (::com::sun::star::uno::RuntimeException) = 0;
      58                 :            :     virtual void SAL_CALL drawGradient( ::sal_Int32 nX, ::sal_Int32 nY, ::sal_Int32 nWidth, ::sal_Int32 Height, const ::com::sun::star::awt::Gradient& aGradient ) throw (::com::sun::star::uno::RuntimeException) = 0;
      59                 :            :     virtual void SAL_CALL drawText( ::sal_Int32 X, ::sal_Int32 Y, const ::rtl::OUString& Text ) throw (::com::sun::star::uno::RuntimeException) = 0;
      60                 :            :     virtual void SAL_CALL drawTextArray( ::sal_Int32 X, ::sal_Int32 Y, const ::rtl::OUString& Text, const ::com::sun::star::uno::Sequence< ::sal_Int32 >& Longs ) 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                 :      20511 :     ~XGraphics() 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 ::com::sun::star::awt::XGraphics const *);
      70                 :            : } } } }
      71                 :            : 
      72                 :            : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > *) SAL_THROW(());
      73                 :            : 
      74                 :            : #endif

Generated by: LCOV version 1.10