Searched refs:aUIScale (Results 1 – 10 of 10) sorted by relevance
70 aUIScale(pView->GetDoc()->GetUIScale()) in SdSnapLineDlg()107 nValue = Fraction( nValue ) / aUIScale; in SdSnapLineDlg()113 nValue = Fraction( nValue ) / aUIScale; in SdSnapLineDlg()119 nValue = Fraction( nValue ) / aUIScale; in SdSnapLineDlg()125 nValue = Fraction( nValue ) / aUIScale; in SdSnapLineDlg()132 nXValue = Fraction(nXValue) / aUIScale; in SdSnapLineDlg()133 nYValue = Fraction(nYValue) / aUIScale; in SdSnapLineDlg()170 nXValue = Fraction( GetCoreValue( aMtrFldX, SFX_MAPUNIT_100TH_MM) ) * aUIScale; in GetAttr()171 nYValue = Fraction( GetCoreValue( aMtrFldY, SFX_MAPUNIT_100TH_MM) ) * aUIScale; in GetAttr()
715 Fraction aUIScale(GetDoc()->GetUIScale()); in GetStatusBarState() local716 aPos.X() = Fraction(aPos.X()) / aUIScale; in GetStatusBarState()717 aPos.Y() = Fraction(aPos.Y()) / aUIScale; in GetStatusBarState()731 aPos.X() = Fraction(aPos.X()) / aUIScale; in GetStatusBarState()732 aPos.Y() = Fraction(aPos.Y()) / aUIScale; in GetStatusBarState()735 aSize.Height() = Fraction(aSize.Height()) / aUIScale; in GetStatusBarState()736 aSize.Width() = Fraction(aSize.Width()) / aUIScale; in GetStatusBarState()749 aShapePosition.X() = Fraction(aShapePosition.X()) / aUIScale; in GetStatusBarState()750 aShapePosition.Y() = Fraction(aShapePosition.Y()) / aUIScale; in GetStatusBarState()754 aSize.Height() = Fraction(aSize.Height()) / aUIScale; in GetStatusBarState()[all …]
385 Fraction aUIScale(nZoom, 100); in SetZoom() local386 aUIScale *= GetDoc()->GetUIScale(); in SetZoom()389 mpHorizontalRuler->SetZoom(aUIScale); in SetZoom()392 mpVerticalRuler->SetZoom(aUIScale); in SetZoom()428 Fraction aUIScale(nZoom, 100); in SetZoomRect() local429 aUIScale *= GetDoc()->GetUIScale(); in SetZoomRect()434 mpHorizontalRuler->SetZoom(aUIScale); in SetZoomRect()437 mpVerticalRuler->SetZoom(aUIScale); in SetZoomRect()
596 Fraction aUIScale(pWin->GetMapMode().GetScaleX()); in CreateHRuler() local597 aUIScale *= GetDoc()->GetUIScale(); in CreateHRuler()598 pRuler->SetZoom(aUIScale); in CreateHRuler()627 Fraction aUIScale(pWin->GetMapMode().GetScaleY()); in CreateVRuler() local628 aUIScale *= GetDoc()->GetUIScale(); in CreateVRuler()629 pRuler->SetZoom(aUIScale); in CreateVRuler()
1111 Fraction aUIScale = mpView->GetModel()->GetUIScale(); in executeSize() local1116 long lWidth = (long)(nWidth * (double)aUIScale); in executeSize()1123 long lHeight = (long)(nHeight * (double)aUIScale); in executeSize()1167 Fraction aUIScale = mpView->GetModel()->GetUIScale(); in executePosX() local1169 lX = Fraction( lX ) * aUIScale; in executePosX()1171 lY = Fraction( lY ) * aUIScale; in executePosX()1195 Fraction aUIScale = mpView->GetModel()->GetUIScale(); in executePosY() local1197 lX = Fraction( lX ) * aUIScale; in executePosY()1199 lY = Fraction( lY ) * aUIScale; in executePosY()1375 if (maUIScale != aUIScale) in UpdateUIScale()[all …]
109 const double fFactor(1.0 / double(aUIScale)); in lcl_ScaleRect()291 const Fraction aUIScale(pView->GetModel()->GetUIScale()); in Construct() local292 lcl_ScaleRect(maRange, aUIScale); in Construct()566 Fraction aUIScale = pView->GetModel()->GetUIScale(); in FillItemSet() local568 nTmp = Fraction( nTmp ) * aUIScale; in FillItemSet()861 const Fraction aUIScale(mpView->GetModel()->GetUIScale()); in Construct() local862 lcl_ScaleRect( maWorkRange, aUIScale ); in Construct()863 lcl_ScaleRect( maRange, aUIScale ); in Construct()931 Fraction aUIScale = mpView->GetModel()->GetUIScale(); in FillItemSet() local936 long lWidth = long(nWidth * (double)aUIScale); in FillItemSet()[all …]
1947 Fraction aUIScale = m_pSdrView->GetModel()->GetUIScale(); in SetView() local
122 aUIScale=Fraction(1,1); in ImpCtor()977 if(0 == aUIScale.GetNumerator() || 0 == aUIScale.GetDenominator()) in ImpSetUIUnit()979 aUIScale = Fraction(1,1); in ImpSetUIUnit()1064 if(1 != aUIScale.GetDenominator() || 1 != aUIScale.GetNumerator()) in ImpSetUIUnit()1067 nMul *= aUIScale.GetDenominator(); in ImpSetUIUnit()1068 nDiv *= aUIScale.GetNumerator(); in ImpSetUIUnit()1138 if (aUIScale!=rScale) { in SetUIScale()1139 aUIScale=rScale; in SetUIScale()1147 if (eUIUnit!=eUnit || aUIScale!=rScale) { in SetUIUnit()1149 aUIScale=rScale; in SetUIUnit()
180 Fraction aUIScale; // see above member in SdrModel431 const Fraction& GetUIScale() const { return aUIScale; } in GetUIScale()
81 Fraction aUIScale; member in SdSnapLineDlg
Completed in 53 milliseconds