Branch data 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 : : namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } }
7 : : namespace com { namespace sun { namespace star { namespace rendering { class XVolatileBitmap; } } } }
8 : : #include "com/sun/star/lang/IllegalArgumentException.hdl"
9 : : namespace com { namespace sun { namespace star { namespace rendering { class XBitmap; } } } }
10 : : #include "com/sun/star/geometry/RealBezierSegment2D.hdl"
11 : : #include "com/sun/star/uno/XInterface.hdl"
12 : : #include "com/sun/star/geometry/RealPoint2D.hdl"
13 : : namespace com { namespace sun { namespace star { namespace rendering { class XBezierPolyPolygon2D; } } } }
14 : : #include "com/sun/star/uno/RuntimeException.hdl"
15 : : namespace com { namespace sun { namespace star { namespace rendering { class XLinePolyPolygon2D; } } } }
16 : : #include "com/sun/star/geometry/IntegerSize2D.hdl"
17 : : #include "com/sun/star/geometry/RealSize2D.hdl"
18 : : namespace com { namespace sun { namespace star { namespace rendering { class XColorSpace; } } } }
19 : : namespace com { namespace sun { namespace star { namespace rendering { class XBufferController; } } } }
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 : 0 : class SAL_NO_VTABLE XGraphicDevice : public ::com::sun::star::uno::XInterface
30 : : {
31 : : public:
32 : :
33 : : // Methods
34 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBufferController > SAL_CALL getBufferController( ) throw (::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XColorSpace > SAL_CALL getDeviceColorSpace( ) throw (::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual ::com::sun::star::geometry::RealSize2D SAL_CALL getPhysicalResolution( ) throw (::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual ::com::sun::star::geometry::RealSize2D SAL_CALL getPhysicalSize( ) throw (::com::sun::star::uno::RuntimeException) = 0;
38 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XLinePolyPolygon2D > SAL_CALL createCompatibleLinePolyPolygon( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< ::com::sun::star::geometry::RealPoint2D > >& points ) throw (::com::sun::star::uno::RuntimeException) = 0;
39 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBezierPolyPolygon2D > SAL_CALL createCompatibleBezierPolyPolygon( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< ::com::sun::star::geometry::RealBezierSegment2D > >& points ) throw (::com::sun::star::uno::RuntimeException) = 0;
40 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmap > SAL_CALL createCompatibleBitmap( const ::com::sun::star::geometry::IntegerSize2D& size ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
41 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XVolatileBitmap > SAL_CALL createVolatileBitmap( const ::com::sun::star::geometry::IntegerSize2D& size ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
42 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmap > SAL_CALL createCompatibleAlphaBitmap( const ::com::sun::star::geometry::IntegerSize2D& size ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
43 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XVolatileBitmap > SAL_CALL createVolatileAlphaBitmap( const ::com::sun::star::geometry::IntegerSize2D& size ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) = 0;
44 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::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 : 0 : ~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 ::com::sun::star::rendering::XGraphicDevice const *);
56 : : } } } }
57 : :
58 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice > *) SAL_THROW(());
59 : :
60 : : #endif
|