Lines Matching refs:aFont
153 Font aFont( in drawText() local
158 aFont.SetAlign( ALIGN_BASELINE ); in drawText()
159 …aFont.SetCharSet( (rFontRequest.FontDescription.IsSymbolFont==com::sun::star::util::TriState_YES) … in drawText()
160 …aFont.SetVertical( (rFontRequest.FontDescription.IsVertical==com::sun::star::util::TriState_YES) ?… in drawText()
161 … aFont.SetWeight( static_cast<FontWeight>(rFontRequest.FontDescription.FontDescription.Weight) ); in drawText()
162 …aFont.SetItalic( (rFontRequest.FontDescription.FontDescription.Letterform<=8) ? ITALIC_NONE : ITAL… in drawText()
163 aFont.SetPitch( in drawText()
167 aFont.SetLanguage(MsLangId::convertLocaleToLanguage(rFontRequest.Locale)); in drawText()
170 aFont.SetColor( aColor ); in drawText()
171 aFont.SetFillColor( aColor ); in drawText()
176 const Size aSize = aVirtualDevice.GetFontMetric( aFont ).GetSize(); in drawText()
185 aFont.SetWidth( nNewWidth ); in drawText()
189 aVirtualDevice.SetFont(aFont); in drawText()
291 Font aFont( in queryTextBounds() local
296 aFont.SetAlign( ALIGN_BASELINE ); in queryTextBounds()
297 …aFont.SetCharSet( (rFontRequest.FontDescription.IsSymbolFont==com::sun::star::util::TriState_YES) … in queryTextBounds()
298 …aFont.SetVertical( (rFontRequest.FontDescription.IsVertical==com::sun::star::util::TriState_YES) ?… in queryTextBounds()
299 … aFont.SetWeight( static_cast<FontWeight>(rFontRequest.FontDescription.FontDescription.Weight) ); in queryTextBounds()
300 …aFont.SetItalic( (rFontRequest.FontDescription.FontDescription.Letterform<=8) ? ITALIC_NONE : ITAL… in queryTextBounds()
301 aFont.SetPitch( in queryTextBounds()
308 const Size aSize = aVirtualDevice.GetFontMetric( aFont ).GetSize(); in queryTextBounds()
317 aFont.SetWidth( nNewWidth ); in queryTextBounds()
321 aVirtualDevice.SetFont(aFont); in queryTextBounds()