Home
last modified time | relevance | path

Searched refs:fScale (Results 1 – 25 of 39) sorted by relevance

12

/aoo4110/main/sc/source/filter/excel/
H A Dxlescher.cxx81 double fScale = 1.0; in lclGetTwipsScale() local
88 return fScale; in lclGetTwipsScale()
111 long& rnStartW, long nX, double fScale ) in lclGetColFromX() argument
114 long nTwipsX = static_cast< long >( nX / fScale + 0.5 ); in lclGetColFromX()
130 long& rnStartH, long nY, double fScale ) in lclGetRowFromY() argument
133 long nTwipsY = static_cast< long >( nY / fScale + 0.5 ); in lclGetRowFromY()
180 double fScale = lclGetTwipsScale( eMapUnit ); in GetRect() local
182 lclGetXFromCol( rDoc, nScTab, maFirst.mnCol, mnLX, fScale ), in GetRect()
183 lclGetYFromRow( rDoc, nScTab, maFirst.mnRow, mnTY, fScale ), in GetRect()
204 double fScale = lclGetTwipsScale( eMapUnit ); in SetRect() local
[all …]
/aoo4110/main/filter/source/graphicfilter/idxf/
H A Ddxf2mtf.cxx849 double fWidth,fHeight,fScale; in Convert() local
912 fScale = 0; // -Wall added this... in Convert()
917 fScale=10000.0/fWidth; in Convert()
919 fScale=10000.0/fHeight; in Convert()
923 aTransform=DXFTransform(fScale,-fScale,fScale, in Convert()
925 pDXF->aBoundingBox.fMaxY*fScale, in Convert()
928 aPrefSize.Width() =(long)(fWidth*fScale+1.5); in Convert()
937 fScale=10000.0/fWidth; in Convert()
939 fScale=10000.0/fHeight; in Convert()
947 DXFTransform(fScale,fScale,fScale,DXFVector(0,0,0)) in Convert()
[all …]
/aoo4110/main/svx/inc/svx/
H A Dframelink.hxx121 …inline explicit Style( const SvxBorderLine& rBorder, double fScale = 1.0, sal_uInt16 nMaxWidth… in Style() argument
122 meRefMode( REFMODE_CENTERED ) { Set( rBorder, fScale, nMaxWidth ); } in Style()
124 …inline explicit Style( const SvxBorderLine* pBorder, double fScale = 1.0, sal_uInt16 nMaxWidth… in Style() argument
125 meRefMode( REFMODE_CENTERED ) { Set( pBorder, fScale, nMaxWidth ); } in Style()
145 …void Set( const SvxBorderLine& rBorder, double fScale = 1.0, sal_uInt16 nMaxWidth =…
147 …void Set( const SvxBorderLine* pBorder, double fScale = 1.0, sal_uInt16 nMaxWidth =…
157 Style& ScaleSelf( double fScale, sal_uInt16 nMaxWidth = SAL_MAX_UINT16 );
159 Style Scale( double fScale, sal_uInt16 nMaxWidth = SAL_MAX_UINT16 ) const;
/aoo4110/main/svtools/source/graphic/
H A Dgrfmgr.cxx333 double fScale; in ImplGetCropParams() local
365 fScale = (double) aSize100.Width() / nTotalWidth; in ImplGetCropParams()
367 nNewRight = nNewLeft + FRound( aSize100.Width() * fScale ) - 1; in ImplGetCropParams()
369 fScale = (double) rSz.Width() / aSize100.Width(); in ImplGetCropParams()
370 rPt.X() += FRound( nNewLeft * fScale ); in ImplGetCropParams()
371 rSz.Width() = FRound( ( nNewRight - nNewLeft + 1 ) * fScale ); in ImplGetCropParams()
373 fScale = (double) aSize100.Height() / nTotalHeight; in ImplGetCropParams()
375 nNewBottom = nNewTop + FRound( aSize100.Height() * fScale ) - 1; in ImplGetCropParams()
377 fScale = (double) rSz.Height() / aSize100.Height(); in ImplGetCropParams()
378 rPt.Y() += FRound( nNewTop * fScale ); in ImplGetCropParams()
[all …]
/aoo4110/main/svx/source/engine3d/
H A Dview3d.cxx565 double fScale(1.0); in ImpCloneAll3DObjectsToDestScene() local
571 if(aObjectScale.getX() * fScale > aSceneScale.getX() * fSizeFactor) in ImpCloneAll3DObjectsToDestScene()
573 const double fObjSize(aObjectScale.getX() * fScale); in ImpCloneAll3DObjectsToDestScene()
575 fScale *= fFactor; in ImpCloneAll3DObjectsToDestScene()
578 if(aObjectScale.getY() * fScale > aSceneScale.getY() * fSizeFactor) in ImpCloneAll3DObjectsToDestScene()
580 const double fObjSize(aObjectScale.getY() * fScale); in ImpCloneAll3DObjectsToDestScene()
582 fScale *= fFactor; in ImpCloneAll3DObjectsToDestScene()
585 if(aObjectScale.getZ() * fScale > aSceneScale.getZ() * fSizeFactor) in ImpCloneAll3DObjectsToDestScene()
587 const double fObjSize(aObjectScale.getZ() * fScale); in ImpCloneAll3DObjectsToDestScene()
589 fScale *= fFactor; in ImpCloneAll3DObjectsToDestScene()
[all …]
/aoo4110/main/scaddins/source/analysis/
H A Danalysishelper.cxx2099 r = sin( 2.0 * r ) * fScale; in Tan()
2100 i = sinh( 2.0 * i ) * fScale; in Tan()
2121 r_ = 2.0 * cos( r ) * cosh( i ) * fScale; in Sec()
2122 i = 2.0 * sin( r ) * sinh( i ) * fScale; in Sec()
2144 r_ = 2.0 * sin( r ) * cosh( i ) * fScale; in Csc()
2166 r = sin( 2.0 * r ) * fScale; in Cot()
2167 i = - ( sinh( 2.0 * i ) * fScale ); in Cot()
2226 r_ = 2.0 * cosh( r ) * cos( i ) * fScale; in Sech()
2227 i = - (2.0 * sinh( r ) * sin( i ) * fScale ); in Sech()
2249 r_ = 2.0 * sinh( r ) * cos( i ) * fScale; in Csch()
[all …]
/aoo4110/main/svx/source/gallery2/
H A Dgalobj.cxx87 const double fScale(std::min(fScaleX, fScaleY)); in createPreviewBitmapEx() local
91 if(fScale < 1.0 && fabs(1.0 - fScale) > 0.005) in createPreviewBitmapEx()
95 aRetval.Scale(fScale, fScale, nScaleFlag); in createPreviewBitmapEx()
/aoo4110/main/svx/source/dialog/
H A Dframelink.cxx205 sal_uInt16 lclScaleValue( long nValue, double fScale, sal_uInt16 nMaxWidth ) in lclScaleValue() argument
210 static_cast< long >( nValue * fScale ), 1L ), nMaxWidth ) ) : 0; in lclScaleValue()
1200 #define SCALEVALUE( value ) lclScaleValue( value, fScale, nMaxWidth )
1227 void Style::Set( const SvxBorderLine& rBorder, double fScale, sal_uInt16 nMaxWidth, bool bUseDots ) in Set() argument
1276 void Style::Set( const SvxBorderLine* pBorder, double fScale, sal_uInt16 nMaxWidth, bool bUseDots ) in Set() argument
1279 Set( *pBorder, fScale, nMaxWidth, bUseDots ); in Set()
1287 Style& Style::ScaleSelf( double fScale, sal_uInt16 nMaxWidth ) in ScaleSelf() argument
1293 Style Style::Scale( double fScale, sal_uInt16 nMaxWidth ) const in Scale() argument
1295 return Style( *this ).ScaleSelf( fScale, nMaxWidth ); in Scale()
/aoo4110/main/basegfx/source/polygon/
H A Db2dlinegeometry.cxx445 const double fScale(bIsEdgeLengthZero ? 1.0 : fLength / fEdgeLength); in createAreaGeometryForEdge() local
450 …aBezierPolygon.appendBezierSegment(aStart + (fRelNext * fScale), aEnd + (fRelPrev * fScale), aEnd); in createAreaGeometryForEdge()
508 const double fScale(bIsEdgeLengthZero ? 1.0 : fLength / fEdgeLength); in createAreaGeometryForEdge() local
513 …aBezierPolygon.appendBezierSegment(aStart + (fRelNext * fScale), aEnd + (fRelPrev * fScale), aEnd); in createAreaGeometryForEdge()
/aoo4110/main/basegfx/source/curve/
H A Db2dcubicbezier.cxx460 const double fScale(fabs(aEdge.getX()) > fabs(aEdge.getY()) in testAndSolveTrivialBezier() local
465 if(fTools::moreOrEqual(fScale, 0.0) && fTools::lessOrEqual(fScale, 1.0)) in testAndSolveTrivialBezier()
482 const double fScale(fabs(aEdge.getX()) > fabs(aEdge.getY()) in testAndSolveTrivialBezier() local
487 if(fTools::lessOrEqual(fScale, 0.0) && fTools::moreOrEqual(fScale, -1.0)) in testAndSolveTrivialBezier()
/aoo4110/main/chart2/source/view/main/
H A DPlottingPositionHelper.cxx382 double fScale =FIXED_SIZE_FOR_3D_CHART_VOLUME/2.0; in impl_calculateMatrixUnitCartesianToScene() local
385 double fScaleLogicZ =fScale; in impl_calculateMatrixUnitCartesianToScene()
405 double fScaleX = fScale; in impl_calculateMatrixUnitCartesianToScene()
406 double fScaleY = fScale; in impl_calculateMatrixUnitCartesianToScene()
407 double fScaleZ = fScale; in impl_calculateMatrixUnitCartesianToScene()
/aoo4110/main/svx/source/customshapes/
H A DEnhancedCustomShapeFontWork.cxx205 double fScale = fWidth / fTextWidth; in CalculateHorizontalScalingFactor() local
208 fScalingFactor = fScale; in CalculateHorizontalScalingFactor()
213 if ( fScale < fScalingFactor ) in CalculateHorizontalScalingFactor()
214 fScalingFactor = fScale; in CalculateHorizontalScalingFactor()
480 double fScale = (double)aTextAreaIter->aBoundRect.GetWidth() / nParaWidth; in GetFontWorkOutline() local
490 aOutlineIter->Scale( fScale, 1.0 ); in GetFontWorkOutline()
/aoo4110/main/sc/source/core/tool/
H A Dinterpr5.cxx703 double fScale = aScale[k]; in lcl_LUP_decompose() local
707 double fTmp = fScale * fabs( mA->GetDouble( k, i)); in lcl_LUP_decompose()
1961 double fScale ; in lcl_CalculateQRdecomposition() local
1970 fScale = lcl_GetColumnMaximumNorm(pMatA, col, col, nN); in lcl_CalculateQRdecomposition()
1971 if (fScale == 0.0) in lcl_CalculateQRdecomposition()
1976 pMatA->PutDouble( pMatA->GetDouble(col,row)/fScale, col, row); in lcl_CalculateQRdecomposition()
1982 pVecR[col] = -fSignum * fScale * fEuclid; in lcl_CalculateQRdecomposition()
2000 double fScale ; in lcl_TCalculateQRdecomposition() local
2009 fScale = lcl_TGetColumnMaximumNorm(pMatA, row, row, nN); in lcl_TCalculateQRdecomposition()
2010 if (fScale == 0.0) in lcl_TCalculateQRdecomposition()
[all …]
/aoo4110/main/sc/source/core/data/
H A Dcompressedarray.cxx398 A nStart, A nEnd, size_t& nIndex, double fScale ) const in SumScaledValuesContinuation()
405 unsigned long nScaledVal = (unsigned long) (this->pData[nIndex].aValue * fScale); in SumScaledValuesContinuation()
751 const ScSummableCompressedArray<A,S>& rArray, double fScale ) const in SumScaledCoupledArrayForCondition()
765 ::std::min( this->pData[nIndex1].nEnd, nEnd), nIndex2, fScale); in SumScaledCoupledArrayForCondition()
776 (rArray.GetDataEntry(rArray.GetEntryCount()-1).aValue * fScale) * in SumScaledCoupledArrayForCondition()
/aoo4110/main/xmloff/source/chart/
H A DSchXMLSeries2Context.cxx131 double fScale = 1; in lcl_setAutomaticSymbolSize() local
143 fScale = 0.75*fFontHeight/6.0; in lcl_setAutomaticSymbolSize()
151 fScale = aPageSize.Height/7000.0; in lcl_setAutomaticSymbolSize()
154 if( fScale>0 ) in lcl_setAutomaticSymbolSize()
156 aSymbolSize.Height = static_cast<sal_Int32>( fScale * aSymbolSize.Height ); in lcl_setAutomaticSymbolSize()
/aoo4110/main/vcl/source/window/
H A Dprintdlg.cxx171 double fScale = 1.0; in Resize() local
183 fScale = double(aNewSize.Height())/double(aScaledSize.Height()); in Resize()
189 fScale = double(aNewSize.Width())/double(aScaledSize.Width()); in Resize()
191 aScaledSize.Width() = long(aScaledSize.Width()*fScale); in Resize()
192 aScaledSize.Height() = long(aScaledSize.Height()*fScale); in Resize()
260 double fScale = double(aLogicSize.Width())/double(aOrigSize.Width()); in Paint() local
272 aMtf.Scale( fScale, fScale ); in Paint()
425 double fScale = (fX < fY) ? fX : fY; in Paint() local
426 long nFontHeight = long(24.0*fScale) - 3; in Paint()
/aoo4110/main/vcl/aqua/source/gdi/
H A Dsalgdiutils.cxx55 …AquaSalGraphics::SetPrinterGraphics( CGContextRef xContext, long nDPIX, long nDPIY, double fScale ) in SetPrinterGraphics() argument
62 mfFakeDPIScale = fScale; in SetPrinterGraphics()
H A Daquaprintaccessoryview.mm315 double fScale = (fScaleX < fScaleY) ? fScaleX : fScaleY;
320 if( fScale < 0.1 )
321 fScale = 0.1;
323 aMtf.Scale( fScale, fScale );
325 aLogicSize.Width() = long(double(aPageSize.aSize.Width()) * fScale);
326 aLogicSize.Height() = long(double(aPageSize.aSize.Height()) * fScale);
/aoo4110/main/drawinglayer/source/primitive3d/
H A Dsdrextrudelathetools3d.cxx52 double fScale) in impScalePolyPolygonOnCenter() argument
56 if(!basegfx::fTools::equalZero(fScale)) in impScalePolyPolygonOnCenter()
63 aTrans.scale(fScale, fScale); in impScalePolyPolygonOnCenter()
/aoo4110/main/vcl/inc/
H A Dgraphite_cache.hxx53 … std::vector<int> & vChar2Base, std::vector<int> & vGlyph2Char, float fScale) in setGlyphVectors() argument
57 m_fontScale = fScale; in setGlyphVectors()
/aoo4110/main/vcl/source/gdi/
H A Dprint3.cxx1091 double fScale = std::min( fScaleX, fScaleY ); in getFilteredPageFile() local
1092 aPageFile.Scale( fScale, fScale ); in getFilteredPageFile()
1096 … long nOffX = (aSubPageSize.Width() - long(double(aPageSize.aSize.Width()) * fScale)) / 2; in getFilteredPageFile()
1097 … long nOffY = (aSubPageSize.Height() - long(double(aPageSize.aSize.Height()) * fScale)) / 2; in getFilteredPageFile()
1104 Size( long(double(aPageSize.aSize.Width())*fScale), in getFilteredPageFile()
1105 long(double(aPageSize.aSize.Height())*fScale) ) ); in getFilteredPageFile()
/aoo4110/main/svgio/source/svgreader/
H A Dsvgtools.cxx91 … const double fScale(isMeetOrSlice() ? std::min(fScaleX, fScaleY) : std::max(fScaleX, fScaleY)); in createMapping() local
95 aRetval.scale(fScale, fScale); in createMapping()
98 const double fNewWidth(fSWidth * fScale); in createMapping()
125 const double fNewHeight(fSHeight * fScale); in createMapping()
/aoo4110/main/sc/inc/
H A Dcompressedarray.hxx430 size_t& nIndex, double fScale ) const;
542 double fScale ) const;
/aoo4110/main/vcl/source/glyphs/
H A Dgcach_ftyp.cxx1022 const double fScale = (double)GetFontSelData().mnHeight / maFaceFT->units_per_EM; in FetchFontMetric() local
1025 rTo.mnAscent = (long)( +pOS2->usWinAscent * fScale + 0.5 ); in FetchFontMetric()
1026 rTo.mnDescent = (long)( +nDescent * fScale + 0.5 ); in FetchFontMetric()
1027 …g = (long)( (+pOS2->usWinAscent + pOS2->usWinDescent - maFaceFT->units_per_EM) * fScale + 0.5 ); in FetchFontMetric()
1036 rTo.mnExtLeading = (long)(nExtLeading * fScale + 0.5); in FetchFontMetric()
/aoo4110/main/embedserv/source/embed/
H A Ddocholder.cxx977 float fScale = 1; in resizeWin() local
978 xView->setZoom( fScale, fScale ); in resizeWin()

Completed in 210 milliseconds

12