/aoo41x/main/svx/source/svdraw/ |
H A D | svdglue.cxx | 81 aPt+=aOfs; in GetAbsolutePos() 83 if (aPt.X()<aBound.Left ()) aPt.X()=aBound.Left (); in GetAbsolutePos() 84 if (aPt.X()>aBound.Right ()) aPt.X()=aBound.Right (); in GetAbsolutePos() 85 if (aPt.Y()<aBound.Top ()) aPt.Y()=aBound.Top (); in GetAbsolutePos() 108 aPt-=aOfs; in SetAbsolutePos() 125 aPos=aPt; in SetAbsolutePos() 200 Point aPt(rRef2); aPt-=rRef1; in Mirror() local 254 aPt=rWin.LogicToPixel(aPt); in Invalidate() 256 long x=aPt.X(),y=aPt.Y(); // size 9x9 pixel in Invalidate() 269 …Rectangle aRect(aPt.X()-aSiz.Width(),aPt.Y()-aSiz.Height(),aPt.X()+aSiz.Width(),aPt.Y()+aSiz.Heigh… in IsHit() [all …]
|
H A D | svdorect.cxx | 542 Point aPt; in GetVertexGluePoint() local 544 case 0: aPt=aRect.TopCenter(); aPt.Y()-=nWdt; break; in GetVertexGluePoint() 545 case 1: aPt=aRect.RightCenter(); aPt.X()+=nWdt; break; in GetVertexGluePoint() 546 case 2: aPt=aRect.BottomCenter(); aPt.Y()+=nWdt; break; in GetVertexGluePoint() 547 case 3: aPt=aRect.LeftCenter(); aPt.X()-=nWdt; break; in GetVertexGluePoint() 552 SdrGluePoint aGP(aPt); in GetVertexGluePoint() 568 Point aPt; in GetCornerGluePoint() local 570 case 0: aPt=aRect.TopLeft(); aPt.X()-=nWdt; aPt.Y()-=nWdt; break; in GetCornerGluePoint() 571 case 1: aPt=aRect.TopRight(); aPt.X()+=nWdt; aPt.Y()-=nWdt; break; in GetCornerGluePoint() 572 case 2: aPt=aRect.BottomRight(); aPt.X()+=nWdt; aPt.Y()+=nWdt; break; in GetCornerGluePoint() [all …]
|
H A D | svdmrkv.cxx | 1363 Point aPt(rPnt); in IsMarkedObjHit() local 1378 Point aPt(rPnt); in PickHandle() local 1456 Point aPt(rPnt); in MarkNextObj() local 1793 Point aPt(rPnt); in PickObj() local 1870 aHitRec.aPos=aPt; in PickObj() 1902 Point aPt(rPnt); in PickMarkedObj() local 1941 if (aPt.X()<aRect.Left()) nDist+=aRect.Left()-aPt.X(); in PickMarkedObj() 1942 if (aPt.X()>aRect.Right()) nDist+=aPt.X()-aRect.Right(); in PickMarkedObj() 1943 if (aPt.Y()<aRect.Top()) nDist+=aRect.Top()-aPt.Y(); in PickMarkedObj() 1944 if (aPt.Y()>aRect.Bottom()) nDist+=aPt.Y()-aRect.Bottom(); in PickMarkedObj() [all …]
|
H A D | svdsnpv.cxx | 310 Point aPt(rPnt); in GetSnapPos() local 311 SnapPos(aPt,pPV); in GetSnapPos() 312 return aPt; in GetSnapPos() 470 Point aPt(rPt); in CheckSnap() local 471 sal_uInt16 nRet=SnapPos(aPt,pPV); in CheckSnap() 472 aPt-=rPt; in CheckSnap() 475 if (Abs(aPt.X())<Abs(nBestXSnap)) { in CheckSnap() 476 nBestXSnap=aPt.X(); in CheckSnap() 479 nBestXSnap=aPt.X(); in CheckSnap() 486 nBestYSnap=aPt.Y(); in CheckSnap() [all …]
|
H A D | svdedxv.cxx | 1300 Point aPt(rMEvt.GetPosPixel()); in MouseButtonDown() local 1301 if (pWin!=NULL) aPt=pWin->PixelToLogic(aPt); in MouseButtonDown() 1302 else if (pTextEditWin!=NULL) aPt=pTextEditWin->PixelToLogic(aPt); in MouseButtonDown() 1332 Point aPt(rMEvt.GetPosPixel()); in MouseButtonUp() local 1333 if (pWin!=NULL) aPt=pWin->PixelToLogic(aPt); in MouseButtonUp() 1334 else if (pTextEditWin!=NULL) aPt=pTextEditWin->PixelToLogic(aPt); in MouseButtonUp() 1364 Point aPt(rMEvt.GetPosPixel()); in MouseMove() local 1365 if (pWin!=NULL) aPt=pWin->PixelToLogic(aPt); in MouseMove() 1366 else if (pTextEditWin!=NULL) aPt=pTextEditWin->PixelToLogic(aPt); in MouseMove() 1400 if (pWin!=NULL) aPt=pWin->PixelToLogic(aPt); in Command() [all …]
|
H A D | svdomeas.cxx | 781 Point aPt; in GetHdl() local 786 case 2: aPt=aPt1; break; in GetHdl() 787 case 3: aPt=aPt2; break; in GetHdl() 913 Point aPt(rDrag.GetNow()); in ImpEvalDrag() local 917 RotatePoint(aPt,aPt1,nSin,-nCos); in ImpEvalDrag() 939 long ndx=aPt.X()-aFix.X(); in ImpEvalDrag() 940 long ndy=aPt.Y()-aFix.Y(); in ImpEvalDrag() 947 aPt=aFix; in ImpEvalDrag() 948 aPt.X()+=ndx; in ImpEvalDrag() 949 aPt.Y()+=ndy; in ImpEvalDrag() [all …]
|
H A D | svdmrkv1.cxx | 347 Point aPt(pHdl->GetPos()); in ImpSetPointsRects() local 350 rR=Rectangle(aPt,aPt); in ImpSetPointsRects() 352 if (aPt.X()<rR.Left ()) rR.Left ()=aPt.X(); in ImpSetPointsRects() 353 if (aPt.X()>rR.Right ()) rR.Right ()=aPt.X(); in ImpSetPointsRects() 354 if (aPt.Y()<rR.Top ()) rR.Top ()=aPt.Y(); in ImpSetPointsRects() 355 if (aPt.Y()>rR.Bottom()) rR.Bottom()=aPt.Y(); in ImpSetPointsRects()
|
/aoo41x/main/vcl/os2/source/gdi/ |
H A D | salgdi.cxx | 416 POINTL aPt; in drawPixel() local 418 aPt.x = nX; in drawPixel() 448 POINTL aPt; in drawPixel() local 449 aPt.x = nX; in drawPixel() 466 POINTL aPt; in drawLine() local 467 aPt.x = nX1; in drawLine() 470 aPt.x = nX2; in drawLine() 479 POINTL aPt; in drawRect() local 497 aPt.x = nX; in drawRect() 868 aPt.x = 0; in drawEPS() [all …]
|
H A D | salgdi2.cxx | 150 POINTL aPt; in copyArea() local 153 aPt.x = 0; in copyArea() 154 aPt.y = 0; in copyArea() 252 aPt.x = nOffX-aPt.x; in copyArea() 253 aPt.y = nOffY-aPt.y; in copyArea() 696 POINTL aPt; in invert() local 698 aPt.x = nX; in invert() 699 aPt.y = TY( nY ); in invert() 727 POINTL aPt; in invert() local 729 aPt.x = nX; in invert() [all …]
|
/aoo41x/main/sd/source/ui/dlg/ |
H A D | animobjs.cxx | 107 Point aPt; in Paint() local 114 aPt.X() = ( aSize.Width() - aBmpSize.Width() ) / 2; in Paint() 116 aPt.Y() = ( aSize.Height() - aBmpSize.Height() ) / 2; in Paint() 118 aBitmapEx.Draw( this, aPt, aBmpSize ); in Paint() 765 Point aPt; in Resize() local 767 aPt.Y() = aDiffSize.Height(); in Resize() 795 aBtnStop.SetPosPixel( aBtnStop.GetPosPixel() + aPt ); in Resize() 796 aBtnPlay.SetPosPixel( aBtnPlay.GetPosPixel() + aPt ); in Resize() 797 aBtnLast.SetPosPixel( aBtnLast.GetPosPixel() + aPt ); in Resize() 1094 Point aPt; in CreateAnimObj() local [all …]
|
/aoo41x/main/sw/source/ui/uiview/ |
H A D | viewport.cxx | 332 Point aPt( rPt ); in SetVisArea() local 335 aPt = GetEditWin().LogicToPixel( aPt ); in SetVisArea() 336 aPt.X() -= aPt.X() % nTmp; in SetVisArea() 337 aPt.Y() -= aPt.Y() % nTmp; in SetVisArea() 338 aPt = GetEditWin().PixelToLogic( aPt ); in SetVisArea() 507 aPt.Y() -= nDiffY; in Scroll() 509 SetVisArea( aPt ); in Scroll() 525 aPt.Y() -= nDiffY; in Scroll() 527 SetVisArea( aPt ); in Scroll() 1306 aPt = AlignToPixel( aPt ); in UpdateScrollbars() [all …]
|
/aoo41x/main/sw/source/core/crsr/ |
H A D | crstrvl.cxx | 91 Point aPt( pCurCrsr->GetPtPos() ); in GotoNextNum() local 131 Point aPt( pCurCrsr->GetPtPos() ); in GotoPrevNum() local 459 Point aPt; in GotoNxtPrvTblFormula() local 479 &aPt, &rPos, sal_False ) ); in GotoNxtPrvTblFormula() 539 Point aPt; in GotoNxtPrvTOXMark() local 628 Point aPt; in lcl_MakeFldLst() local 738 Point aPt; in MoveFldType() local 1150 Point aPt( rPt ); in GetContentAtPos() local 1846 Point aPt( rPt ); in GetShadowCrsrPos() local 1872 Point aPt( rPt ); in SetShadowCrsrPos() local [all …]
|
H A D | swcrsr.cxx | 1407 Point aPt( *pPt ); in SelectWordWT() local 1408 pLayout->GetCrsrOfst( GetPoint(), aPt ); in SelectWordWT() 1614 Point aPt; in DoSetBidiLevelLeftRight() local 1753 Point aPt; in LeftRight() local 1820 Point aPt; in UpDown() local 1822 aPt = *pPt; in UpDown() 1833 aPt = aTmpRect.Pos(); in UpDown() 1836 aPt.Y() - pFrm->Frm().Top() : in UpDown() 1837 aPt.X() - pFrm->Frm().Left(); in UpDown() 1913 Point aPt; in LeftRightMargin() local [all …]
|
/aoo41x/main/basebmp/test/ |
H A D | cliptest.cxx | 71 const basegfx::B2IPoint aPt(0,0); in implTestPixelClip() local 73 rDevice->setPixel( aPt, aCol, DrawMode_PAINT, mpClipMask ); in implTestPixelClip() 75 rDevice->getPixel(aPt) == aBgCol); in implTestPixelClip() 127 const basegfx::B2IPoint aPt(0,10); in implTestFillClip() local 129 countPixel( rDevice, rDevice->getPixel(aPt) ) == 121-30); in implTestFillClip() 136 countPixel( rDevice, rDevice->getPixel(aPt) ) == 121); in implTestFillClip() 144 countPixel( rDevice, rDevice->getPixel(aPt) ) == 121-30); in implTestFillClip() 166 const basegfx::B2IPoint aPt(1,1); in implTestBmpClip() local 169 rDevice->getPixel(aPt) ) == 5); in implTestBmpClip() 199 const basegfx::B2IPoint aPt(1,1); in implTestMaskColorClip() local [all …]
|
H A D | basictest.cxx | 126 const basegfx::B2IPoint aPt(3,3); in testPixelFuncs() local 128 pDevice->setPixel( aPt, aCol, DrawMode_PAINT ); in testPixelFuncs() 130 pDevice->getPixel(aPt) == aCol); in testPixelFuncs() 194 pDevice->setPixel( aPt, aCol4, DrawMode_PAINT ); in testPixelFuncs() 196 pDevice->getPixel(aPt) == aCol4); in testPixelFuncs() 218 pDevice->setPixel( aPt, aCol4, DrawMode_PAINT ); in testPixelFuncs() 220 pDevice->getPixel(aPt) == aCol4); in testPixelFuncs() 240 pDevice->setPixel( aPt, aCol4, DrawMode_PAINT ); in testPixelFuncs() 242 pDevice->getPixel(aPt) == aCol4); in testPixelFuncs() 267 pDevice->setPixel( aPt, aCol4, DrawMode_PAINT ); in testPixelFuncs() [all …]
|
/aoo41x/main/filter/source/graphicfilter/eos2met/ |
H A D | eos2met.cxx | 179 void WritePoint(Point aPt); 212 void METMove(Point aPt); 216 void METLineAtCurPos(Point aPt); 1146 WritePoint(Point(aPt.X(),aPt.Y()+aSize.Height())); in METBitBlt() 1147 WritePoint(Point(aPt.X()+aSize.Width(),aPt.Y())); in METBitBlt() 1269 WritePoint(aPt); in METMove() 1320 WritePoint(aPt); in METLineAtCurPos() 1373 WritePoint(aPt); in METChrStr() 1901 aPt2 = aPt; in WriteOrders() 1916 METChrStr( aPt, aStr ); in WriteOrders() [all …]
|
/aoo41x/main/sw/source/ui/utlui/ |
H A D | shdwcrsr.cxx | 45 Point aPt( pWin->LogicToPixel( rPt )); in SetPos() local 47 if( aOldPt != aPt || nOldHeight != nHeight || nOldMode != nMode ) in SetPos() 52 DrawCrsr( aPt, nHeight, nMode ); in SetPos() 55 aOldPt = aPt; in SetPos() 111 Point aPt( aOldPt ); in GetRect() local 119 aPt.X() -= aSz.Width(); in GetRect() 122 aPt.X() -= aSz.Width(); in GetRect() 126 return pWin->PixelToLogic( Rectangle( aPt, aSz ) ); in GetRect()
|
/aoo41x/main/sw/source/core/frmedt/ |
H A D | fefly1.cxx | 902 const Point aPt( GetCrsrDocPos() ); in Insert() local 1530 Point aPt( pFly->Prt().Pos() ); in RequestObjectResize() local 1531 aPt += pFly->Frm().Pos(); in RequestObjectResize() 1534 aPt = rRect.Pos(); in RequestObjectResize() 1535 aPt.X() -= pFly->Prt().Left(); in RequestObjectResize() 1536 aPt.Y() -= pFly->Prt().Top(); in RequestObjectResize() 1696 Point aPt( rPt ); in IsURLGrfAtPos() local 1697 aPt -= pFly->Frm().Pos(); in IsURLGrfAtPos() 1699 aPt = GetOut()->LogicToPixel( in IsURLGrfAtPos() 1700 aPt, MapMode( MAP_TWIP ) ); in IsURLGrfAtPos() [all …]
|
H A D | fecopy.cxx | 358 Point aPt( rInsPt ); in CopyDrawSel() local 508 Point aPt( rInsPt ); in Copy() local 509 aPt -= rSttPt - pFly->Frm().Pos(); in Copy() 608 Point aPt( rInsPt ); in Copy() local 653 Point aPt( rInsPt ); in Copy() local 654 GetLayout()->GetCrsrOfst( &aPos, aPt ); in Copy() 990 Point aPt; in Paste() local 992 0, aPt, *this, aAnchor, aPt, sal_False ); in Paste() 1001 const Point aPt( GetCrsrDocPos() ); in Paste() local 1003 GetFrm( &aPt, sal_False ); in Paste() [all …]
|
/aoo41x/main/sd/source/ui/notes/ |
H A D | EditWindow.cxx | 549 Point aPt( aRect.TopRight() ); aPt.X() -= nTmp -1L; in IMPL_LINK_INLINE_END() local 550 mpVerticalScrollBar->SetPosSizePixel( aPt, Size(nTmp, aOut.Height() - nTmp)); in IMPL_LINK_INLINE_END() 552 aPt = aRect.BottomLeft(); aPt.Y() -= nTmp - 1L; in IMPL_LINK_INLINE_END() 553 mpHorizontalScrollBar->SetPosSizePixel( aPt, Size(aOut.Width() - nTmp, nTmp)); in IMPL_LINK_INLINE_END() 555 aPt.X() = mpHorizontalScrollBar->GetSizePixel().Width(); in IMPL_LINK_INLINE_END() 556 aPt.Y() = mpVerticalScrollBar->GetSizePixel().Height(); in IMPL_LINK_INLINE_END() 557 mpScrollBox->SetPosSizePixel(aPt, Size(nTmp, nTmp )); in IMPL_LINK_INLINE_END() 559 aRect.Right() = aPt.X() - 2; in IMPL_LINK_INLINE_END() 560 aRect.Bottom() = aPt.Y() - 2; in IMPL_LINK_INLINE_END()
|
/aoo41x/main/vcl/source/gdi/ |
H A D | outmap.cxx | 699 Point aPt; in ImplLogicToDevicePixel() local 714 aPt.X() += mnOutOffX; in ImplLogicToDevicePixel() 715 aPt.Y() += mnOutOffY; in ImplLogicToDevicePixel() 1011 MapMode aNewMapMode( MAP_RELATIVE, Point( -aPt.X(), -aPt.Y() ), aXF, aYF ); in SetRelativeMapMode() 1216 Point aPt; in LogicToPixel() local 1223 aPoly[i] = aPt; in LogicToPixel() 1424 Point aPt; in LogicToPixel() local 1431 aPoly[i] = aPt; in LogicToPixel() 1611 Point aPt; in PixelToLogic() local 1618 aPoly[i] = aPt; in PixelToLogic() [all …]
|
H A D | cvtsvm.cxx | 546 Point aPt, aPt1; in ImplConvertFromSVM1() local 575 rIStm >> aPt; in ImplConvertFromSVM1() 583 rIStm >> aPt; in ImplConvertFromSVM1() 584 rMtf.AddAction( new MetaPointAction( aPt ) ); in ImplConvertFromSVM1() 590 rIStm >> aPt >> aPt1; in ImplConvertFromSVM1() 735 rIStm >> aPt >> aPt1; in ImplConvertFromSVM1() 755 rIStm >> aPt >> aPt1; in ImplConvertFromSVM1() 891 rIStm >> aPt >> nIndex >> nLen >> nTmp; in ImplConvertFromSVM1() 987 rIStm >> aPt; in ImplConvertFromSVM1() 997 rIStm >> aPt >> aSz; in ImplConvertFromSVM1() [all …]
|
/aoo41x/main/vcl/win/source/window/ |
H A D | salframe.cxx | 2406 POINT aPt; in SetPointerPos() local 2407 aPt.x = (int)nX; in SetPointerPos() 2410 SetCursorPos( aPt.x, aPt.y ); in SetPointerPos() 3320 POINT aPt; in EndSetClipRegion() local 3321 aPt.x=0; in EndSetClipRegion() 3322 aPt.y=0; in EndSetClipRegion() 4220 POINT aPt; in UpdateFrameGeometry() local 4221 aPt.x=0; in UpdateFrameGeometry() 4222 aPt.y=0; in UpdateFrameGeometry() 5784 POINT aPt; in SalTestMouseLeave() local [all …]
|
/aoo41x/main/starmath/source/ |
H A D | edit.cxx | 546 Point aPt( aRect.TopRight() ); aPt.X() -= nTmp -1L; in IMPL_LINK_INLINE_END() local 547 pVScrollBar->SetPosSizePixel( aPt, Size(nTmp, aOut.Height() - nTmp)); in IMPL_LINK_INLINE_END() 549 aPt = aRect.BottomLeft(); aPt.Y() -= nTmp - 1L; in IMPL_LINK_INLINE_END() 550 pHScrollBar->SetPosSizePixel( aPt, Size(aOut.Width() - nTmp, nTmp)); in IMPL_LINK_INLINE_END() 552 aPt.X() = pHScrollBar->GetSizePixel().Width(); in IMPL_LINK_INLINE_END() 553 aPt.Y() = pVScrollBar->GetSizePixel().Height(); in IMPL_LINK_INLINE_END() 554 pScrollBox->SetPosSizePixel(aPt, Size(nTmp, nTmp )); in IMPL_LINK_INLINE_END() 556 aRect.Right() = aPt.X() - 2; in IMPL_LINK_INLINE_END() 557 aRect.Bottom() = aPt.Y() - 2; in IMPL_LINK_INLINE_END()
|
/aoo41x/main/filter/source/graphicfilter/idxf/ |
H A D | dxf2mtf.cxx | 458 Point aPt; in DrawTextEntity() local 472 aT.Transform( DXFVector( 0, 0, 0 ), aPt ); in DrawTextEntity() 473 pVirDev->DrawText( aPt, aUString ); in DrawTextEntity() 517 Point aPt; in DrawAttribEntity() local 531 aT.Transform( DXFVector( 0, 0, 0 ), aPt ); in DrawAttribEntity() 532 pVirDev->DrawText( aPt, aUString ); in DrawAttribEntity() 626 Point aPt; in DrawHatchEntity() local 628 aPtAry.push_back( aPt ); in DrawHatchEntity() 641 Point aPt; in DrawHatchEntity() local 643 aPtAry.push_back( aPt ); in DrawHatchEntity() [all …]
|