Searched refs:aNewTextRect (Results 1 – 1 of 1) sorted by relevance
2761 …Rectangle aNewTextRect( aRect ); // <- new text rectangle returned from the custom shape re… in ImpCalculateTextFrame() local2762 GetTextBounds( aNewTextRect ); // it depends to the current logical shape size in ImpCalculateTextFrame()2764 …Rectangle aAdjustedTextRect( aNewTextRect ); // <- new text rectangle i… in ImpCalculateTextFrame()2767 if ( ( aAdjustedTextRect != aNewTextRect ) && ( aOldTextRect != aAdjustedTextRect ) ) in ImpCalculateTextFrame()2770 double fXScale = (double)aOldTextRect.GetWidth() / (double)aNewTextRect.GetWidth(); in ImpCalculateTextFrame()2771 double fYScale = (double)aOldTextRect.GetHeight() / (double)aNewTextRect.GetHeight(); in ImpCalculateTextFrame()2772 … double fRightDiff = (double)( aAdjustedTextRect.Right() - aNewTextRect.Right() ) * fXScale; in ImpCalculateTextFrame()2773 … double fLeftDiff = (double)( aAdjustedTextRect.Left() - aNewTextRect.Left() ) * fXScale; in ImpCalculateTextFrame()2774 … double fTopDiff = (double)( aAdjustedTextRect.Top() - aNewTextRect.Top() ) * fYScale; in ImpCalculateTextFrame()2775 … double fBottomDiff= (double)( aAdjustedTextRect.Bottom()- aNewTextRect.Bottom()) * fYScale; in ImpCalculateTextFrame()[all …]