Lines Matching refs:basegfx

88         ::basegfx::B2DHomMatrix mat1, mat2;  in operator ==()
103 ::basegfx::B2DHomMatrix mat1, mat2; in operator ==()
144 ::basegfx::B2DHomMatrix& getViewStateTransform( ::basegfx::B2DHomMatrix& transform, in getViewStateTransform()
147 … return ::basegfx::unotools::homMatrixFromAffineMatrix( transform, viewState.AffineTransform ); in getViewStateTransform()
151 const ::basegfx::B2DHomMatrix& transform ) in setViewStateTransform()
153 ::basegfx::unotools::affineMatrixFromHomMatrix( viewState.AffineTransform, transform ); in setViewStateTransform()
158 ::basegfx::B2DHomMatrix& getRenderStateTransform( ::basegfx::B2DHomMatrix& transform, in getRenderStateTransform()
161 … return ::basegfx::unotools::homMatrixFromAffineMatrix( transform, renderState.AffineTransform ); in getRenderStateTransform()
165 const ::basegfx::B2DHomMatrix& transform ) in setRenderStateTransform()
167 … ::basegfx::unotools::affineMatrixFromHomMatrix( renderState.AffineTransform, transform ); in setRenderStateTransform()
173 const ::basegfx::B2DHomMatrix& rTransform ) in appendToRenderState()
175 ::basegfx::B2DHomMatrix transform; in appendToRenderState()
182 const ::basegfx::B2DHomMatrix& rTransform ) in appendToViewState()
184 ::basegfx::B2DHomMatrix transform; in appendToViewState()
191 const ::basegfx::B2DHomMatrix& rTransform ) in prependToRenderState()
193 ::basegfx::B2DHomMatrix transform; in prependToRenderState()
200 const ::basegfx::B2DHomMatrix& rTransform ) in prependToViewState()
202 ::basegfx::B2DHomMatrix transform; in prependToViewState()
208 … ::basegfx::B2DHomMatrix& mergeViewAndRenderTransform( ::basegfx::B2DHomMatrix& combinedTransform, in mergeViewAndRenderTransform()
212 ::basegfx::B2DHomMatrix viewTransform; in mergeViewAndRenderTransform()
214 … ::basegfx::unotools::homMatrixFromAffineMatrix( combinedTransform, renderState.AffineTransform ); in mergeViewAndRenderTransform()
215 … ::basegfx::unotools::homMatrixFromAffineMatrix( viewTransform, viewState.AffineTransform ); in mergeViewAndRenderTransform()
228 ::basegfx::B2DHomMatrix aTmpMatrix; in mergeViewAndRenderState()
661 ::basegfx::B2DHomMatrix& calcRectToOriginTransform( ::basegfx::B2DHomMatrix& o_transform, in calcRectToOriginTransform()
662 const ::basegfx::B2DRange& i_srcRect, in calcRectToOriginTransform()
663 … const ::basegfx::B2DHomMatrix& i_transformation ) in calcRectToOriginTransform()
669 ::basegfx::B2DRectangle aTransformedRect; in calcRectToOriginTransform()
676 … const basegfx::B2DHomMatrix aCorrectedTransform(basegfx::tools::createTranslateB2DHomMatrix( in calcRectToOriginTransform()
685 ::basegfx::B2DRange& calcTransformedRectBounds( ::basegfx::B2DRange& outRect, in calcTransformedRectBounds()
686 const ::basegfx::B2DRange& inRect, in calcTransformedRectBounds()
687 … const ::basegfx::B2DHomMatrix& transformation ) in calcTransformedRectBounds()
703 ::basegfx::B2DPoint aPoint; in calcTransformedRectBounds()
723 ::basegfx::B2DHomMatrix& calcRectToRectTransform( ::basegfx::B2DHomMatrix& o_transform, in calcRectToRectTransform()
724 const ::basegfx::B2DRange& destRect, in calcRectToRectTransform()
725 const ::basegfx::B2DRange& srcRect, in calcRectToRectTransform()
726 … const ::basegfx::B2DHomMatrix& transformation ) in calcRectToRectTransform()
735 ::basegfx::B2DRectangle aTransformedRect; in calcRectToRectTransform()
741 basegfx::B2DHomMatrix aCorrectedTransform(basegfx::tools::createTranslateB2DHomMatrix( in calcRectToRectTransform()
756 ::basegfx::B2DHomMatrix transform( transformation ); in calcRectToRectTransform()
762 bool isInside( const ::basegfx::B2DRange& rContainedRect, in isInside()
763 const ::basegfx::B2DRange& rTransformRect, in isInside()
764 const ::basegfx::B2DHomMatrix& rTransformation ) in isInside()
769 ::basegfx::B2DPolygon aPoly( in isInside()
770 ::basegfx::tools::createPolygonFromRect( rTransformRect ) ); in isInside()
773 return ::basegfx::tools::isInside( aPoly, in isInside()
774 ::basegfx::tools::createPolygonFromRect( in isInside()
781 bool clipAreaImpl( ::basegfx::B2IRange* o_pDestArea, in clipAreaImpl()
782 ::basegfx::B2IRange& io_rSourceArea, in clipAreaImpl()
783 ::basegfx::B2IPoint& io_rDestPoint, in clipAreaImpl()
784 const ::basegfx::B2IRange& rSourceBounds, in clipAreaImpl()
785 const ::basegfx::B2IRange& rDestBounds ) in clipAreaImpl()
787 const ::basegfx::B2IPoint aSourceTopLeft( in clipAreaImpl()
790 ::basegfx::B2IRange aLocalSourceArea( io_rSourceArea ); in clipAreaImpl()
800 const ::basegfx::B2IVector aUpperLeftOffset( in clipAreaImpl()
802 const ::basegfx::B2IVector aLowerRightOffset( in clipAreaImpl()
805 ::basegfx::B2IRange aLocalDestArea( io_rDestPoint + aUpperLeftOffset, in clipAreaImpl()
816 const ::basegfx::B2IVector aDestUpperLeftOffset( in clipAreaImpl()
818 const ::basegfx::B2IVector aDestLowerRightOffset( in clipAreaImpl()
821 io_rSourceArea = ::basegfx::B2IRange( aSourceTopLeft + aDestUpperLeftOffset, in clipAreaImpl()
832 bool clipScrollArea( ::basegfx::B2IRange& io_rSourceArea, in clipScrollArea()
833 ::basegfx::B2IPoint& io_rDestPoint, in clipScrollArea()
834 ::std::vector< ::basegfx::B2IRange >& o_ClippedAreas, in clipScrollArea()
835 const ::basegfx::B2IRange& rBounds ) in clipScrollArea()
837 ::basegfx::B2IRange aResultingDestArea; in clipScrollArea()
841 const ::basegfx::B2I64Tuple& rRange( io_rSourceArea.getRange() ); in clipScrollArea()
842 ::basegfx::B2IRange aInputDestArea( io_rDestPoint.getX(), in clipScrollArea()
861 ::basegfx::computeSetDifference( o_ClippedAreas, in clipScrollArea()
868 bool clipBlit( ::basegfx::B2IRange& io_rSourceArea, in clipBlit()
869 ::basegfx::B2IPoint& io_rDestPoint, in clipBlit()
870 const ::basegfx::B2IRange& rSourceBounds, in clipBlit()
871 const ::basegfx::B2IRange& rDestBounds ) in clipBlit()
880 ::basegfx::B2IRange spritePixelAreaFromB2DRange( const ::basegfx::B2DRange& rRange ) in spritePixelAreaFromB2DRange()
883 return ::basegfx::B2IRange(); in spritePixelAreaFromB2DRange()
885 const ::basegfx::B2IPoint aTopLeft( ::basegfx::fround( rRange.getMinX() ), in spritePixelAreaFromB2DRange()
886 ::basegfx::fround( rRange.getMinY() ) ); in spritePixelAreaFromB2DRange()
887 return ::basegfx::B2IRange( aTopLeft, in spritePixelAreaFromB2DRange()
888 aTopLeft + ::basegfx::B2IPoint( in spritePixelAreaFromB2DRange()
889 ::basegfx::fround( rRange.getWidth() ), in spritePixelAreaFromB2DRange()
890 ::basegfx::fround( rRange.getHeight() ) ) ); in spritePixelAreaFromB2DRange()
945 ::basegfx::B2DPolyPolygon getBoundMarksPolyPolygon( const ::basegfx::B2DRange& rRange ) in getBoundMarksPolyPolygon()
947 ::basegfx::B2DPolyPolygon aPolyPoly; in getBoundMarksPolyPolygon()
948 ::basegfx::B2DPolygon aPoly; in getBoundMarksPolyPolygon()
955 aPoly.append( ::basegfx::B2DPoint( nX0+4, in getBoundMarksPolyPolygon()
957 aPoly.append( ::basegfx::B2DPoint( nX0, in getBoundMarksPolyPolygon()
959 aPoly.append( ::basegfx::B2DPoint( nX0, in getBoundMarksPolyPolygon()
963 aPoly.append( ::basegfx::B2DPoint( nX1-4, in getBoundMarksPolyPolygon()
965 aPoly.append( ::basegfx::B2DPoint( nX1, in getBoundMarksPolyPolygon()
967 aPoly.append( ::basegfx::B2DPoint( nX1, in getBoundMarksPolyPolygon()
971 aPoly.append( ::basegfx::B2DPoint( nX0+4, in getBoundMarksPolyPolygon()
973 aPoly.append( ::basegfx::B2DPoint( nX0, in getBoundMarksPolyPolygon()
975 aPoly.append( ::basegfx::B2DPoint( nX0, in getBoundMarksPolyPolygon()
979 aPoly.append( ::basegfx::B2DPoint( nX1-4, in getBoundMarksPolyPolygon()
981 aPoly.append( ::basegfx::B2DPoint( nX1, in getBoundMarksPolyPolygon()
983 aPoly.append( ::basegfx::B2DPoint( nX1, in getBoundMarksPolyPolygon()
990 int calcGradientStepCount( ::basegfx::B2DHomMatrix& rTotalTransform, in calcGradientStepCount()
998 ::basegfx::B2DHomMatrix aMatrix; in calcGradientStepCount()
1001 ::basegfx::unotools::homMatrixFromAffineMatrix( rTotalTransform, in calcGradientStepCount()
1010 ::basegfx::B2DPoint aLeftTop( 0.0, 0.0 ); in calcGradientStepCount()
1011 ::basegfx::B2DPoint aLeftBottom( 0.0, 1.0 ); in calcGradientStepCount()
1012 ::basegfx::B2DPoint aRightTop( 1.0, 0.0 ); in calcGradientStepCount()
1013 ::basegfx::B2DPoint aRightBottom( 1.0, 1.0 ); in calcGradientStepCount()
1024 ::basegfx::B2DVector(aRightBottom-aLeftTop).getLength(), in calcGradientStepCount()
1025 ::basegfx::B2DVector(aRightTop-aLeftBottom).getLength() ) + 1.0 ) ); in calcGradientStepCount()