Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_RENDERING_RENDERSTATE_HDL
2 : #define INCLUDED_COM_SUN_STAR_RENDERING_RENDERSTATE_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/geometry/AffineMatrix2D.hdl"
7 : namespace com { namespace sun { namespace star { namespace rendering { class XPolyPolygon2D; } } } }
8 : #include "com/sun/star/uno/Reference.h"
9 : #include "com/sun/star/uno/Sequence.h"
10 : #include "cppu/macros.hxx"
11 : #include "sal/types.h"
12 :
13 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
14 :
15 : namespace com { namespace sun { namespace star { namespace rendering {
16 :
17 : #ifdef SAL_W32
18 : # pragma pack(push, 8)
19 : #endif
20 :
21 0 : struct RenderState {
22 : inline RenderState() SAL_THROW(());
23 :
24 : inline RenderState(const css::geometry::AffineMatrix2D& AffineTransform_, const ::com::sun::star::uno::Reference< css::rendering::XPolyPolygon2D >& Clip_, const ::com::sun::star::uno::Sequence< double >& DeviceColor_, const ::sal_Int8& CompositeOperation_) SAL_THROW(());
25 :
26 : css::geometry::AffineMatrix2D AffineTransform;
27 : ::com::sun::star::uno::Reference< css::rendering::XPolyPolygon2D > Clip;
28 : ::com::sun::star::uno::Sequence< double > DeviceColor;
29 : ::sal_Int8 CompositeOperation;
30 : };
31 :
32 : #ifdef SAL_W32
33 : # pragma pack(pop)
34 : #endif
35 :
36 :
37 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::rendering::RenderState const *);
38 : } } } }
39 :
40 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const css::rendering::RenderState *) SAL_THROW(());
41 :
42 : #endif
|