Home
last modified time | relevance | path

Searched refs:frameBounds (Results 1 – 25 of 84) sorted by relevance

1234

/dports/graphics/aseprite/aseprite-1.2.9/src/app/commands/
H A Dcmd_import_sprite_sheet.cpp314 gfx::Rect frameBounds = window.frameBounds(); in onExecute() local
341 for (int x=frameBounds.x; x+frameBounds.w<=widthStop; x += frameBounds.w) { in onExecute()
342 tileRects.push_back(gfx::Rect(x, frameBounds.y, frameBounds.w, frameBounds.h)); in onExecute()
346 for (int y=frameBounds.y; y+frameBounds.h<=heightStop; y += frameBounds.h) { in onExecute()
347 tileRects.push_back(gfx::Rect(frameBounds.x, y, frameBounds.w, frameBounds.h)); in onExecute()
351 for (int y=frameBounds.y; y+frameBounds.h<=heightStop; y += frameBounds.h) { in onExecute()
352 for (int x=frameBounds.x; x+frameBounds.w<=widthStop; x += frameBounds.w) { in onExecute()
353 tileRects.push_back(gfx::Rect(x, y, frameBounds.w, frameBounds.h)); in onExecute()
358 for (int x=frameBounds.x; x+frameBounds.w<=sprite->width(); x += frameBounds.w) { in onExecute()
359 for (int y=frameBounds.y; y+frameBounds.h<=sprite->height(); y += frameBounds.h) { in onExecute()
[all …]
/dports/graphics/aseprite/aseprite-1.2.9/src/app/file/
H A Dgif_format.cpp173 frameBounds.x+frameBounds.w-1, in process_disposal_method()
174 frameBounds.y+frameBounds.h-1, in process_disposal_method()
396 Image::create(IMAGE_INDEXED, frameBounds.w, frameBounds.h)); in readFrameIndexedImage()
607 frameImage, gfx::Rect(0, 0, frameBounds.w, frameBounds.h)); in compositeIndexedImageToIndexed()
634 frameImage, gfx::Rect(0, 0, frameBounds.w, frameBounds.h)); in compositeIndexedImageToRgb()
1094 return frameBounds; in calculateFrameBounds()
1128 prevNext.w*prevNext.h < frameBounds.w*frameBounds.h) { in calculateBestDisposalMethod()
1134 frameBounds.x, frameBounds.y, frameBounds.w, frameBounds.h, in calculateBestDisposalMethod()
1189 frameImage.get(), gfx::Rect(0, 0, frameBounds.w, frameBounds.h)); in writeImage()
1270 frameBounds.x, frameBounds.y, in writeImage()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/awt/Mouse/MouseDragEvent/
H A DMouseDraggedTest.java39 private static Rectangle frameBounds; field in MouseDraggedTest
50 SwingUtilities.invokeAndWait(() -> frameBounds = frame.getBounds()); in main()
68 int x1 = frameBounds.x + frameBounds.width / 4; in testMouseDrag()
69 int y1 = frameBounds.y + frameBounds.height / 4; in testMouseDrag()
70 int x2 = frameBounds.x + frameBounds.width / 2; in testMouseDrag()
71 int y2 = frameBounds.y + frameBounds.height / 2; in testMouseDrag()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/awt/Mouse/MouseDragEvent/
H A DMouseDraggedTest.java39 private static Rectangle frameBounds; field in MouseDraggedTest
50 SwingUtilities.invokeAndWait(() -> frameBounds = frame.getBounds()); in main()
68 int x1 = frameBounds.x + frameBounds.width / 4; in testMouseDrag()
69 int y1 = frameBounds.y + frameBounds.height / 4; in testMouseDrag()
70 int x2 = frameBounds.x + frameBounds.width / 2; in testMouseDrag()
71 int y2 = frameBounds.y + frameBounds.height / 2; in testMouseDrag()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/awt/Mouse/MouseDragEvent/
H A DMouseDraggedTest.java39 private static Rectangle frameBounds; field in MouseDraggedTest
50 SwingUtilities.invokeAndWait(() -> frameBounds = frame.getBounds()); in main()
68 int x1 = frameBounds.x + frameBounds.width / 4; in testMouseDrag()
69 int y1 = frameBounds.y + frameBounds.height / 4; in testMouseDrag()
70 int x2 = frameBounds.x + frameBounds.width / 2; in testMouseDrag()
71 int y2 = frameBounds.y + frameBounds.height / 2; in testMouseDrag()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/awt/Mouse/MouseDragEvent/
H A DMouseDraggedTest.java39 private static Rectangle frameBounds; field in MouseDraggedTest
50 SwingUtilities.invokeAndWait(() -> frameBounds = frame.getBounds()); in main()
68 int x1 = frameBounds.x + frameBounds.width / 4; in testMouseDrag()
69 int y1 = frameBounds.y + frameBounds.height / 4; in testMouseDrag()
70 int x2 = frameBounds.x + frameBounds.width / 2; in testMouseDrag()
71 int y2 = frameBounds.y + frameBounds.height / 2; in testMouseDrag()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/awt/Mouse/MouseDragEvent/
H A DMouseDraggedTest.java39 private static Rectangle frameBounds; field in MouseDraggedTest
50 SwingUtilities.invokeAndWait(() -> frameBounds = frame.getBounds()); in main()
68 int x1 = frameBounds.x + frameBounds.width / 4; in testMouseDrag()
69 int y1 = frameBounds.y + frameBounds.height / 4; in testMouseDrag()
70 int x2 = frameBounds.x + frameBounds.width / 2; in testMouseDrag()
71 int y2 = frameBounds.y + frameBounds.height / 2; in testMouseDrag()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/awt/Mouse/MouseDragEvent/
H A DMouseDraggedTest.java39 private static Rectangle frameBounds; field in MouseDraggedTest
50 SwingUtilities.invokeAndWait(() -> frameBounds = frame.getBounds()); in main()
68 int x1 = frameBounds.x + frameBounds.width / 4; in testMouseDrag()
69 int y1 = frameBounds.y + frameBounds.height / 4; in testMouseDrag()
70 int x2 = frameBounds.x + frameBounds.width / 2; in testMouseDrag()
71 int y2 = frameBounds.y + frameBounds.height / 2; in testMouseDrag()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/awt/Mouse/MouseDragEvent/
H A DMouseDraggedTest.java39 private static Rectangle frameBounds; field in MouseDraggedTest
50 SwingUtilities.invokeAndWait(() -> frameBounds = frame.getBounds()); in main()
68 int x1 = frameBounds.x + frameBounds.width / 4; in testMouseDrag()
69 int y1 = frameBounds.y + frameBounds.height / 4; in testMouseDrag()
70 int x2 = frameBounds.x + frameBounds.width / 2; in testMouseDrag()
71 int y2 = frameBounds.y + frameBounds.height / 2; in testMouseDrag()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/awt/Mouse/MouseDragEvent/
H A DMouseDraggedTest.java39 private static Rectangle frameBounds; field in MouseDraggedTest
50 SwingUtilities.invokeAndWait(() -> frameBounds = frame.getBounds()); in main()
68 int x1 = frameBounds.x + frameBounds.width / 4; in testMouseDrag()
69 int y1 = frameBounds.y + frameBounds.height / 4; in testMouseDrag()
70 int x2 = frameBounds.x + frameBounds.width / 2; in testMouseDrag()
71 int y2 = frameBounds.y + frameBounds.height / 2; in testMouseDrag()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/java/awt/Mouse/MouseDragEvent/
H A DMouseDraggedTest.java38 private static Rectangle frameBounds; field in MouseDraggedTest
49 SwingUtilities.invokeAndWait(() -> frameBounds = frame.getBounds()); in main()
67 int x1 = frameBounds.x + frameBounds.width / 4; in testMouseDrag()
68 int y1 = frameBounds.y + frameBounds.height / 4; in testMouseDrag()
69 int x2 = frameBounds.x + frameBounds.width / 2; in testMouseDrag()
70 int y2 = frameBounds.y + frameBounds.height / 2; in testMouseDrag()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/java/awt/Mouse/MouseDragEvent/
H A DMouseDraggedTest.java38 private static Rectangle frameBounds; field in MouseDraggedTest
49 SwingUtilities.invokeAndWait(() -> frameBounds = frame.getBounds()); in main()
67 int x1 = frameBounds.x + frameBounds.width / 4; in testMouseDrag()
68 int y1 = frameBounds.y + frameBounds.height / 4; in testMouseDrag()
69 int x2 = frameBounds.x + frameBounds.width / 2; in testMouseDrag()
70 int y2 = frameBounds.y + frameBounds.height / 2; in testMouseDrag()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/java/awt/MouseInfo/
H A DJContainerMousePositionTest.java68 AtomicReference<Rectangle> frameBounds = new AtomicReference<>(); in main() local
71 frameBounds.set(frame1.getBounds()); in main()
76 robot.mouseMove(frameBounds.get().x + button1Size.get().width / 2, in main()
77 frameBounds.get().y + button1Size.get().height / 2); in main()
97 robot.mouseMove(frameBounds.get().x + frameBounds.get().width + 10, in main()
98 frameBounds.get().y + frameBounds.get().height + 10); in main()
110 robot.mouseMove(frameBounds.get().x + centerC4.get().x, in main()
111 frameBounds.get().y + centerC4.get().y); in main()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/java/awt/MouseInfo/
H A DJContainerMousePositionTest.java68 AtomicReference<Rectangle> frameBounds = new AtomicReference<>(); in main() local
71 frameBounds.set(frame1.getBounds()); in main()
76 robot.mouseMove(frameBounds.get().x + button1Size.get().width / 2, in main()
77 frameBounds.get().y + button1Size.get().height / 2); in main()
97 robot.mouseMove(frameBounds.get().x + frameBounds.get().width + 10, in main()
98 frameBounds.get().y + frameBounds.get().height + 10); in main()
110 robot.mouseMove(frameBounds.get().x + centerC4.get().x, in main()
111 frameBounds.get().y + centerC4.get().y); in main()
/dports/games/jin/jin-2.14.1/src/free/jin/ui/
H A DAbstractUiProvider.java257 Rectangle frameBounds = prefs.getRect(prefNamePrefix + "bounds", realDefaultBounds); in restoreFrameGeometry() local
258 frameBounds = frameBoundsOk(screenSize, frameBounds) ? frameBounds : realDefaultBounds; in restoreFrameGeometry()
259 frame.setBounds(frameBounds); in restoreFrameGeometry()
305 protected boolean frameBoundsOk(Dimension screenSize, Rectangle frameBounds){ in frameBoundsOk() argument
306 if (frameBounds.x + frameBounds.width < 50) in frameBoundsOk()
308 if (frameBounds.y < -10) in frameBoundsOk()
310 if (frameBounds.width < 30) in frameBoundsOk()
312 if (frameBounds.height < 40) in frameBoundsOk()
314 if (frameBounds.x > screenSize.width - 10) in frameBoundsOk()
316 if (frameBounds.y > screenSize.height - 20) in frameBoundsOk()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/awt/MouseInfo/
H A DJContainerMousePositionTest.java69 AtomicReference<Rectangle> frameBounds = new AtomicReference<>(); in main() local
73 frameBounds.set(frame1.getBounds()); in main()
79 robot.mouseMove(frameBounds.get().x + frameInsets.get().left + in main()
81 frameBounds.get().y + frameInsets.get().top + in main()
102 robot.mouseMove(frameBounds.get().x + frameBounds.get().width + 10, in main()
103 frameBounds.get().y + frameBounds.get().height + 10); in main()
115 robot.mouseMove(frameBounds.get().x + frameInsets.get().left + in main()
117 frameBounds.get().y + frameInsets.get().top + in main()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/awt/MouseInfo/
H A DJContainerMousePositionTest.java69 AtomicReference<Rectangle> frameBounds = new AtomicReference<>(); in main() local
73 frameBounds.set(frame1.getBounds()); in main()
79 robot.mouseMove(frameBounds.get().x + frameInsets.get().left + in main()
81 frameBounds.get().y + frameInsets.get().top + in main()
102 robot.mouseMove(frameBounds.get().x + frameBounds.get().width + 10, in main()
103 frameBounds.get().y + frameBounds.get().height + 10); in main()
115 robot.mouseMove(frameBounds.get().x + frameInsets.get().left + in main()
117 frameBounds.get().y + frameInsets.get().top + in main()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/awt/MouseInfo/
H A DJContainerMousePositionTest.java69 AtomicReference<Rectangle> frameBounds = new AtomicReference<>(); in main() local
73 frameBounds.set(frame1.getBounds()); in main()
79 robot.mouseMove(frameBounds.get().x + frameInsets.get().left + in main()
81 frameBounds.get().y + frameInsets.get().top + in main()
102 robot.mouseMove(frameBounds.get().x + frameBounds.get().width + 10, in main()
103 frameBounds.get().y + frameBounds.get().height + 10); in main()
115 robot.mouseMove(frameBounds.get().x + frameInsets.get().left + in main()
117 frameBounds.get().y + frameInsets.get().top + in main()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/awt/MouseInfo/
H A DJContainerMousePositionTest.java69 AtomicReference<Rectangle> frameBounds = new AtomicReference<>(); in main() local
73 frameBounds.set(frame1.getBounds()); in main()
79 robot.mouseMove(frameBounds.get().x + frameInsets.get().left + in main()
81 frameBounds.get().y + frameInsets.get().top + in main()
102 robot.mouseMove(frameBounds.get().x + frameBounds.get().width + 10, in main()
103 frameBounds.get().y + frameBounds.get().height + 10); in main()
115 robot.mouseMove(frameBounds.get().x + frameInsets.get().left + in main()
117 frameBounds.get().y + frameInsets.get().top + in main()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/awt/MouseInfo/
H A DJContainerMousePositionTest.java69 AtomicReference<Rectangle> frameBounds = new AtomicReference<>(); in main() local
73 frameBounds.set(frame1.getBounds()); in main()
79 robot.mouseMove(frameBounds.get().x + frameInsets.get().left + in main()
81 frameBounds.get().y + frameInsets.get().top + in main()
102 robot.mouseMove(frameBounds.get().x + frameBounds.get().width + 10, in main()
103 frameBounds.get().y + frameBounds.get().height + 10); in main()
115 robot.mouseMove(frameBounds.get().x + frameInsets.get().left + in main()
117 frameBounds.get().y + frameInsets.get().top + in main()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/awt/MouseInfo/
H A DJContainerMousePositionTest.java69 AtomicReference<Rectangle> frameBounds = new AtomicReference<>(); in main() local
73 frameBounds.set(frame1.getBounds()); in main()
79 robot.mouseMove(frameBounds.get().x + frameInsets.get().left + in main()
81 frameBounds.get().y + frameInsets.get().top + in main()
102 robot.mouseMove(frameBounds.get().x + frameBounds.get().width + 10, in main()
103 frameBounds.get().y + frameBounds.get().height + 10); in main()
115 robot.mouseMove(frameBounds.get().x + frameInsets.get().left + in main()
117 frameBounds.get().y + frameInsets.get().top + in main()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/awt/MouseInfo/
H A DJContainerMousePositionTest.java69 AtomicReference<Rectangle> frameBounds = new AtomicReference<>(); in main() local
73 frameBounds.set(frame1.getBounds()); in main()
79 robot.mouseMove(frameBounds.get().x + frameInsets.get().left + in main()
81 frameBounds.get().y + frameInsets.get().top + in main()
102 robot.mouseMove(frameBounds.get().x + frameBounds.get().width + 10, in main()
103 frameBounds.get().y + frameBounds.get().height + 10); in main()
115 robot.mouseMove(frameBounds.get().x + frameInsets.get().left + in main()
117 frameBounds.get().y + frameInsets.get().top + in main()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/awt/MouseInfo/
H A DJContainerMousePositionTest.java69 AtomicReference<Rectangle> frameBounds = new AtomicReference<>(); in main() local
73 frameBounds.set(frame1.getBounds()); in main()
79 robot.mouseMove(frameBounds.get().x + frameInsets.get().left + in main()
81 frameBounds.get().y + frameInsets.get().top + in main()
102 robot.mouseMove(frameBounds.get().x + frameBounds.get().width + 10, in main()
103 frameBounds.get().y + frameBounds.get().height + 10); in main()
115 robot.mouseMove(frameBounds.get().x + frameInsets.get().left + in main()
117 frameBounds.get().y + frameInsets.get().top + in main()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/pegasus/
H A Delements.cpp357 Common::Rect frameBounds; in addFrame() local
358 frame->getSurfaceBounds(frameBounds); in addFrame()
364 frameBounds.extend(_bounds); in addFrame()
366 if (_bounds != frameBounds) in addFrame()
367 setBounds(frameBounds); in addFrame()
378 Common::Rect frameBounds; in removeFrame() local
386 frameBounds.extend(r); in removeFrame()
391 frameBounds.moveTo(_bounds.left, _bounds.top); in removeFrame()
392 setBounds(frameBounds); in removeFrame()
426 Common::Rect frameBounds; in draw() local
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/pegasus/
H A Delements.cpp357 Common::Rect frameBounds; in addFrame() local
358 frame->getSurfaceBounds(frameBounds); in addFrame()
364 frameBounds.extend(_bounds); in addFrame()
366 if (_bounds != frameBounds) in addFrame()
367 setBounds(frameBounds); in addFrame()
378 Common::Rect frameBounds; in removeFrame() local
386 frameBounds.extend(r); in removeFrame()
391 frameBounds.moveTo(_bounds.left, _bounds.top); in removeFrame()
392 setBounds(frameBounds); in removeFrame()
426 Common::Rect frameBounds; in draw() local
[all …]

1234