LibreOffice Module vcl (master) 1
Namespaces | Functions
canvastools.hxx File Reference
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <basegfx/numeric/ftools.hxx>
#include <basegfx/range/b2irectangle.hxx>
#include <vcl/dllapi.h>
Include dependency graph for canvastools.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  tools
 
namespace  basegfx
 
namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::geometry
 
namespace  com::sun::star::rendering
 
namespace  vcl
 
namespace  vcl::unotools
 

Functions

uno::Reference< rendering::XBitmap > vcl::unotools::xBitmapFromBitmapEx (const ::BitmapEx &inputBitmap)
 Create an XBitmap from VCL BitmapEx. More...
 
::BitmapEx VCL_DLLPUBLIC vcl::unotools::bitmapExFromXBitmap (const css::uno::Reference< css::rendering::XIntegerReadOnlyBitmap > &xInputBitmap)
 Create a BitmapEx from an XBitmap. More...
 
uno::Sequence< double > vcl::unotools::colorToStdColorSpaceSequence (const Color &rColor)
 Create a device-specific color sequence from VCL/Tools color. More...
 
css::uno::Sequence< double > VCL_DLLPUBLIC vcl::unotools::colorToDoubleSequence (const Color &rColor, const css::uno::Reference< css::rendering::XColorSpace > &xColorSpace)
 Convert color to device color sequence. More...
 
Color VCL_DLLPUBLIC vcl::unotools::stdColorSpaceSequenceToColor (const css::uno::Sequence< double > &rColor)
 Convert from standard device color space to VCL/Tools color. More...
 
Color VCL_DLLPUBLIC vcl::unotools::doubleSequenceToColor (const css::uno::Sequence< double > &rColor, const css::uno::Reference< css::rendering::XColorSpace > &xColorSpace)
 Convert color to device color sequence. More...
 
sal_Int8 vcl::unotools::toByteColor (double val)
 Convert [0,1] double value to [0,255] int. More...
 
double vcl::unotools::toDoubleColor (sal_uInt8 val)
 Convert [0,255] int value to [0,1] double value. More...
 
uno::Reference< rendering::XColorSpace > vcl::unotools::createStandardColorSpace ()
 Create a standard color space suitable for VCL RGB color. More...
 
geometry::RealSize2D vcl::unotools::size2DFromSize (const Size &rSize)
 
Size VCL_DLLPUBLIC vcl::unotools::sizeFromRealSize2D (const css::geometry::RealSize2D &)
 
geometry::IntegerSize2D vcl::unotools::integerSize2DFromSize (const Size &rSize)
 
Size VCL_DLLPUBLIC vcl::unotools::sizeFromIntegerSize2D (const css::geometry::IntegerSize2D &)
 
Point VCL_DLLPUBLIC vcl::unotools::pointFromIntegerPoint2D (const css::geometry::IntegerPoint2D &)
 
tools::Rectangle VCL_DLLPUBLIC vcl::unotools::rectangleFromIntegerRectangle2D (const css::geometry::IntegerRectangle2D &)
 
::Size vcl::unotools::sizeFromB2DSize (const basegfx::B2DVector &rVec)
 
::Point vcl::unotools::pointFromB2DPoint (const basegfx::B2DPoint &rPoint)
 
::tools::Rectangle vcl::unotools::rectangleFromB2DRectangle (const basegfx::B2DRange &rRect)
 
basegfx::B2DSize vcl::unotools::b2DSizeFromSize (const Size &rSize)
 
basegfx::B2DVector vcl::unotools::b2DVectorFromSize (const Size &rSize)
 
basegfx::B2DPoint VCL_DLLPUBLIC vcl::unotools::b2DPointFromPoint (const Point &)
 
basegfx::B2DRange VCL_DLLPUBLIC vcl::unotools::b2DRectangleFromRectangle (const tools::Rectangle &)
 
Point vcl::unotools::pointFromB2IPoint (const basegfx::B2IPoint &rPoint)
 
tools::Rectangle vcl::unotools::rectangleFromB2IRectangle (const basegfx::B2IRange &rRect)
 
basegfx::B2IPoint vcl::unotools::b2IPointFromPoint (Point const &rPoint)
 
basegfx::B2IRectangle vcl::unotools::b2IRectangleFromRectangle (tools::Rectangle const &rRect)