LibreOffice Module vcl (master)  1
Classes | Namespaces | Typedefs | Functions
BitmapTools.hxx File Reference
#include <config_cairo_canvas.h>
#include <vcl/bitmapex.hxx>
#include <vcl/ImageTree.hxx>
#include <vcl/BitmapColor.hxx>
#include <basegfx/range/b2drectangle.hxx>
#include <o3tl/safeint.hxx>
#include <array>
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.

Classes

class  vcl::bitmap::RawBitmap
 Intended to be used to feed into CreateFromData to create a BitmapEx. More...
 

Namespaces

 basegfx
 
 com
 
 com::sun
 
 com::sun::star
 
 com::sun::star::geometry
 
 vcl
 
 vcl::bitmap
 

Typedefs

typedef sal_uInt8(* vcl::bitmap::lookup_table)[256]
 

Functions

lookup_table vcl::bitmap::get_premultiply_table ()
 
lookup_table 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, sal_uInt16 nBitCount)
 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, long &rnWidth, 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)