18 static const PolyFlags aAccentPolyFlags[24] =
20 PolyFlags::Normal, PolyFlags::Control, PolyFlags::Control,
21 PolyFlags::Normal, PolyFlags::Control, PolyFlags::Control,
22 PolyFlags::Normal, PolyFlags::Control, PolyFlags::Control,
23 PolyFlags::Normal, PolyFlags::Control, PolyFlags::Control,
24 PolyFlags::Normal, PolyFlags::Control, PolyFlags::Control,
25 PolyFlags::Normal, PolyFlags::Control, PolyFlags::Control,
26 PolyFlags::Normal, PolyFlags::Normal, PolyFlags::Control,
27 PolyFlags::Normal, PolyFlags::Control, PolyFlags::Control
30 static const Point aAccentPos[24] =
67 switch ( nEmphasisStyle )
69 case FontEmphasisMark::Dot:
71 nDotSize = (nHeight*550)/1000;
82 mnYOff = ((nHeight*250)/1000)/2;
86 case FontEmphasisMark::Circle:
88 nDotSize = (nHeight*800)/1000;
112 case FontEmphasisMark::Disc:
114 nDotSize = (nHeight*800)/1000;
128 case FontEmphasisMark::Accent:
130 nDotSize = (nHeight*800)/1000;
150 double dScale =
static_cast<double>(nDotSize)/1000.0;
151 aPoly.
Scale( dScale, dScale );
166 if ( nSpaceY >= nOffY*2 )
169 if ( !(eEmphasis & FontEmphasisMark::PosBelow) )
EmphasisMark(FontEmphasisMark eEmphasis, tools::Long nHeight, sal_Int32 nDPIY)
tools::PolyPolygon maPolyPoly
#define SAL_N_ELEMENTS(arr)
tools::Long const nBorder
A PhysicalFontFaceCollection is created by a PhysicalFontCollection and becomes invalid when original...