/aoo42x/main/canvas/source/tools/ |
H A D | surfacerect.hxx | 66 const sal_Int32 y2(maPos.getY()+maSize.getY()); in pointInside() local 70 if(py >= y2) return false; in pointInside() 80 const sal_Int32 y2(maPos.getY()+maSize.getY()); in hLineIntersect() local 82 if(ly >= y2) return false; in hLineIntersect() 94 const sal_Int32 y2(maPos.getY()+maSize.getY()); in vLineIntersect() local 98 if((ly1 >= y2) && (ly2 >= y2)) return false; in vLineIntersect() 110 if(r.hLineIntersect(x1,x2,y2)) return true; in intersection() 111 if(r.vLineIntersect(x1,y1,y2)) return true; in intersection() 112 if(r.vLineIntersect(x2,y1,y2)) return true; in intersection() 124 if(!(r.pointInside(x2,y2))) return false; in inside() [all …]
|
H A D | surface.cxx | 367 const double y2(y1+h); in drawWithClip() local 368 const ::basegfx::B2DRectangle aSurfaceClipRect(x1,y1,x2,y2); in drawWithClip()
|
/aoo42x/main/svtools/source/filter/ |
H A D | sgvmain.cxx | 479 if (y1>y2) { i=y1; y1=y2; y2=i; } in DrawSlideRect() 484 rOut.DrawRect(Rectangle(x1,y1,x2,y2)); in DrawSlideRect() 491 while (i<=y2) { in DrawSlideRect() 501 rOut.DrawRect(Rectangle(x1,i0,x2,y2)); in DrawSlideRect() 510 rOut.DrawRect(Rectangle(i0,y1,i-1,y2)); in DrawSlideRect() 516 rOut.DrawRect(Rectangle(i0,y1,x2,y2)); in DrawSlideRect() 525 cy=(y1+y2) /2; in DrawSlideRect() 527 dy=y2-y1+1; in DrawSlideRect() 656 sal_Int16 y2=cy+ry; in DrawSlideCirc() local 667 rOut.DrawEllipse(Rectangle(x1,y1,x2,y2)); in DrawSlideCirc() [all …]
|
H A D | filter.cxx | 556 short y1,x1,y2,x2; in ImpPeekGraphicFormat() local 564 rStream >> y1 >> x1 >> y2 >> x2; in ImpPeekGraphicFormat() 567 if (x1 > x2 || y1 > y2 || // bad bdbox in ImpPeekGraphicFormat() 568 (x1 == x2 && y1 == y2) || // 1 pixel picture in ImpPeekGraphicFormat() 569 x2-x1 > 2048 || y2-y1 > 2048 ) // picture abnormally big in ImpPeekGraphicFormat()
|
/aoo42x/main/toolkit/source/awt/ |
H A D | vclxgraphics.cxx | 389 void VCLXGraphics::drawLine( sal_Int32 x1, sal_Int32 y1, sal_Int32 x2, sal_Int32 y2 ) throw(uno::Ru… in drawLine() argument 396 mpOutputDevice->DrawLine( Point( x1, y1 ), Point( x2, y2 ) ); in drawLine() 471 …dth, sal_Int32 height, sal_Int32 x1, sal_Int32 y1, sal_Int32 x2, sal_Int32 y2 ) throw(uno::Runtime… in drawArc() argument 478 …ce->DrawArc( Rectangle( Point( x, y ), Size( width, height ) ), Point( x1, y1 ), Point( x2, y2 ) ); in drawArc() 482 …dth, sal_Int32 height, sal_Int32 x1, sal_Int32 y1, sal_Int32 x2, sal_Int32 y2 ) throw(uno::Runtime… in drawPie() argument 489 …ce->DrawPie( Rectangle( Point( x, y ), Size( width, height ) ), Point( x1, y1 ), Point( x2, y2 ) ); in drawPie() 493 …dth, sal_Int32 height, sal_Int32 x1, sal_Int32 y1, sal_Int32 x2, sal_Int32 y2 ) throw(uno::Runtime… in drawChord() argument 500 …->DrawChord( Rectangle( Point( x, y ), Size( width, height ) ), Point( x1, y1 ), Point( x2, y2 ) ); in drawChord()
|
/aoo42x/main/filter/source/graphicfilter/ipict/ |
H A D | ipict.cxx | 1079 short y1,x1,y2,x2; in ReadHeader() local 1133 *pPict >> y1 >> x1 >> y2 >> x2; // Rahmen-Rechteck des Bildes in ReadHeader() 1134 if (x1 > x2 || y1 > y2) continue; // bad bdbox in ReadHeader() 1135 if (x1 < -2048 || x2 > 2048 || y1 < -2048 || y2 > 2048 || // origin|dest is very small|large in ReadHeader() 1136 (x1 == x2 && y1 == y2) ) // 1 pixel pict is dubious in ReadHeader() 1138 else if (x2 < x1+8 || y2 < y1+8) // a little dubious in ReadHeader() 1141 aBoundingRect=Rectangle( x1,y1, x2, y2 ); in ReadHeader() 1183 *pPict >> y1 >> x1 >> y2 >> x2; // reading the optimal bounding rect in ReadHeader() 1184 if (x1 > x2 || y1 > y2) continue; // bad bdbox in ReadHeader() 1193 aBoundingRect=Rectangle( x1,y1, x2, y2 ); in ReadHeader()
|
/aoo42x/main/svx/source/svdraw/ |
H A D | svdpagv.cxx | 583 long y2=GetPage()->GetHgt()-GetPage()->GetLwrBorder()-1+nWrY; in DrawPageViewGrid() local 597 y2=rGF.GetUserArea().Bottom(); in DrawPageViewGrid() 608 if (y2>rRect.Bottom()+nY1Pix) y2=rRect.Bottom()+nY1Pix; in DrawPageViewGrid() 626 if( x1 <= x2 && y1 <= y2 ) in DrawPageViewGrid() 640 Rectangle( xFinOrg + (a * nx2) + nPointOffset, yBigOrg, x2, y2 ), in DrawPageViewGrid() 665 Rectangle( xBigOrg, yFinOrg + (a * ny2) + nPointOffset, x2, y2 ), in DrawPageViewGrid()
|
/aoo42x/main/filter/source/graphicfilter/ios2met/ |
H A D | ios2met.cxx | 1022 double x1,y1,x2,y2,x3,y3,p,q,cx,cy,ncx,ncy,r,rx,ry,w1,w3; in ReadArc() local 1031 x2=aP2.X(); y2=aP2.Y(); in ReadArc() 1035 ncy=2*p*p*((y3-y1)*(x2-x1)-(y1-y2)*(x1-x3)); in ReadArc() 1044 p*p*((y3*y3-y1*y1)*(x2-x1)+(y2*y2-y1*y1)*(x1-x3)) ) / ncy; in ReadArc() 1045 cx=( q*q*(x2*x2-x1*x1)+p*p*(y2*y2-y1*y1)+cy*2*p*p*(y1-y2) ) / ncx; in ReadArc() 2090 long x1,y1,x2,y2,nt,xr,yr; in ReadDsc() local 2123 y2=ReadCoord(b32); in ReadDsc() 2132 if (y1>y2) in ReadDsc() 2135 y1=y2; in ReadDsc() 2136 y2=nt; in ReadDsc() [all …]
|
/aoo42x/main/basebmp/inc/basebmp/ |
H A D | linerenderer.hxx | 82 const sal_Int32 y2 = rPt2.getY(); in renderLine() local 94 sal_Int32 ady = y2 - y1; in renderLine() 153 if( ys == y2 ) in renderLine()
|
H A D | clippedlinerenderer.hxx | 229 const sal_Int32 y2 = aPt2.getY(); in renderClippedLine() local 241 sal_Int32 ady = y2 - y1; in renderClippedLine() 334 prepareClip(y1, y2, x1, ady, adx, ys, xs, sy, sx, in renderClippedLine()
|
/aoo42x/main/sdext/source/pdfimport/xpdfwrapper/ |
H A D | pdfioutdev_gpl.cxx | 483 double x1,x2,y1,y2; in processLink() local 484 link->getRect( &x1, &y1, &x2, &y2 ); in processLink() 497 normalize(y2), in processLink() 764 double x2(0.0), y2(0.0); in drawChar() local 767 &x2, &y2 ); in drawChar() 770 y += y2*fFontSize; in drawChar()
|
/aoo42x/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/accessibility/ |
H A D | WindowsAccessBridgeAdapter.java | 252 int x2 = 0; int y2 = 0; in PopupMenuProxy() local 277 if (p.y + d.height > y2) { in PopupMenuProxy() 278 y2 = p.y + d.height; in PopupMenuProxy() 287 height = y2 - y; in PopupMenuProxy()
|
/aoo42x/main/basegfx/inc/basegfx/range/ |
H A D | b2ibox.hxx | 57 sal_Int32 y2) : in B2IBox() argument 62 maRangeY.expand(y2); in B2IBox()
|
H A D | b2irange.hxx | 57 sal_Int32 y2) in B2IRange() argument 62 maRangeY.expand(y2); in B2IRange()
|
H A D | b2drange.hxx | 60 double y2) in B2DRange() argument 65 maRangeY.expand(y2); in B2DRange()
|
H A D | b3ibox.hxx | 58 sal_Int32 y2, in B3IBox() argument 65 maRangeY.expand(y2); in B3IBox()
|
H A D | b3irange.hxx | 60 sal_Int32 y2, in B3IRange() argument 67 maRangeY.expand(y2); in B3IRange()
|
H A D | b3drange.hxx | 63 double y2, in B3DRange() argument 70 maRangeY.expand(y2); in B3DRange()
|
/aoo42x/main/vcl/source/fontsubset/ |
H A D | sft.cxx | 90 int x2, y2; member 95 x2( 0 ), y2( 0 ), in PSPathElement() 887 int x0 = 0, y0 = 0, x1 = 0, y1 = 0, x2, y2, curx, cury; in BSplineToPSPath() local 941 p.y2 = y1 + (cury - y1 + 1) / 3; in BSplineToPSPath() 963 y2 = (y1 + cury + 1) / 2; in BSplineToPSPath() 968 p.y2 = y1 + (y2 - y1 + 1) / 3; in BSplineToPSPath() 970 p.y3 = y2; in BSplineToPSPath() 972 x0 = x2; y0 = y2; in BSplineToPSPath() 2120 …, XUnits(UPEm, path[j].y1), XUnits(UPEm, path[j].x2), XUnits(UPEm, path[j].y2), XUnits(UPEm, path[… in CreateT3FromTTGlyphs()
|
/aoo42x/main/reportdesign/source/filter/xml/ |
H A D | xmlExport.cxx | 608 sal_Int32 y2 = 0; in exportSectionAutoStyle() local 631 y2 = (::std::find(aRowPos.begin(),aRowPos.end(),nPos) - aRowPos.begin()); in exportSectionAutoStyle() 635 while(yi < y2 && !isOverlap) // find overlapping controls in exportSectionAutoStyle() 652 while(yi < y2) in exportSectionAutoStyle() 664 if (x2 - x1 != 0 && y2 - y1 != 0) in exportSectionAutoStyle() 671 sal_Int32 nRowSpan = y2 - y1; in exportSectionAutoStyle()
|
/aoo42x/main/odk/examples/java/Spreadsheet/ |
H A D | SCalc.java | 379 public static void chgbColor( int x1, int y1, int x2, int y2, in chgbColor() argument 384 xCR = TT.getCellRangeByPosition(x1,y1,x2,y2); in chgbColor()
|
/aoo42x/main/sc/source/filter/inc/ |
H A D | scflt.hxx | 238 sal_Int16 y2; member 447 sal_Int16 y2; member
|
/aoo42x/main/extensions/source/scanner/ |
H A D | grid.cxx | 214 void GridWindow::drawLine( double x1, double y1, double x2, double y2 ) in drawLine() argument 216 DrawLine( transform( x1, y1 ), transform( x2, y2 ) ); in drawLine()
|
H A D | grid.hxx | 140 void drawLine( double x1, double y1, double x2, double y2 );
|
/aoo42x/main/svl/source/numbers/ |
H A D | zformat.cxx | 2295 sal_uLong y2 = 0; in GetOutputString() local 2327 y2 = y1 / nGgt; in GetOutputString() 2328 if (x2*y0 - x0*y2 == 1 || y1 <= 1) // Test, ob x2/y2 in GetOutputString() 2337 y1 = y2; in GetOutputString() 2345 sal_uLong y2 = ((y0+nBasis)/y1)*y1 - y0; in GetOutputString() local 2350 y1 = y2; in GetOutputString()
|