Searched refs:rMetric (Results 1 – 10 of 10) sorted by relevance
322 switch( rMetric.getValueTypeClass() ) in SvxUnoConvertToMM()325 rMetric <<= (sal_Int8)(TWIPS_TO_MM(*(sal_Int8*)rMetric.getValue())); in SvxUnoConvertToMM()328 rMetric <<= (sal_Int16)(TWIPS_TO_MM(*(sal_Int16*)rMetric.getValue())); in SvxUnoConvertToMM()331 rMetric <<= (sal_uInt16)(TWIPS_TO_MM(*(sal_uInt16*)rMetric.getValue())); in SvxUnoConvertToMM()334 rMetric <<= (sal_Int32)(TWIPS_TO_MM(*(sal_Int32*)rMetric.getValue())); in SvxUnoConvertToMM()337 rMetric <<= (sal_uInt32)(TWIPS_TO_MM(*(sal_uInt32*)rMetric.getValue())); in SvxUnoConvertToMM()363 rMetric <<= (sal_Int8)(MM_TO_TWIPS(*(sal_Int8*)rMetric.getValue())); in SvxUnoConvertFromMM()366 rMetric <<= (sal_Int16)(MM_TO_TWIPS(*(sal_Int16*)rMetric.getValue())); in SvxUnoConvertFromMM()369 rMetric <<= (sal_uInt16)(MM_TO_TWIPS(*(sal_uInt16*)rMetric.getValue())); in SvxUnoConvertFromMM()372 rMetric <<= (sal_Int32)(MM_TO_TWIPS(*(sal_Int32*)rMetric.getValue())); in SvxUnoConvertFromMM()[all …]
174 const ::FontMetric& rMetric = mrDevice.GetFontMetric(); in getOverlineOffset() local175 double fRet = (rMetric.GetIntLeading() / 2.0) - rMetric.GetAscent(); in getOverlineOffset()181 const ::FontMetric& rMetric = mrDevice.GetFontMetric(); in getUnderlineOffset() local182 double fRet = rMetric.GetDescent() / 2.0; in getUnderlineOffset()188 const ::FontMetric& rMetric = mrDevice.GetFontMetric(); in getStrikeoutOffset() local189 double fRet = (rMetric.GetAscent() - rMetric.GetIntLeading()) / 3.0; in getStrikeoutOffset()196 double fRet = rMetric.GetIntLeading() / 2.5; in getOverlineHeight()202 const ::FontMetric& rMetric = mrDevice.GetFontMetric(); in getUnderlineHeight() local203 double fRet = rMetric.GetDescent() / 4.0; in getUnderlineHeight()309 return rMetric.GetAscent(); in getFontAscent()[all …]
173 FontMetric::FontMetric( const FontMetric& rMetric ) in FontMetric() argument174 : FontInfo( rMetric ) in FontMetric()221 FontMetric& FontMetric::operator =( const FontMetric& rMetric ) in operator =() argument223 FontInfo::operator=( rMetric ); in operator =()229 sal_Bool FontMetric::operator==( const FontMetric& rMetric ) const in operator ==()231 return FontInfo::operator==( rMetric ); in operator ==()
183 void AtsTextStyle::GetFontMetric( float fDPIY, ImplFontMetricData& rMetric ) const in GetFontMetric()201 rMetric.mbScalableFont = true; in GetFontMetric()203 rMetric.mbKernableFont = true; in GetFontMetric()215 rMetric.mnAscent = static_cast<long>(+aMetrics.ascent * fPixelSize + 0.5); in GetFontMetric()216 rMetric.mnDescent = static_cast<long>(-aMetrics.descent * fPixelSize + 0.5); in GetFontMetric()218 rMetric.mnExtLeading = nExtDescent - rMetric.mnDescent; in GetFontMetric()219 rMetric.mnIntLeading = 0; in GetFontMetric()223 rMetric.mnWidth = static_cast<long>(mfFontStretch * fPixelSize + 0.5); in GetFontMetric()
175 void CTTextStyle::GetFontMetric( float fDPIY, ImplFontMetricData& rMetric ) const in GetFontMetric()184 rMetric.mnAscent = lrint( fAscent * fPixelSize); in GetFontMetric()185 rMetric.mnDescent = lrint( CTFontGetDescent( aCTFontRef ) * fPixelSize); in GetFontMetric()186 rMetric.mnExtLeading = lrint( CTFontGetLeading( aCTFontRef ) * fPixelSize); in GetFontMetric()187 rMetric.mnIntLeading = lrint( (fAscent - fCapHeight) * fPixelSize); in GetFontMetric()192 rMetric.mnWidth = lrint( CTFontGetSize( aCTFontRef ) * fPixelSize * mfFontStretch); in GetFontMetric()195 rMetric.mbScalableFont = true; in GetFontMetric()197 rMetric.mbKernableFont = true; in GetFontMetric()
81 FontMetric& operator=( const FontMetric& rMetric );82 sal_Bool operator==( const FontMetric& rMetric ) const;83 sal_Bool operator!=( const FontMetric& rMetric ) const in operator !=()84 { return !operator==( rMetric ); } in operator !=()
832 const NEWTEXTMETRICA& rMetric, DWORD nFontType ) in WinFont2DevFontAttributes() argument861 aDFA.mbDevice = (rMetric.tmPitchAndFamily & TMPF_DEVICE) != 0; in WinFont2DevFontAttributes()865 if( 0 != (rMetric.ntmFlags & (NTM_TT_OPENTYPE | NTM_PS_OPENTYPE)) in WinFont2DevFontAttributes()866 || 0 != (rMetric.tmPitchAndFamily & TMPF_TRUETYPE)) in WinFont2DevFontAttributes()875 if( rMetric.tmPitchAndFamily & TMPF_TRUETYPE ) in WinFont2DevFontAttributes()877 if( 0 != (rMetric.ntmFlags & (NTM_TT_OPENTYPE | NTM_PS_OPENTYPE)) ) in WinFont2DevFontAttributes()907 const NEWTEXTMETRICW& rMetric, DWORD nFontType ) in WinFont2DevFontAttributes() argument940 if( 0 != (rMetric.ntmFlags & (NTM_TT_OPENTYPE | NTM_PS_OPENTYPE)) in WinFont2DevFontAttributes()941 || 0 != (rMetric.tmPitchAndFamily & TMPF_TRUETYPE)) in WinFont2DevFontAttributes()950 if( rMetric.tmPitchAndFamily & TMPF_TRUETYPE ) in WinFont2DevFontAttributes()[all …]
74 …d SvxUnoConvertToMM( const SfxMapUnit eSourceMapUnit, com::sun::star::uno::Any & rMetric ) throw();77 …oConvertFromMM( const SfxMapUnit eDestinationMapUnit, com::sun::star::uno::Any & rMetric ) throw();
45 inline long lcl_GetValue( MetricField& rMetric, FieldUnit eUnit ) in lcl_GetValue() argument47 return static_cast<long>(rMetric.Denormalize( rMetric.GetValue( eUnit ))); in lcl_GetValue()
190 static void lcl_SelectMetricLB(ListBox& rMetric, sal_uInt16 nSID, const SfxItemSet& rSet) in lcl_SelectMetricLB() argument196 for ( sal_uInt16 i = 0; i < rMetric.GetEntryCount(); ++i ) in lcl_SelectMetricLB()198 if ( (int)(sal_IntPtr)rMetric.GetEntryData( i ) == (int)eFieldUnit ) in lcl_SelectMetricLB()200 rMetric.SelectEntryPos( i ); in lcl_SelectMetricLB()205 rMetric.SaveValue(); in lcl_SelectMetricLB()
Completed in 116 milliseconds