Lines Matching refs:aPos
768 Point aPos; in Arrange() local
777 aPos = rNodeRect.AlignTo(*this, RP_BOTTOM, in Arrange()
780 aPos.Y() += nDist; in Arrange()
781 pNode->MoveTo(aPos); in Arrange()
867 Point aPos; in Arrange() local
875 aPos = pNode->AlignTo(*this, RP_RIGHT, RHA_CENTER, RVA_BASELINE); in Arrange()
878 aPos.X() += nDist; in Arrange()
880 pNode->MoveTo(aPos); in Arrange()
917 Point aPos = pOper->AlignTo(*pBody, bIsPostfix ? RP_RIGHT : RP_LEFT, in Arrange() local
923 aPos.X() += nDelta; in Arrange()
925 aPos.X() -= nDelta; in Arrange()
926 pOper->MoveTo(aPos); in Arrange()
959 Point aPos = rRootSymbol.GetTopLeft() in GetExtraPos() local
964 aPos.X() -= rExtra.GetWidth() + rExtra.GetItalicRightSpace(); in GetExtraPos()
965 aPos.Y() -= rExtra.GetHeight(); in GetExtraPos()
970 if (aPos.X() > nX) in GetExtraPos()
971 aPos.X() = nX; in GetExtraPos()
973 return aPos; in GetExtraPos()
1003 Point aPos = pRootSym->AlignTo(*pBody, RP_LEFT, RHA_CENTER, RVA_BASELINE); in Arrange() local
1005 aPos.Y() = pRootSym->GetTop() + pBody->GetBottom() - pRootSym->GetBottom(); in Arrange()
1006 aPos.Y() -= nVerOffset; in Arrange()
1007 pRootSym->MoveTo(aPos); in Arrange()
1013 aPos = GetExtraPos(*pRootSym, *pExtra); in Arrange()
1014 pExtra->MoveTo(aPos); in Arrange()
1063 Point aPos; in Arrange() local
1064 aPos = pOper->AlignTo(*this, RP_RIGHT, RHA_CENTER, RVA_BASELINE); in Arrange()
1065 aPos.X() += nDist; in Arrange()
1066 pOper->MoveTo(aPos); in Arrange()
1069 aPos = pRight->AlignTo(*this, RP_RIGHT, RHA_CENTER, RVA_BASELINE); in Arrange()
1070 aPos.X() += nDist; in Arrange()
1072 pRight->MoveTo(aPos); in Arrange()
1120 Point aPos = pNum->AlignTo(*pLine, RP_TOP, eHorAlign, RVA_BASELINE); in Arrange() local
1121 aPos.Y() -= nNumDist; in Arrange()
1122 pNum->MoveTo(aPos); in Arrange()
1129 aPos = pDenom->AlignTo(*pLine, RP_BOTTOM, eHorAlign, RVA_BASELINE); in Arrange()
1130 aPos.Y() += nDenomDist; in Arrange()
1131 pDenom->MoveTo(aPos); in Arrange()
1389 Point aPos; in Arrange() local
1390 aPos.X() = pLeft->GetItalicRight() + nDelta + pRight->GetItalicLeftSpace(); in Arrange()
1392 aPos.Y() = pLeft->GetBottom() + nDelta; in Arrange()
1394 aPos.Y() = pLeft->GetTop() - nDelta - pRight->GetHeight(); in Arrange()
1396 pRight->MoveTo(aPos); in Arrange()
1410 GetOperPosSize(aPos, aTmpSize, aLogCenter, IsAscending() ? 60.0 : -60.0); in Arrange()
1418 pOper->MoveTo(aPos); in Arrange()
1445 Point aPos; in Arrange() local
1488 aPos = pSubSup->GetRect().AlignTo(aTmpRect, in Arrange()
1491 aPos.Y() += nDist; in Arrange()
1492 nDelta = nDelimLine - aPos.Y(); in Arrange()
1494 aPos.Y() += nDelta; in Arrange()
1501 aPos = pSubSup->GetRect().AlignTo(aTmpRect, in Arrange()
1504 aPos.Y() -= nDist; in Arrange()
1505 nDelta = aPos.Y() + pSubSup->GetHeight() - nDelimLine; in Arrange()
1507 aPos.Y() -= nDelta; in Arrange()
1513 aPos = pSubSup->GetRect().AlignTo(rBodyRect, RP_BOTTOM, in Arrange()
1515 aPos.Y() += nDist; in Arrange()
1521 aPos = pSubSup->GetRect().AlignTo(rBodyRect, RP_TOP, in Arrange()
1523 aPos.Y() -= nDist; in Arrange()
1530 pSubSup->MoveTo(aPos); in Arrange()
1707 Point aPos; in Arrange() local
1708 aPos = pLeft->AlignTo(*pBody, RP_LEFT, RHA_CENTER, eVerAlign); in Arrange()
1709 aPos.X() -= nDist; in Arrange()
1710 pLeft->MoveTo(aPos); in Arrange()
1712 aPos = pRight->AlignTo(*pBody, RP_RIGHT, RHA_CENTER, eVerAlign); in Arrange()
1713 aPos.X() += nDist; in Arrange()
1714 pRight->MoveTo(aPos); in Arrange()
1740 Point aPos = aTmpRect.AlignTo(aRefRect, RP_RIGHT, RHA_CENTER, RVA_BASELINE); in Arrange() local
1741 aTmpRect.MoveTo(aPos); in Arrange()
1834 Point aPos = pBrace->AlignTo(*pBody, eRectPos, RHA_CENTER, RVA_BASELINE); in Arrange() local
1835 aPos.Y() += nDistBody; in Arrange()
1836 pBrace->MoveTo(aPos); in Arrange()
1838 aPos = pScript->AlignTo(*pBrace, eRectPos, RHA_CENTER, RVA_BASELINE); in Arrange()
1839 aPos.Y() += nDistScript; in Arrange()
1840 pScript->MoveTo(aPos); in Arrange()
1910 Point aPos = pOper->AlignTo(*pBody, RP_LEFT, RHA_CENTER, /*RVA_CENTERY*/RVA_MID); in Arrange() local
1911 aPos.X() -= nDist; in Arrange()
1912 pOper->MoveTo(aPos); in Arrange()
1978 Point aPos = pAttr->AlignTo(*pBody, RP_ATTRIBUT, RHA_CENTER, eVerAlign); in Arrange() local
1979 aPos.Y() -= nDist; in Arrange()
1980 pAttr->MoveTo(aPos); in Arrange()
2269 aPos (rPosition + aOffset); in Draw() local
2270 ((Polygon &) aPoly).Move(aPos.X(), aPos.Y()); in Draw()
2412 Point aPos (rDev.PixelToLogic(rDev.LogicToPixel(aTmp.TopLeft()))); in Draw() local
2413 aTmp.SetPos(aPos); in Draw()
2543 Point aPos (rPosition); in Draw() local
2544 aPos.Y() += GetBaselineOffset(); in Draw()
2546 aPos = rDev.PixelToLogic( rDev.LogicToPixel(aPos) ); in Draw()
2554 rDev.DrawStretchText(aPos, GetWidth(), aText); in Draw()
2634 Point aPos, aDelta; in Arrange() local
2646 aPos = rNodeRect.AlignTo(aLineRect, RP_RIGHT, RHA_CENTER, RVA_BASELINE); in Arrange()
2647 aPos.X() += nHorDist; in Arrange()
2657 aPos.X() = rNodeRect.GetLeft() + pColLeft[j]; in Arrange()
2660 aPos.X() = rNodeRect.GetLeft() + pColLeft[j] in Arrange()
2665 aPos.X() = rNodeRect.GetLeft() + pColLeft[j] in Arrange()
2670 pTmpNode->MoveTo(aPos); in Arrange()
2674 aPos = aLineRect.AlignTo(*this, RP_BOTTOM, RHA_CENTER, RVA_BASELINE); in Arrange()
2675 aPos.Y() += nVerDist; in Arrange()
2679 aDelta.Y() = aPos.Y() - aLineRect.GetTop(); in Arrange()