LibreOffice Module drawinglayer (master) 1
|
#include <texture.hxx>
Public Member Functions | |
GeoTexSvxTiled (const basegfx::B2DRange &rRange, double fOffsetX=0.0, double fOffsetY=0.0) | |
virtual | ~GeoTexSvxTiled () override |
virtual bool | operator== (const GeoTexSvx &rGeoTexSvx) const override |
void | iterateTiles (std::function< void(double fPosX, double fPosY)> aFunc) const |
void | appendTransformations (::std::vector< basegfx::B2DHomMatrix > &rMatrices) const |
sal_uInt32 | getNumberOfTiles () const |
Public Member Functions inherited from drawinglayer::texture::GeoTexSvx | |
GeoTexSvx () | |
virtual | ~GeoTexSvx () |
virtual bool | operator== (const GeoTexSvx &rGeoTexSvx) const |
bool | operator!= (const GeoTexSvx &rGeoTexSvx) const |
virtual void | modifyBColor (const basegfx::B2DPoint &rUV, basegfx::BColor &rBColor, double &rfOpacity) const |
virtual void | modifyOpacity (const basegfx::B2DPoint &rUV, double &rfOpacity) const |
Private Attributes | |
basegfx::B2DRange | maRange |
double | mfOffsetX |
double | mfOffsetY |
Definition at line 223 of file texture.hxx.
drawinglayer::texture::GeoTexSvxTiled::GeoTexSvxTiled | ( | const basegfx::B2DRange & | rRange, |
double | fOffsetX = 0.0 , |
||
double | fOffsetY = 0.0 |
||
) |
Definition at line 962 of file texture.cxx.
References basegfx::fTools::equalZero(), maRange, mfOffsetX, and mfOffsetY.
|
overridevirtual |
Definition at line 976 of file texture.cxx.
void drawinglayer::texture::GeoTexSvxTiled::appendTransformations | ( | ::std::vector< basegfx::B2DHomMatrix > & | rMatrices | ) | const |
Definition at line 997 of file texture.cxx.
References basegfx::utils::createScaleTranslateB2DHomMatrix(), basegfx::Range2D< typename TYPE, typename TRAITS >::getHeight(), basegfx::Range2D< typename TYPE, typename TRAITS >::getWidth(), iterateTiles(), and maRange.
Referenced by drawinglayer::primitive2d::FillGraphicPrimitive2D::create2DDecomposition(), and drawinglayer::primitive2d::PatternFillPrimitive2D::create2DDecomposition().
sal_uInt32 drawinglayer::texture::GeoTexSvxTiled::getNumberOfTiles | ( | ) | const |
Definition at line 990 of file texture.cxx.
References iterateTiles().
Referenced by drawinglayer::primitive2d::PatternFillPrimitive2D::calculateNeededDiscreteBufferSize().
void drawinglayer::texture::GeoTexSvxTiled::iterateTiles | ( | std::function< void(double fPosX, double fPosY)> | aFunc | ) | const |
Definition at line 1010 of file texture.cxx.
References basegfx::fTools::equalZero(), basegfx::Range2D< typename TYPE, typename TRAITS >::getHeight(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinY(), basegfx::Range2D< typename TYPE, typename TRAITS >::getWidth(), basegfx::fTools::less(), maRange, mfOffsetX, mfOffsetY, and basegfx::fTools::more().
Referenced by appendTransformations(), and getNumberOfTiles().
|
overridevirtual |
Reimplemented from drawinglayer::texture::GeoTexSvx.
Definition at line 980 of file texture.cxx.
|
private |
Definition at line 225 of file texture.hxx.
Referenced by appendTransformations(), iterateTiles(), and operator==().
|
private |
Definition at line 226 of file texture.hxx.
Referenced by GeoTexSvxTiled(), iterateTiles(), and operator==().
|
private |
Definition at line 227 of file texture.hxx.
Referenced by GeoTexSvxTiled(), iterateTiles(), and operator==().