LibreOffice Module vcl (master)  1
Namespaces | Typedefs | Functions
BitmapTools.hxx File Reference
#include <config_cairo_canvas.h>
#include <vcl/bitmapex.hxx>
#include <vcl/ImageTree.hxx>
#include <basegfx/range/b2drectangle.hxx>
#include <array>
#include <vcl/RawBitmap.hxx>
Include dependency graph for BitmapTools.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.




typedef std::array< std::array< sal_uInt8, 256 >, 256 > vcl::bitmap::lookup_table


lookup_table const & vcl::bitmap::get_premultiply_table ()
lookup_table const & vcl::bitmap::get_unpremultiply_table ()
sal_uInt8 vcl::bitmap::unpremultiply (sal_uInt8 c, sal_uInt8 a)
sal_uInt8 vcl::bitmap::premultiply (sal_uInt8 c, sal_uInt8 a)
BitmapEx vcl::bitmap::loadFromName (const OUString &rFileName, const ImageLoadFlags eFlags)
void vcl::bitmap::loadFromSvg (SvStream &rStream, const OUString &sPath, BitmapEx &rBitmapEx, double fScalingFactor)
BitmapEx vcl::bitmap::CreateFromData (sal_uInt8 const *pData, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int32 nStride, vcl::PixelFormat ePixelFormat)
 Copy block of image data into the bitmap. More...
BitmapEx vcl::bitmap::CreateFromData (RawBitmap &&rawBitmap)
 Copy block of image data into the bitmap. More...
BitmapEx vcl::bitmap::CanvasTransformBitmap (const BitmapEx &rBitmap, const ::basegfx::B2DHomMatrix &rTransform,::basegfx::B2DRectangle const &rDestRect,::basegfx::B2DHomMatrix const &rLocalTransform)
void vcl::bitmap::DrawAlphaBitmapAndAlphaGradient (BitmapEx &rBitmapEx, bool bFixedTransparence, float fTransparence, AlphaMask &rNewMask)
void vcl::bitmap::DrawAndClipBitmap (const Point &rPos, const Size &rSize, const BitmapEx &rBitmap, BitmapEx &aBmpEx, basegfx::B2DPolyPolygon const &rClipPath)
css::uno::Sequence< sal_Int8vcl::bitmap::GetMaskDIB (BitmapEx const &aBmpEx)
void vcl::bitmap::CanvasCairoExtractBitmapData (BitmapEx const &rBmpEx, Bitmap &rBitmap, unsigned char *&data, bool &bHasAlpha, tools::Long &rnWidth, tools::Long &rnHeight)
VCL_DLLPUBLIC css::uno::Sequence< sal_Int8vcl::bitmap::CanvasExtractBitmapData (BitmapEx const &rBitmapEx, const css::geometry::IntegerRectangle2D &rect)
BitmapEx vcl::bitmap::createHistorical8x8FromArray (std::array< sal_uInt8, 64 > const &pArray, Color aColorPix, Color aColorBack)
bool vcl::bitmap::isHistorical8x8 (const BitmapEx &rBitmapEx, Color &o_rBack, Color &o_rFront)
bool vcl::bitmap::convertBitmap32To24Plus8 (BitmapEx const &rInput, BitmapEx &rResult)