31 maSvgStyleAttributes(*this),
164 if(fWidth <= 0.0 || fHeight <= 0.0)
177 if(!
getRy().isSet() && 0.0 == frY && frX > 0.0)
181 else if(!
getRx().isSet() && 0.0 == frX && frY > 0.0)
189 frX = std::min(0.5, frX);
190 frY = std::min(0.5, frY);
203 if(!aNewTarget.empty())
const SvgStyleAttributes * checkForCssStyle(const SvgStyleAttributes &rOriginal) const
helper to evtl. link to css style
virtual void parseAttribute(const OUString &rTokenName, SVGToken aSVGToken, const OUString &aContent)
void readLocalCssStyle(std::u16string_view aContent)
scan helper to read and interpret a local CssStyle to mpLocalCssStyle
void setTransform(const std::optional< basegfx::B2DHomMatrix > &pMatrix)
const std::optional< basegfx::B2DHomMatrix > & getTransform() const
transform content, set if found in current context
SvgStyleAttributes maSvgStyleAttributes
use styles
const SvgNumber & getX() const
x content, set if found in current context
SvgNumber maX
variable scan values, dependent of given XAttributeList
const SvgNumber & getRx() const
Rx content, set if found in current context.
const SvgNumber & getHeight() const
height content, set if found in current context
const SvgNumber & getWidth() const
width content, set if found in current context
const SvgNumber & getRy() const
Ry content, set if found in current context.
SvgRectNode(SvgDocument &rDocument, SvgNode *pParent)
virtual const SvgStyleAttributes * getSvgStyleAttributes() const override
virtual void decomposeSvgNode(drawinglayer::primitive2d::Primitive2DContainer &rTarget, bool bReferenced) const override
virtual void parseAttribute(const OUString &rTokenName, SVGToken aSVGToken, const OUString &aContent) override
virtual ~SvgRectNode() override
const SvgNumber & getY() const
y content, set if found in current context
void add_postProcess(drawinglayer::primitive2d::Primitive2DContainer &rTarget, drawinglayer::primitive2d::Primitive2DContainer &&rSource, const std::optional< basegfx::B2DHomMatrix > &pTransform) const
void add_path(const basegfx::B2DPolyPolygon &rPath, drawinglayer::primitive2d::Primitive2DContainer &rTarget, const basegfx::utils::PointIndexSet *pHelpPointIndices) const
void parseStyleAttribute(SVGToken aSVGToken, const OUString &rContent)
local attribute scanner
bool solve(Matrix &matrix, int rows, int cols, Vector &result, BaseType minPivot)
B2DPolygon createPolygonFromRect(const B2DRectangle &rRect, double fRadiusX, double fRadiusY)
bool readSingleNumber(std::u16string_view rCandidate, SvgNumber &aNum)
basegfx::B2DHomMatrix readTransform(std::u16string_view rCandidate, InfoProvider const &rInfoProvider)