Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_RENDERING_INTEGERBITMAPLAYOUT_HDL
2 : : #define INCLUDED_COM_SUN_STAR_RENDERING_INTEGERBITMAPLAYOUT_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : namespace com { namespace sun { namespace star { namespace rendering { class XBitmapPalette; } } } }
7 : : namespace com { namespace sun { namespace star { namespace rendering { class XIntegerBitmapColorSpace; } } } }
8 : : #include "com/sun/star/uno/Reference.h"
9 : : #include "cppu/macros.hxx"
10 : : #include "sal/types.h"
11 : :
12 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
13 : :
14 : : namespace com { namespace sun { namespace star { namespace rendering {
15 : :
16 : : #ifdef SAL_W32
17 : : # pragma pack(push, 8)
18 : : #endif
19 : :
20 : 0 : struct IntegerBitmapLayout {
21 : : inline IntegerBitmapLayout() SAL_THROW(());
22 : :
23 : : inline IntegerBitmapLayout(const ::sal_Int32& ScanLines_, const ::sal_Int32& ScanLineBytes_, const ::sal_Int32& ScanLineStride_, const ::sal_Int32& PlaneStride_, const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XIntegerBitmapColorSpace >& ColorSpace_, const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapPalette >& Palette_, const ::sal_Bool& IsMsbFirst_) SAL_THROW(());
24 : :
25 : : ::sal_Int32 ScanLines;
26 : : ::sal_Int32 ScanLineBytes;
27 : : ::sal_Int32 ScanLineStride;
28 : : ::sal_Int32 PlaneStride;
29 : : ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XIntegerBitmapColorSpace > ColorSpace;
30 : : ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapPalette > Palette;
31 : : ::sal_Bool IsMsbFirst;
32 : : };
33 : :
34 : : #ifdef SAL_W32
35 : : # pragma pack(pop)
36 : : #endif
37 : :
38 : :
39 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::rendering::IntegerBitmapLayout const *);
40 : : } } } }
41 : :
42 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::rendering::IntegerBitmapLayout *) SAL_THROW(());
43 : :
44 : : #endif
|