15#include <rtl/strbuf.hxx>
16#include <rtl/math.hxx>
24 const double fSpace=0.2;
29 rtl::math::doubleToStringBuffer(aNum,
31 rtl_math_StringFormat_F,
37 double fCurrX=std::max(nTotalDigits-aNum.getLength(),
38 sal_Int32(0)) * (1.0+fSpace);
39 for( sal_Int32
i=0;
i<aNum.getLength(); ++
i )
void translate(double fX, double fY)
void append(const B2DPolygon &rPolygon, sal_uInt32 nCount=1)
void transform(const basegfx::B2DHomMatrix &rMatrix)
B2DPolyPolygon number2PolyPolygon(double fValue, sal_Int32 nTotalDigits, sal_Int32 nDecPlaces, bool bLitSegments)
Creates polypolygon with the given number as seven-segment digits.
B2DPolyPolygon createSevenSegmentPolyPolygon(char nNumber, bool bLitSegments)
Creates polypolygon for seven-segment display number.