Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_RENDERING_XGRAPHICDEVICE_HDL
2 : #define INCLUDED_COM_SUN_STAR_RENDERING_XGRAPHICDEVICE_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/geometry/IntegerSize2D.hdl"
7 : #include "com/sun/star/geometry/RealBezierSegment2D.hdl"
8 : #include "com/sun/star/geometry/RealPoint2D.hdl"
9 : #include "com/sun/star/geometry/RealSize2D.hdl"
10 : #include "com/sun/star/lang/IllegalArgumentException.hdl"
11 : namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } }
12 : namespace com { namespace sun { namespace star { namespace rendering { class XBezierPolyPolygon2D; } } } }
13 : namespace com { namespace sun { namespace star { namespace rendering { class XBitmap; } } } }
14 : namespace com { namespace sun { namespace star { namespace rendering { class XBufferController; } } } }
15 : namespace com { namespace sun { namespace star { namespace rendering { class XColorSpace; } } } }
16 : namespace com { namespace sun { namespace star { namespace rendering { class XLinePolyPolygon2D; } } } }
17 : namespace com { namespace sun { namespace star { namespace rendering { class XVolatileBitmap; } } } }
18 : #include "com/sun/star/uno/RuntimeException.hdl"
19 : #include "com/sun/star/uno/XInterface.hdl"
20 : #include "com/sun/star/uno/Reference.h"
21 : #include "com/sun/star/uno/Sequence.h"
22 : #include "cppu/macros.hxx"
23 : #include "sal/types.h"
24 :
25 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
26 :
27 : namespace com { namespace sun { namespace star { namespace rendering {
28 :
29 1 : class SAL_NO_VTABLE XGraphicDevice : public css::uno::XInterface
30 : {
31 : public:
32 :
33 : // Methods
34 : virtual ::com::sun::star::uno::Reference< css::rendering::XBufferController > SAL_CALL getBufferController() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual ::com::sun::star::uno::Reference< css::rendering::XColorSpace > SAL_CALL getDeviceColorSpace() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
36 : virtual css::geometry::RealSize2D SAL_CALL getPhysicalResolution() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
37 : virtual css::geometry::RealSize2D SAL_CALL getPhysicalSize() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
38 : virtual ::com::sun::star::uno::Reference< css::rendering::XLinePolyPolygon2D > SAL_CALL createCompatibleLinePolyPolygon( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< css::geometry::RealPoint2D > >& points ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
39 : virtual ::com::sun::star::uno::Reference< css::rendering::XBezierPolyPolygon2D > SAL_CALL createCompatibleBezierPolyPolygon( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< css::geometry::RealBezierSegment2D > >& points ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
40 : virtual ::com::sun::star::uno::Reference< css::rendering::XBitmap > SAL_CALL createCompatibleBitmap( const css::geometry::IntegerSize2D& size ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
41 : virtual ::com::sun::star::uno::Reference< css::rendering::XVolatileBitmap > SAL_CALL createVolatileBitmap( const css::geometry::IntegerSize2D& size ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
42 : virtual ::com::sun::star::uno::Reference< css::rendering::XBitmap > SAL_CALL createCompatibleAlphaBitmap( const css::geometry::IntegerSize2D& size ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
43 : virtual ::com::sun::star::uno::Reference< css::rendering::XVolatileBitmap > SAL_CALL createVolatileAlphaBitmap( const css::geometry::IntegerSize2D& size ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
44 : virtual ::com::sun::star::uno::Reference< css::lang::XMultiServiceFactory > SAL_CALL getParametricPolyPolygonFactory() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
45 : virtual ::sal_Bool SAL_CALL hasFullScreenMode() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
46 : virtual ::sal_Bool SAL_CALL enterFullScreenMode( ::sal_Bool bEnter ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
47 :
48 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
49 :
50 : protected:
51 1 : ~XGraphicDevice() throw () {} // avoid warnings about virtual members and non-virtual dtor
52 : };
53 :
54 :
55 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::rendering::XGraphicDevice const *);
56 : } } } }
57 :
58 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::rendering::XGraphicDevice > *) SAL_THROW(());
59 :
60 : #endif
|