LibreOffice Module canvas (master)  1
Namespaces | Functions
canvastools.cxx File Reference
#include <sal/config.h>
#include <limits>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <basegfx/numeric/ftools.hxx>
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/point/b2ipoint.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/range/b2drange.hxx>
#include <basegfx/range/b2drectangle.hxx>
#include <basegfx/range/b2irange.hxx>
#include <basegfx/utils/canvastools.hxx>
#include <basegfx/vector/b2ivector.hxx>
#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/awt/XWindow2.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/geometry/AffineMatrix2D.hpp>
#include <com/sun/star/geometry/Matrix2D.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/rendering/ColorComponentTag.hpp>
#include <com/sun/star/rendering/ColorSpaceType.hpp>
#include <com/sun/star/rendering/CompositeOperation.hpp>
#include <com/sun/star/rendering/IntegerBitmapLayout.hpp>
#include <com/sun/star/rendering/RenderState.hpp>
#include <com/sun/star/rendering/RenderingIntent.hpp>
#include <com/sun/star/rendering/ViewState.hpp>
#include <com/sun/star/rendering/XCanvas.hpp>
#include <com/sun/star/rendering/XColorSpace.hpp>
#include <com/sun/star/rendering/XIntegerBitmapColorSpace.hpp>
#include <com/sun/star/util/Endianness.hpp>
#include <cppuhelper/implbase.hxx>
#include <rtl/instance.hxx>
#include <sal/log.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <tools/diagnose_ex.h>
#include <vcl/canvastools.hxx>
#include <vcl/window.hxx>
#include <canvas/canvastools.hxx>
Include dependency graph for canvastools.cxx:

Go to the source code of this file.

Namespaces

 canvas::tools
 

Functions

geometry::RealSize2D canvas::tools::createInfiniteSize2D ()
 Create a RealSize2D with both coordinate values set to +infinity. More...
 
rendering::RenderState & canvas::tools::initRenderState (rendering::RenderState &renderState)
 
rendering::ViewStatecanvas::tools::initViewState (rendering::ViewState &viewState)
 
::basegfx::B2DHomMatrixcanvas::tools::getViewStateTransform (::basegfx::B2DHomMatrix &transform, const rendering::ViewState &viewState)
 
rendering::ViewStatecanvas::tools::setViewStateTransform (rendering::ViewState &viewState, const ::basegfx::B2DHomMatrix &transform)
 
::basegfx::B2DHomMatrixcanvas::tools::getRenderStateTransform (::basegfx::B2DHomMatrix &transform, const rendering::RenderState &renderState)
 
rendering::RenderState & canvas::tools::setRenderStateTransform (rendering::RenderState &renderState, const ::basegfx::B2DHomMatrix &transform)
 
rendering::RenderState & canvas::tools::appendToRenderState (rendering::RenderState &renderState, const ::basegfx::B2DHomMatrix &rTransform)
 
rendering::RenderState & canvas::tools::prependToRenderState (rendering::RenderState &renderState, const ::basegfx::B2DHomMatrix &rTransform)
 
::basegfx::B2DHomMatrixcanvas::tools::mergeViewAndRenderTransform (::basegfx::B2DHomMatrix &combinedTransform, const rendering::ViewState &viewState, const rendering::RenderState &renderState)
 
geometry::AffineMatrix2D & canvas::tools::setIdentityAffineMatrix2D (geometry::AffineMatrix2D &matrix)
 
geometry::Matrix2D & canvas::tools::setIdentityMatrix2D (geometry::Matrix2D &matrix)
 
uno::Reference< rendering::XIntegerBitmapColorSpace > const & canvas::tools::getStdColorSpace ()
 Return a color space for a default RGBA integer format. More...
 
uno::Reference< rendering::XIntegerBitmapColorSpace > const & canvas::tools::getStdColorSpaceWithoutAlpha ()
 Return a color space for a default RGB integer format. More...
 
rendering::IntegerBitmapLayout canvas::tools::getStdMemoryLayout (const geometry::IntegerSize2D &rBmpSize)
 
uno::Sequence< sal_Int8canvas::tools::colorToStdIntSequence (const ::Color &rColor)
 Convert standard 8888 RGBA color to vcl color. More...
 
::basegfx::B2DHomMatrixcanvas::tools::calcRectToOriginTransform (::basegfx::B2DHomMatrix &o_transform, const ::basegfx::B2DRange &i_srcRect, const ::basegfx::B2DHomMatrix &i_transformation)
 Calc a transform that maps the upper, left corner of a rectangle to the origin. More...
 
::basegfx::B2DRangecanvas::tools::calcTransformedRectBounds (::basegfx::B2DRange &o_Rect, const ::basegfx::B2DRange &i_Rect, const ::basegfx::B2DHomMatrix &i_Transformation)
 Calc the bounding rectangle of a transformed rectangle. More...
 
bool canvas::tools::isInside (const ::basegfx::B2DRange &rContainedRect, const ::basegfx::B2DRange &rTransformRect, const ::basegfx::B2DHomMatrix &rTransformation)
 Check whether a given rectangle is within another transformed rectangle. More...
 
bool canvas::tools::clipScrollArea (::basegfx::B2IRange &io_rSourceArea,::basegfx::B2IPoint &io_rDestPoint, std::vector< ::basegfx::B2IRange > &o_ClippedAreas, const ::basegfx::B2IRange &rBounds)
 
::basegfx::B2IRange canvas::tools::spritePixelAreaFromB2DRange (const ::basegfx::B2DRange &rRange)
 Clip a blit between two differently surfaces. More...
 
uno::Sequence< uno::Any > & canvas::tools::getDeviceInfo (const uno::Reference< rendering::XCanvas > &i_rxCanvas, uno::Sequence< uno::Any > &o_rxParams)
 
awt::Rectangle canvas::tools::getAbsoluteWindowRect (const awt::Rectangle &rRect, const uno::Reference< awt::XWindow2 > &xWin)
 
::basegfx::B2DPolyPolygon canvas::tools::getBoundMarksPolyPolygon (const ::basegfx::B2DRange &rRange)
 Retrieve for small bound marks around each corner of the given rectangle. More...
 
int canvas::tools::calcGradientStepCount (::basegfx::B2DHomMatrix &rTotalTransform, const rendering::ViewState &viewState, const rendering::RenderState &renderState, const rendering::Texture &texture, int nColorSteps)
 
void canvas::tools::clipOutDev (const rendering::ViewState &viewState, const rendering::RenderState &renderState, OutputDevice &rOutDev, OutputDevice *p2ndOutDev)
 
void canvas::tools::extractExtraFontProperties (const uno::Sequence< beans::PropertyValue > &rExtraFontProperties, sal_uInt32 &rEmphasisMark)
 

Variable Documentation

uno::Sequence< sal_Int32 > maBitCounts

Definition at line 184 of file canvastools.cxx.

uno::Sequence< sal_Int8 > maComponentTags

Definition at line 183 of file canvastools.cxx.