60 class TransparencePrimitive2D;
211 double fRotate, fShearX;
212 rObjectTransform.
decompose(aScale, aTranslate, fRotate, fShearX);
218 fabs(aScale.
getX()), fabs(aScale.
getY())));
225 0.0 != aScale.
getX() ? 1.0 / aScale.
getX() : 1.0,
226 0.0 != aScale.
getY() ? 1.0 / aScale.
getY() : 1.0));
232 aScaledUnitPolyPolygon,
249 aScaledPolyPolygon.
transform(rObjectTransform);
261 double fRotate, fShearX;
262 rObjectTransform.
decompose(aScale, aTranslate, fRotate, fShearX);
272 aJustScaleTransform.
set(0, 0, aScale.getX());
273 aJustScaleTransform.
set(1, 1, aScale.getY());
275 aScaledUnitPolyPolygon.
transform(aJustScaleTransform);
283 if (nTextLeftDistance > aSnapRange.
getWidth())
284 nTextLeftDistance = aSnapRange.
getWidth();
286 if (nTextRightDistance > aSnapRange.
getWidth())
287 nTextRightDistance = aSnapRange.
getWidth();
295 aTextAnchorRange.
expand(aTopLeft);
296 aTextAnchorRange.expand(aBottomRight);
298 if (aTextAnchorRange.getWidth() == 0)
304 aTextAnchorRange.expand(
306 aTextAnchorRange.expand(
316 aTextAnchorRange.getMinX(), aTextAnchorRange.getMinY());
319 aAnchorTransform.
scale(bMirrorX ? -1.0 : 1.0, bMirrorY ? -1.0 : 1.0);
366 OSL_ENSURE(pNew !=
nullptr,
"createTextPrimitive: no text primitive created (!)");
401 double fRotate, fShearX;
402 aAnchorTransform.
decompose(aScale, aTranslate, fRotate, fShearX);
406 fShearX, fRotate, aTranslate));
412 OSL_ENSURE(pNew2,
"createTextPrimitive: Could not create transformed clone of text primitive (!)");
417 const uno::Sequence< beans::PropertyValue > xViewParameters;
431 aClipTopLeft.
setY(aScaledRange.getMinY());
432 aClipBottomRight.setY(aScaledRange.getMaxY());
433 aLeft.translate(-aScaledRange.getMaxX(), 0.0);
434 aRight.translate(aScale.
getX() - aScaledRange.getMinX(), 0.0);
438 aClipTopLeft.
setX(aScaledRange.getMinX());
439 aClipBottomRight.setX(aScaledRange.getMaxX());
440 aLeft.translate(0.0, -aScaledRange.getMaxY());
441 aRight.translate(0.0, aScale.
getY() - aScaledRange.getMinY());
466 pNew->get2DDecomposition(aAnimSequence, aViewInformation2D);
470 std::vector< basegfx::B2DHomMatrix > aMatrixStack;
471 aMatrixStack.push_back(aLeft);
472 aMatrixStack.push_back(aRight);
514 if(!rContent.empty())
526 rObjectMatrix.
decompose(aScale, aTranslate, fRotate, fShearX);
528 double nTranslateX = aTranslate.
getX();
529 double nTranslateY = aTranslate.
getY();
534 nTranslateX += aScale.
getX();
536 nTranslateY += aScale.
getY();
538 aShadowOffset.
translate(-nTranslateX, -nTranslateY);
540 aShadowOffset.
translate(nTranslateX, nTranslateY);
552 (pContentForShadow ? *pContentForShadow : rContent)));
590 if (rContent.empty() || !nRadius)
B2DPolygon growInNormalDirection(const B2DPolygon &rCandidate, double fValue)
const FillGradientAttribute & getGradient() const
void expand(const B2DTuple &rTuple)
Primitive2DContainer createEmbeddedGlowPrimitive(const Primitive2DContainer &rContent, const attribute::SdrGlowAttribute &rGlow)
void set(sal_uInt16 nRow, sal_uInt16 nColumn, double fValue)
css::drawing::LineCap getCap() const
B2DTuple absolute(const B2DTuple &rTup)
sal_Int32 getTextUpperDistance() const
const basegfx::BColor & getColor() const
sal_Int32 getTextRightDistance() const
const basegfx::BColor & getColor() const
sal_Int32 getBlur() const
const basegfx::B2DPolyPolygon & getStartPolyPolygon() const
Primitive2DContainer createEmbeddedShadowPrimitive(const Primitive2DContainer &rContent, const attribute::SdrShadowAttribute &rShadow, const basegfx::B2DHomMatrix &rObjectMatrix, const Primitive2DContainer *pContentForShadow)
B2DHomMatrix createScaleB2DHomMatrix(double fScaleX, double fScaleY)
basegfx::B2DLineJoin getJoin() const
double getTransparence() const
B2DHomMatrix createScaleTranslateB2DHomMatrix(double fScaleX, double fScaleY, double fTranslateX, double fTranslateY)
const FillHatchAttribute & getHatch() const
Primitive2DReference createPolyPolygonFillPrimitive(const basegfx::B2DPolyPolygon &rPolyPolygon, const basegfx::B2DRange &rDefinitionRange, const attribute::SdrFillAttribute &rFill, const attribute::FillGradientAttribute &rFillGradient)
SdrTextHorzAdjust getSdrTextHorzAdjust() const
bool isInEditMode() const
double getStartWidth() const
const OutlinerParaObject & getOutlinerParaObject() const
FillGraphicAttribute createFillGraphicAttribute(const basegfx::B2DRange &rRange) const
const basegfx::B2DPolyPolygon & getEndPolyPolygon() const
void getScrollTextTiming(drawinglayer::animation::AnimationEntryList &rAnimList, double fFrameLength, double fTextLength) const
virtual double getDuration() const override
bool decompose(B2DTuple &rScale, B2DTuple &rTranslate, double &rRotate, double &rShearX) const
SdrTextObj & GetObject() const
B2DPolygon createPolygonFromRect(const B2DRectangle &rRect, double fRadiusX, double fRadiusY)
const basegfx::B2DVector & getOffset() const
const ::std::vector< double > & getDotDashArray() const
const basegfx::BColor & getColor() const
void scale(double fX, double fY)
void transform(const basegfx::B2DHomMatrix &rMatrix)
Primitive2DReference createTextPrimitive(const basegfx::B2DPolyPolygon &rUnitPolyPolygon, const basegfx::B2DHomMatrix &rObjectTransform, const attribute::SdrTextAttribute &rText, const attribute::SdrLineAttribute &rStroke, bool bCellText, bool bWordWrap)
B2DRange getRange(const B2DPolygon &rCandidate)
sal_Int32 getTextLowerDistance() const
void transform(const basegfx::B2DHomMatrix &rMatrix)
css::uno::Reference< css::graphic::XPrimitive2D > Primitive2DReference
double getTransparence() const
void getBlinkTextTiming(drawinglayer::animation::AnimationEntryList &rAnimList) const
Primitive2DContainer createEmbeddedSoftEdgePrimitive(const Primitive2DContainer &rContent, sal_Int32 nRadius)
bool isStartCentered() const
sal_Int32 getTextLeftDistance() const
const SdrText & getSdrText() const
const Color & getColor() const
SdrTextAniDirection GetTextAniDirection() const
void translate(double fX, double fY)
sal_Int32 getRadius() const
const SdrFormTextAttribute & getSdrFormTextAttribute() const
const SdrFillGraphicAttribute & getFillGraphic() const
SdrTextVertAdjust getSdrTextVertAdjust() const
bool isEndCentered() const
const basegfx::B2DVector & getSize() const
B2DHomMatrix createShearXRotateTranslateB2DHomMatrix(double fShearX, double fRadiant, double fTranslateX, double fTranslateY)
bool isFixedCellHeight() const
Primitive2DReference createPolygonLinePrimitive(const basegfx::B2DPolygon &rPolygon, const attribute::SdrLineAttribute &rLine, const attribute::SdrLineStartEndAttribute &rStroke)
double getEndWidth() const
double getTransparence() const
double getFullDotDashLen() const