20#ifndef INCLUDED_VCL_INC_CANVASBITMAP_HXX
21#define INCLUDED_VCL_INC_CANVASBITMAP_HXX
24#include <com/sun/star/rendering/XIntegerReadOnlyBitmap.hpp>
25#include <com/sun/star/rendering/XIntegerBitmapColorSpace.hpp>
26#include <com/sun/star/rendering/XBitmapPalette.hpp>
33 public cppu::WeakImplHelper< css::rendering::XIntegerReadOnlyBitmap,
34 css::rendering::XBitmapPalette,
35 css::rendering::XIntegerBitmapColorSpace >
57 SAL_DLLPRIVATE
void setComponentInfo( sal_uInt32 redShift, sal_uInt32 greenShift, sal_uInt32 blueShift );
65 virtual css::geometry::IntegerSize2D SAL_CALL getSize()
override;
66 virtual sal_Bool SAL_CALL hasAlpha( )
override;
67 virtual css::uno::Reference< css::rendering::XBitmap > SAL_CALL getScaledBitmap(
const css::geometry::RealSize2D& newSize,
sal_Bool beFast )
override;
70 virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL getData( css::rendering::IntegerBitmapLayout& bitmapLayout,
const css::geometry::IntegerRectangle2D& rect )
override;
71 virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL getPixel( css::rendering::IntegerBitmapLayout& bitmapLayout,
const css::geometry::IntegerPoint2D& pos )
override;
73 css::uno::Reference< css::rendering::XBitmapPalette > getPalette( );
74 virtual css::rendering::IntegerBitmapLayout SAL_CALL getMemoryLayout( )
override;
77 virtual sal_Int32 SAL_CALL getNumberOfEntries()
override;
78 virtual sal_Bool SAL_CALL getIndex( css::uno::Sequence< double >& entry, ::sal_Int32 nIndex )
override;
79 virtual sal_Bool SAL_CALL setIndex(
const css::uno::Sequence< double >&
color,
sal_Bool transparency, ::sal_Int32 nIndex )
override;
80 virtual css::uno::Reference< css::rendering::XColorSpace > SAL_CALL getColorSpace( )
override;
83 virtual ::sal_Int8 SAL_CALL
getType( )
override;
84 virtual css::uno::Sequence< sal_Int8 > SAL_CALL getComponentTags( )
override;
85 virtual ::sal_Int8 SAL_CALL getRenderingIntent( )
override;
86 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getProperties( )
override;
87 virtual css::uno::Sequence< double > SAL_CALL convertColorSpace(
const css::uno::Sequence< double >& deviceColor,
const css::uno::Reference< css::rendering::XColorSpace >& targetColorSpace )
override;
88 virtual css::uno::Sequence< css::rendering::RGBColor > SAL_CALL convertToRGB(
const css::uno::Sequence< double >& deviceColor )
override;
89 virtual css::uno::Sequence< css::rendering::ARGBColor > SAL_CALL convertToARGB(
const css::uno::Sequence< double >& deviceColor )
override;
90 virtual css::uno::Sequence< css::rendering::ARGBColor > SAL_CALL convertToPARGB(
const css::uno::Sequence< double >& deviceColor )
override;
91 virtual css::uno::Sequence< double > SAL_CALL convertFromRGB(
const css::uno::Sequence< css::rendering::RGBColor >& rgbColor )
override;
92 virtual css::uno::Sequence< double > SAL_CALL convertFromARGB(
const css::uno::Sequence< css::rendering::ARGBColor >& rgbColor )
override;
93 virtual css::uno::Sequence< double > SAL_CALL convertFromPARGB(
const css::uno::Sequence< css::rendering::ARGBColor >& rgbColor )
override;
94 virtual ::sal_Int32 SAL_CALL getBitsPerPixel( )
override;
95 virtual css::uno::Sequence< ::sal_Int32 > SAL_CALL getComponentBitCounts( )
override;
96 virtual ::sal_Int8 SAL_CALL getEndianness( )
override;
97 virtual css::uno::Sequence<double> SAL_CALL convertFromIntegerColorSpace(
const css::uno::Sequence< ::sal_Int8 >& deviceColor,
const css::uno::Reference< css::rendering::XColorSpace >& targetColorSpace )
override;
98 virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL convertToIntegerColorSpace(
const css::uno::Sequence< ::sal_Int8 >& deviceColor,
const css::uno::Reference< css::rendering::XIntegerBitmapColorSpace >& targetColorSpace )
override;
99 virtual css::uno::Sequence< css::rendering::RGBColor > SAL_CALL convertIntegerToRGB(
const css::uno::Sequence< ::sal_Int8 >& deviceColor )
override;
100 virtual css::uno::Sequence< css::rendering::ARGBColor > SAL_CALL convertIntegerToARGB(
const css::uno::Sequence< ::sal_Int8 >& deviceColor )
override;
101 virtual css::uno::Sequence< css::rendering::ARGBColor > SAL_CALL convertIntegerToPARGB(
const css::uno::Sequence< ::sal_Int8 >& deviceColor )
override;
102 virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL convertIntegerFromRGB(
const css::uno::Sequence< css::rendering::RGBColor >& rgbColor )
override;
103 virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL convertIntegerFromARGB(
const css::uno::Sequence< css::rendering::ARGBColor >& rgbColor )
override;
104 virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL convertIntegerFromPARGB(
const css::uno::Sequence< css::rendering::ARGBColor >& rgbColor )
override;
bool getType(BSTR name, Type &type)