Home
last modified time | relevance | path

Searched refs:rect (Results 1 – 25 of 114) sorted by relevance

12345

/aoo42x/main/embedserv/source/embed/
H A Dtracker.cxx113 IntersectRect(&rect,&rect,lpRect); in DrawDragRect()
139 SetRectRgn(rgnInside,rect.left,rect.top,rect.right,rect.bottom); in DrawDragRect()
155 PatBlt(hDC,rect.left,rect.top,(rect.right-rect.left),(rect.bottom-rect.top),PATINVERT); in DrawDragRect()
166 PatBlt(hDC,rect.left, rect.top,(rect.right-rect.left),(rect.bottom-rect.top), PATINVERT); in DrawDragRect()
178 pt.x = rect->left;pt.y = rect->top; in TransformRect()
181 rect->left = pt.x; rect->top = pt.y; in TransformRect()
589 Rectangle(hDC,rect.left, rect.top, rect.right, rect.bottom); in Draw()
608 Rectangle(hDC,rect.left+1, rect.top+1, rect.right, rect.bottom); in Draw()
628 PatBlt(hDC,rect.right, rect.top, rectTrue.right-rect.right, in Draw()
686 rect.right = rect.left + size; in GetHandleRect()
[all …]
/aoo42x/test/testcommon/source/org/openoffice/test/vcl/widgets/
H A DVclControl.java72 Rectangle rect = getValidScreenRectangle(); in click() local
73 Tester.click((int) rect.x + x, (int) rect.y + y); in click()
78 Tester.doubleClick((int) rect.x + x, (int) rect.y + y); in doubleClick()
83 Tester.click((int)(rect.x + xPercent * rect.width), (int) (rect.y + yPercent * rect.height)); in click()
88 …Tester.doubleClick((int)(rect.x + xPercent * rect.width), (int) (rect.y + yPercent * rect.height)); in doubleClick()
93 Tester.rightClick((int) rect.x + x, (int) rect.y + y); in rightClick()
98 Tester.drag((int) rect.x + fromX, (int) rect.y + fromY, (int) rect.x + toX, (int) rect.y + toY); in drag()
303 Rectangle rect = getScreenRectangle();
305 rect = getScreenRectangle();
306 if (rect == null)
[all …]
/aoo42x/main/canvas/source/directx/
H A Ddx_surfacebitmap.cxx511 …uno::Sequence< sal_Int8 > aRes( (rect.X2-rect.X1)*(rect.Y2-rect.Y1)*4 ); // TODO(F1): Be format-ag… in getData()
516 aBmpData.Width = rect.X2-rect.X1; in getData()
517 aBmpData.Height = rect.Y2-rect.Y1; in getData()
543 sal_uInt32 nWidth = rect.X2-rect.X1; in getData()
544 sal_uInt32 nHeight = rect.Y2-rect.Y1; in getData()
574 …sal_uInt8 *pSrc = (sal_uInt8 *)((((BYTE *)aLockedRect.pBits)+(rect.Y1*aLockedRect.Pitch))+rect.X1); in getData()
603 aBmpData.Width = rect.X2-rect.X1; in setData()
604 aBmpData.Height = rect.Y2-rect.Y1; in setData()
627 sal_uInt32 nWidth = rect.X2-rect.X1; in setData()
628 sal_uInt32 nHeight = rect.Y2-rect.Y1; in setData()
[all …]
H A Ddx_bitmap.cxx113 const geometry::IntegerRectangle2D& rect ) in getData() argument
115 …uno::Sequence< sal_Int8 > aRes( (rect.X2-rect.X1)*(rect.Y2-rect.Y1)*4 ); // TODO(F1): Be format-ag… in getData()
117 const Gdiplus::Rect aRect( tools::gdiPlusRectFromIntegerRectangle2D( rect ) ); in getData()
120 aBmpData.Width = rect.X2-rect.X1; in getData()
121 aBmpData.Height = rect.Y2-rect.Y1; in getData()
148 const geometry::IntegerRectangle2D& rect ) in setData() argument
150 const Gdiplus::Rect aRect( tools::gdiPlusRectFromIntegerRectangle2D( rect ) ); in setData()
153 aBmpData.Width = rect.X2-rect.X1; in setData()
154 aBmpData.Height = rect.Y2-rect.Y1; in setData()
H A Ddx_9rm.cxx205 virtual void resize( const ::basegfx::B2IRange& rect );
406 RECT rect; in update() local
407 rect.left = std::max(sal_Int32(0),rDestPos.getX()); in update()
408 rect.top = std::max(sal_Int32(0),rDestPos.getY()); in update()
412 rect.right = std::min(maSize.getX(), in update()
414 rect.bottom = std::min(maSize.getY(), in update()
1007 void DXRenderModule::resize( const ::basegfx::B2IRange& rect ) in resize() argument
1016 if(maSize.getX() == static_cast<sal_Int32>(rect.getWidth()) && in resize()
1017 maSize.getY() == static_cast<sal_Int32>(rect.getHeight())) in resize()
1021 maSize.setX(static_cast<sal_Int32>(rect.getWidth())); in resize()
[all …]
/aoo42x/main/canvas/source/vcl/
H A Dcanvasbitmaphelper.cxx168 for( int y=rect.Y1; in getData()
174 for( int x=rect.X1; in getData()
186 for( int x=rect.X1; in getData()
248 for( y=rect.Y1; in setData()
261 for( x=rect.X1; in setData()
284 for( x=rect.X1; in setData()
306 for( x=rect.X1; in setData()
325 for( x=rect.X1; in setData()
354 for( x=rect.X1; in setData()
372 for( x=rect.X1; in setData()
[all …]
/aoo42x/main/filter/source/graphicfilter/ipict/
H A Dshape.cxx50 Rectangle contractRectangle(bool drawFrame, Rectangle const &rect, Size const &pSize) { in contractRectangle() argument
51 if (!drawFrame) return rect; in contractRectangle()
53 if (2*penSize > rect.Right()-rect.Left()) penSize = (rect.Right()-rect.Left()+1)/2; in contractRectangle()
54 if (2*penSize > rect.Bottom()-rect.Top()) penSize = (rect.Bottom()-rect.Top()+1)/2; in contractRectangle()
55 int const X[2] = L2I_ARY( rect.Left()+penSize/2, rect.Right()-(penSize+1)/2); in contractRectangle()
56 int const Y[2] = L2I_ARY( rect.Top()+penSize/2, rect.Bottom()-(penSize+1)/2); in contractRectangle()
142 Rectangle rect = PictReaderShapePrivate::contractRectangle(drawFrame, orig, pSize); in drawRectangle() local
143 double const X[2] = L2D_ARY( rect.Left(), rect.Right() ); in drawRectangle()
144 double const Y[2] = L2D_ARY( rect.Top(), rect.Bottom() ); in drawRectangle()
221 B2DRectangle rect(B2DPoint(X[0],Y[0]), B2DPoint(X[1],Y[1])); in drawRoundRectangle() local
[all …]
/aoo42x/main/fpicker/source/win32/filepicker/
H A DPreviewCtrl.cxx126 RECT rect; in _calcULCorner() local
127 GetClientRect( hwnd, &rect ); in _calcULCorner()
148 RECT rect; in _pictureSizeFitsWindowSize() local
149 GetClientRect( hwnd, &rect ); in _pictureSizeFitsWindowSize()
171 RECT rect; in _scalePictureSize() local
172 GetClientRect( hwnd, &rect ); in _scalePictureSize()
330 RECT rect; in getSize() local
333 theSize.m_cx = _getWidthRect( rect ); in getSize()
371 RECT rect; in getPos() local
375 ulCorner.x = rect.left; in getPos()
[all …]
H A Dhelppopupwindow.cxx242 RECT rect; in adjustWindowSize() local
243 calcWindowRect( &rect ); in adjustWindowSize()
251 rect.right, in adjustWindowSize()
252 rect.bottom, in adjustWindowSize()
255 *cx_new = rect.right; in adjustWindowSize()
256 *cy_new = rect.bottom; in adjustWindowSize()
315 RECT rect; in onPaint() local
368 rect.left = rc.left + OUTER_FRAME_WIDTH + INNER_FRAME_WIDTH + 1 + m_hMargins; in onPaint()
369 rect.top = rc.top + OUTER_FRAME_WIDTH + INNER_FRAME_WIDTH + 1 + m_vMargins / 2; in onPaint()
370rect.right = rc.right - SHADOW_WIDTH - OUTER_FRAME_WIDTH - INNER_FRAME_WIDTH - m_hMargins; in onPaint()
[all …]
/aoo42x/main/canvas/source/tools/
H A Dpage.cxx55 SurfaceRect rect(rSize); in allocateSpace() local
56 if(insert(rect)) in allocateSpace()
58 FragmentSharedPtr pFragment(new PageFragment(rect,this)); in allocateSpace()
68 SurfaceRect rect(pFragment->getSize()); in nakedFragment() local
69 if(insert(rect)) in nakedFragment()
98 const SurfaceRect &rect = (*it)->getRect(); in insert() local
99 const sal_Int32 x = rect.maPos.getX(); in insert()
100 const sal_Int32 y = rect.maPos.getY(); in insert()
103 const sal_Int32 w = rect.maSize.getX()+1; in insert()
104 const sal_Int32 h = rect.maSize.getY()+1; in insert()
/aoo42x/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/nativelib/windows/
H A Dnativeview.c138 RECT rect; in NativeViewWndProc() local
141 GetClientRect(hWnd, &rect); in NativeViewWndProc()
145 rect.left, in NativeViewWndProc()
146 rect.top, in NativeViewWndProc()
147 rect.right - rect.left, in NativeViewWndProc()
148 rect.bottom - rect.top, in NativeViewWndProc()
/aoo42x/main/embeddedobj/test/Container1/nativelib/
H A Dnativeview.c151 RECT rect;
154 GetClientRect(hWnd, &rect);
158 rect.left,
159 rect.top,
160 rect.right - rect.left,
161 rect.bottom - rect.top,
/aoo42x/main/bean/native/win32/
H A Dcom_sun_star_comp_beans_LocalOfficeWindow.c167 RECT rect; in OpenOfficeWndProc() local
170 GetClientRect(hWnd, &rect); in OpenOfficeWndProc()
174 rect.left, in OpenOfficeWndProc()
175 rect.top, in OpenOfficeWndProc()
176 rect.right - rect.left, in OpenOfficeWndProc()
177 rect.bottom - rect.top, in OpenOfficeWndProc()
/aoo42x/main/canvas/inc/canvas/base/
H A Ddoublebitmapbase.hxx77 …const ::com::sun::star::geometry::IntegerRectangle2D& rect ) throw (::com::sun::star::lang::Index… in getData()
81 verifyInput(rect, this); in getData()
82 verifyIndexRange(rect, getSize() ); in getData()
87 rect ); in getData()
92 …const ::com::sun::star::geometry::IntegerRectangle2D& rect ) throw (::com::sun::star::lang::Ill… in setData()
96 verifyInput(bitmapLayout, rect, this); in setData()
97 verifyIndexRange(rect, getSize() ); in setData()
104 BaseType::maCanvasHelper.setData( data, bitmapLayout, rect ); in setData()
H A Dfloatbitmapbase.hxx77 …const ::com::sun::star::geometry::IntegerRectangle2D& rect ) throw (::com::sun::star::lang::Index… in getData()
81 verifyInput(rect, in getData()
83 verifyIndexRange(rect, getSize() ); in getData()
88 rect ); in getData()
93 …const ::com::sun::star::geometry::IntegerRectangle2D& rect ) throw (::com::sun::star::lang::Ill… in setData()
97 verifyInput(bitmapLayout, rect, in setData()
99 verifyIndexRange(rect, getSize() ); in setData()
106 BaseType::maCanvasHelper.setData( data, bitmapLayout, rect ); in setData()
H A Dintegerbitmapbase.hxx77 …const ::com::sun::star::geometry::IntegerRectangle2D& rect ) throw (::com::sun::star::lang::IndexO… in getData()
79 tools::verifyArgs(rect, in getData()
82 tools::verifyIndexRange(rect, BaseType::getSize() ); in getData()
87 rect ); in getData()
92 …const ::com::sun::star::geometry::IntegerRectangle2D& rect ) throw (::com::sun::star::lang::Ille… in setData()
94 tools::verifyArgs(bitmapLayout, rect, in setData()
97 tools::verifyIndexRange(rect, BaseType::getSize() ); in setData()
104 BaseType::maCanvasHelper.setData( data, bitmapLayout, rect ); in setData()
/aoo42x/test/testcommon/source/org/openoffice/test/common/
H A DGraphicsUtil.java173 public static Rectangle findRectangle(Rectangle rect, int color) { in findRectangle() argument
174 return findRectangle(screenshot(rect), color); in findRectangle()
289 public static boolean isFilledWith(int color, Rectangle rect) { in isFilledWith() argument
290 BufferedImage capture = screenshot(rect); in isFilledWith()
309 public static Point findImage(BufferedImage image, Rectangle rect) { in findImage() argument
310 BufferedImage capture = screenshot(rect); in findImage()
337 public static Point findColor(int color, Rectangle rect) { in findColor() argument
338 BufferedImage capture = screenshot(rect); in findColor()
/aoo42x/main/vcl/aqua/source/gdi/
H A Daquaprintview.mm68 -(void)drawRect: (NSRect)rect
70 NSPoint aPoint = [self locationOfPrintRect: rect];
71 …mpInfoPrinter->setStartPageOffset( static_cast<int>(rect.origin.x), static_cast<int>(rect.origin.y…
73 int nPage = (int)(aPaperSize.width * rect.origin.y + rect.origin.x);
/aoo42x/main/scripting/examples/java/MemoryUsage/
H A DMemoryUsage.java103 Rectangle rect = new Rectangle(); in addChart() local
104 rect.X = 500; in addChart()
105 rect.Y = 3000; in addChart()
106 rect.Width = 10000; in addChart()
107 rect.Height = 8000; in addChart()
127 charts.addNewByName("Example", rect, addr, false, true); in addChart()
/aoo42x/main/vcl/unx/kde4/
H A DKDESalGraphics.cxx166 option->rect = image->rect(); in draw()
175 option->rect = image->rect(); in draw()
177 option->rect.adjust( nAdjust, nAdjust, -nAdjust, -nAdjust ); in draw()
186 option->rect = image->rect(); in draw()
343 option.rect = QRect(0, 0, widgetRect.width(), widgetRect.height()); in drawNativeControl()
539 option.rect = QRect(0, 0, widgetRect.width(), widgetRect.height()); in drawNativeControl()
668 cbo.rect = QRect(0, 0, contentRect.width(), contentRect.height()); in getNativeControlRegion()
716 sbo.rect = QRect(0, 0, contentRect.width(), contentRect.height()); in getNativeControlRegion()
/aoo42x/test/testassistant/src/org/openoffice/test/assistant/views/
H A DControlInfo.java84 java.awt.Rectangle rect = vclControl.getScreenRectangle(); in shot()
87 rectangle = new Rectangle(rect.x, rect.y, rect.width, rect.height); in shot()
/aoo42x/main/vcl/test/
H A Dcanvasbitmaptest.cxx480 … const geometry::IntegerRectangle2D& rect ) throw (lang::IndexOutOfBoundsException, in getData() argument
483 test( rect.X1 >= 0, "X1 within bounds" ); in getData()
484 test( rect.Y1 >= 0, "Y1 within bounds" ); in getData()
485 test( rect.X2 <= maSize.Width, "X2 within bounds" ); in getData()
486 test( rect.Y2 <= maSize.Height, "Y2 within bounds" ); in getData()
490 const sal_Int32 nWidth = rect.X2-rect.X1; in getData()
491 const sal_Int32 nHeight = rect.Y2-rect.Y1; in getData()
514 pOut[ y*nScanlineLen + 4*x ] = sal_Int8(rect.X1); in getData()
515 pOut[ y*nScanlineLen + 4*x + 1 ] = sal_Int8(rect.Y2); in getData()
517 pOut[ y*nScanlineLen + 4*x + 3 ] = sal_Int8(rect.Y1); in getData()
/aoo42x/main/qadevOOo/tests/java/mod/_sc/
H A DScAccessibleDocument.java109 Rectangle rect = xDocWin.getPosSize(); in createTestEnvironment()
110 … xDocWin.setPosSize(rect.X,rect.Y,rect.Height,rect.Width-10,com.sun.star.awt.PosSize.POSSIZE); in createTestEnvironment()
/aoo42x/main/qadevOOo/tests/java/mod/_sch/
H A DAccessibleDocumentView.java82 Rectangle rect = xDocWin.getPosSize(); in createTestEnvironment()
84 xDocWin.setPosSize(rect.X,rect.Y,rect.Width,rect.Height, in createTestEnvironment()
/aoo42x/main/scripting/examples/beanshell/MemoryUsage/
H A Dmemusage.bsh76 rect = new Rectangle();
77 rect.X = 500;
78 rect.Y = 3000;
79 rect.Width = 10000;
80 rect.Height = 8000;
96 charts.addNewByName("Example", rect, addr, false, true);

Completed in 345 milliseconds

12345