Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_RENDERING_TEXTURE_HDL
2 : #define INCLUDED_COM_SUN_STAR_RENDERING_TEXTURE_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/geometry/AffineMatrix2D.hdl"
7 : #include "com/sun/star/rendering/StrokeAttributes.hdl"
8 : namespace com { namespace sun { namespace star { namespace rendering { class XBitmap; } } } }
9 : namespace com { namespace sun { namespace star { namespace rendering { class XParametricPolyPolygon2D; } } } }
10 : #include "com/sun/star/uno/Reference.h"
11 : #include "cppu/macros.hxx"
12 : #include "sal/types.h"
13 :
14 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
15 :
16 : namespace com { namespace sun { namespace star { namespace rendering {
17 :
18 : #ifdef SAL_W32
19 : # pragma pack(push, 8)
20 : #endif
21 :
22 0 : struct Texture {
23 : inline Texture() SAL_THROW(());
24 :
25 : inline Texture(const css::geometry::AffineMatrix2D& AffineTransform_, const double& Alpha_, const ::sal_Int32& NumberOfHatchPolygons_, const ::com::sun::star::uno::Reference< css::rendering::XBitmap >& Bitmap_, const ::com::sun::star::uno::Reference< css::rendering::XParametricPolyPolygon2D >& Gradient_, const ::com::sun::star::uno::Reference< css::rendering::XParametricPolyPolygon2D >& Hatching_, const css::rendering::StrokeAttributes& HatchAttributes_, const ::sal_Int8& RepeatModeX_, const ::sal_Int8& RepeatModeY_) SAL_THROW(());
26 :
27 : css::geometry::AffineMatrix2D AffineTransform;
28 : double Alpha;
29 : ::sal_Int32 NumberOfHatchPolygons;
30 : ::com::sun::star::uno::Reference< css::rendering::XBitmap > Bitmap;
31 : ::com::sun::star::uno::Reference< css::rendering::XParametricPolyPolygon2D > Gradient;
32 : ::com::sun::star::uno::Reference< css::rendering::XParametricPolyPolygon2D > Hatching;
33 : css::rendering::StrokeAttributes HatchAttributes;
34 : ::sal_Int8 RepeatModeX;
35 : ::sal_Int8 RepeatModeY;
36 : };
37 :
38 : #ifdef SAL_W32
39 : # pragma pack(pop)
40 : #endif
41 :
42 :
43 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::rendering::Texture const *);
44 : } } } }
45 :
46 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const css::rendering::Texture *) SAL_THROW(());
47 :
48 : #endif
|