Home
last modified time | relevance | path

Searched refs:rMetric (Results 1 – 10 of 10) sorted by relevance

/trunk/main/editeng/source/uno/
H A Dunoipset.cxx322 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 …]
/trunk/main/drawinglayer/source/primitive2d/
H A Dtextlayoutdevice.cxx174 const ::FontMetric& rMetric = mrDevice.GetFontMetric(); in getOverlineOffset() local
175 double fRet = (rMetric.GetIntLeading() / 2.0) - rMetric.GetAscent(); in getOverlineOffset()
181 const ::FontMetric& rMetric = mrDevice.GetFontMetric(); in getUnderlineOffset() local
182 double fRet = rMetric.GetDescent() / 2.0; in getUnderlineOffset()
188 const ::FontMetric& rMetric = mrDevice.GetFontMetric(); in getStrikeoutOffset() local
189 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() local
203 double fRet = rMetric.GetDescent() / 4.0; in getUnderlineHeight()
309 return rMetric.GetAscent(); in getFontAscent()
[all …]
/trunk/main/vcl/source/gdi/
H A Dmetric.cxx173 FontMetric::FontMetric( const FontMetric& rMetric ) in FontMetric() argument
174 : FontInfo( rMetric ) in FontMetric()
221 FontMetric& FontMetric::operator =( const FontMetric& rMetric ) in operator =() argument
223 FontInfo::operator=( rMetric ); in operator =()
229 sal_Bool FontMetric::operator==( const FontMetric& rMetric ) const in operator ==()
231 return FontInfo::operator==( rMetric ); in operator ==()
/trunk/main/vcl/aqua/source/gdi/
H A Datsfonts.cxx183 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()
H A Dctfonts.cxx175 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()
/trunk/main/vcl/inc/vcl/
H A Dmetric.hxx81 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 !=()
/trunk/main/vcl/win/source/gdi/
H A Dsalgdi3.cxx832 const NEWTEXTMETRICA& rMetric, DWORD nFontType ) in WinFont2DevFontAttributes() argument
861 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() argument
940 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 …]
/trunk/main/editeng/inc/editeng/
H A Dunoipset.hxx74 …d SvxUnoConvertToMM( const SfxMapUnit eSourceMapUnit, com::sun::star::uno::Any & rMetric ) throw();
77 …oConvertFromMM( const SfxMapUnit eDestinationMapUnit, com::sun::star::uno::Any & rMetric ) throw();
/trunk/main/cui/source/tabpages/
H A Dgrfpage.cxx45 inline long lcl_GetValue( MetricField& rMetric, FieldUnit eUnit ) in lcl_GetValue() argument
47 return static_cast<long>(rMetric.Denormalize( rMetric.GetValue( eUnit ))); in lcl_GetValue()
/trunk/main/sw/source/ui/config/
H A Doptpage.cxx189 static void lcl_SelectMetricLB(ListBox& rMetric, sal_uInt16 nSID, const SfxItemSet& rSet) in lcl_SelectMetricLB() argument
195 for ( sal_uInt16 i = 0; i < rMetric.GetEntryCount(); ++i ) in lcl_SelectMetricLB()
197 if ( (int)(sal_IntPtr)rMetric.GetEntryData( i ) == (int)eFieldUnit ) in lcl_SelectMetricLB()
199 rMetric.SelectEntryPos( i ); in lcl_SelectMetricLB()
204 rMetric.SaveValue(); in lcl_SelectMetricLB()

Completed in 50 milliseconds