Home
last modified time | relevance | path

Searched refs:mfFontScale (Results 1 – 14 of 14) sorted by relevance

/aoo42x/main/vcl/aqua/source/gdi/
H A Dctlayout.cxx67 float mfFontScale; // TODO: does CoreText have a font size limit? member in CTLayout
90 , mfFontScale( pTextStyle->mfFontScale ) in CTLayout()
173 mfCachedWidth = nPixelWidth / mfFontScale; in AdjustLayout()
221 const double fAdjustedWidth = nPixelWidth / mfFontScale; in AdjustLayout()
251 CGContextScaleCTM( rAquaGraphics.mrContext, +mfFontScale, -mfFontScale ); in DrawText()
256 CGPoint aTextPos = { +aVclPos.X()/mfFontScale, -aVclPos.Y()/mfFontScale }; in DrawText()
371 …rPos = GetDrawPosition( Point( mfFontScale * mfFontStretch * rCurPos.x, mfFontScale * rCurPos.y) ); in GetNextGlyphs()
391 const long nScaledWidth = lrint( mfFontScale * mfCachedWidth ); in GetTextWidth()
505 pCaretXArray[ 2*n-1 ] = lrint( fPos1 * mfFontScale ); in GetCaretPositions()
509 pCaretXArray[ 2*n+0 ] = lrint( fPos1 * mfFontScale ); in GetCaretPositions()
[all …]
H A Datsfonts.cxx154 mfFontScale = fScaledFontHeight / fMaxFontHeight; in AtsTextStyle()
214 const double fPixelSize = (mfFontScale * fDPIY * fPointSize); in GetFontMetric()
255 const long nMinX = (long)(+aGlyphMetrics.topLeft.x * mfFontScale - 0.5); in GetGlyphBoundRect()
256 const long nMaxX = (long)(aGlyphMetrics.width * mfFontScale + 0.5) + nMinX; in GetGlyphBoundRect()
257 const long nMinY = (long)(-aGlyphMetrics.topLeft.y * mfFontScale - 0.5); in GetGlyphBoundRect()
258 const long nMaxY = (long)(aGlyphMetrics.height * mfFontScale + 0.5) + nMinY; in GetGlyphBoundRect()
323 if( mfFontScale != 1.0 ) { in GetGlyphOutline()
325 aScale.scale( +mfFontScale, +mfFontScale ); in GetGlyphOutline()
H A Dctfonts.cxx94 mfFontScale = fScaledFontHeight / fMaxFontHeight; in CTTextStyle()
181 const double fPixelSize = (mfFontScale * fDPIY); in GetFontMetric()
211 rRect.Left() = lrint( mfFontScale * aCGRect.origin.x ); in GetGlyphBoundRect()
212 rRect.Top() = lrint( mfFontScale * aCGRect.origin.y ); in GetGlyphBoundRect()
213 rRect.Right() = lrint( mfFontScale * (aCGRect.origin.x + aCGRect.size.width) ); in GetGlyphBoundRect()
214 rRect.Bottom() = lrint( mfFontScale * (aCGRect.origin.y + aCGRect.size.height) ); in GetGlyphBoundRect()
279 if( mfFontScale != 1.0 ) { in GetGlyphOutline()
281 aScale.scale( +mfFontScale, +mfFontScale ); in GetGlyphOutline()
H A Datslayout.cxx71 float mfFontScale; member in ATSLayout
129 mfFontScale( fFontScale ), in ATSLayout()
172 float fFloat = mfFontScale * FixedToFloat( nFixed ); in Fixed2Vcl()
180 float fVclPixel = mfFontScale * nAtsuPixel; in AtsuPix2Vcl()
190 return FloatToFixed( nPixel / mfFontScale ); in Vcl2Fixed()
375 CGContextScaleCTM( rAquaGraphics.mrContext, +mfFontScale, -mfFontScale ); in DrawText()
523 …ivePos( Fix2Long(static_cast<Fixed>(nXOffset*mfFontScale)), Fix2Long(static_cast<Fixed>(nYOffset*m… in GetNextGlyphs()
1247 ATSLayout* pATSLayout = new ATSLayout( maATSUStyle, mfFontScale ); in GetTextLayout()
H A Dsalgdi.cxx69 , mfFontScale( 1.0 ) in ImplMacTextStyle()
/aoo42x/main/vcl/os2/source/gdi/
H A Dos2layout.cxx113 void SetFontScale( float f ) { mfFontScale = f; } in SetFontScale()
114 float GetFontScale() const { return mfFontScale; } in GetFontScale()
179 mfFontScale( 1.0 ), in Os2Layout()
491 if( mfFontScale != 1.0 )
493 mnWidth *= mfFontScale;
494 mnBaseAdv *= mfFontScale;
496 mpCharWidths[ i ] *= mfFontScale;
499 mpGlyphAdvances[ i ] *= mfFontScale;
502 mpGlyphOrigAdvs[ i ] *= mfFontScale;
974 if( mfFontScale != 1.0 )
[all …]
H A Dsalgdi3.cxx848 ImplDoSetFont( pFont, mfFontScale, nFallbackLevel); in SetFont()
1221 rRect.Left() = static_cast<int>( mfFontScale * rRect.Left() ); in GetGlyphBoundRect()
1222 rRect.Right() = static_cast<int>( mfFontScale * rRect.Right() ); in GetGlyphBoundRect()
1223 rRect.Top() = static_cast<int>( mfFontScale * rRect.Top() ); in GetGlyphBoundRect()
1224 rRect.Bottom() = static_cast<int>( mfFontScale * rRect.Bottom() ); in GetGlyphBoundRect()
1414 aMatrix.scale( mfFontScale, mfFontScale ); in GetGlyphOutline()
H A Dsalgdi.cxx99 mfFontScale = 1.0; in Os2SalGraphics()
/aoo42x/main/vcl/win/source/gdi/
H A Dwinlayout.cxx218 mfFontScale( 1.0 ), in WinLayout()
240 if( mfFontScale == 1.0 ) in DisableFontScaling()
561 if( mfFontScale != 1.0 )
563 mnWidth = (long)(mnWidth * mfFontScale);
564 mnBaseAdv = (int)(mnBaseAdv * mfFontScale);
1667 if( mfFontScale != 1.0 )
1669 mnBaseAdv = (int)((double)mnBaseAdv*mfFontScale);
1674 mnBaseAdv = (int)((double)mnBaseAdv*mfFontScale);
2903 maImpl.SetFontScale(WinLayout::mfFontScale);
3069 if( mfFontScale != 1.0 )
[all …]
H A Dsalgdi3.cxx1636 HFONT hNewFont = ImplDoSetFont( pFont, mfFontScale, hOldFont ); in SetFont()
1730 pMetric->mnWidth = static_cast<int>( mfFontScale * aWinMetric.tmAveCharWidth ); in GetFontMetric()
1731 pMetric->mnIntLeading = static_cast<int>( mfFontScale * aWinMetric.tmInternalLeading ); in GetFontMetric()
1732 pMetric->mnExtLeading = static_cast<int>( mfFontScale * aWinMetric.tmExternalLeading ); in GetFontMetric()
1733 pMetric->mnAscent = static_cast<int>( mfFontScale * aWinMetric.tmAscent ); in GetFontMetric()
1734 pMetric->mnDescent = static_cast<int>( mfFontScale * aWinMetric.tmDescent ); in GetFontMetric()
2452 rRect.Left() = static_cast<int>( mfFontScale * rRect.Left() ); in GetGlyphBoundRect()
2453 rRect.Right() = static_cast<int>( mfFontScale * rRect.Right() ); in GetGlyphBoundRect()
2454 rRect.Top() = static_cast<int>( mfFontScale * rRect.Top() ); in GetGlyphBoundRect()
2455 rRect.Bottom() = static_cast<int>( mfFontScale * rRect.Bottom() ); in GetGlyphBoundRect()
[all …]
H A Dsalgdi.cxx732 mfFontScale = 1.0; in WinSalGraphics()
/aoo42x/main/vcl/inc/os2/
H A Dsalgdi.h147 float mfFontScale; // allows metrics emulation of huge font sizes member in Os2SalGraphics
/aoo42x/main/vcl/inc/win/
H A Dsalgdi.h143 float mfFontScale; // allows metrics emulation of huge font sizes member in WinSalGraphics
/aoo42x/main/vcl/inc/aqua/
H A Dsalgdi.h123 float mfFontScale; member in ImplMacTextStyle

Completed in 94 milliseconds