Searched refs:boundingBox (Results 1 – 3 of 3) sorted by relevance
259 List<Rectangle> rectangles, Rectangle boundingBox, double scale, byte alpha) { in drawRectangles() argument261 if (rectangles.size() == 0 || boundingBox == null || boundingBox.isEmpty()) { in drawRectangles()266 int destWidth = (int) (scale * boundingBox.width); in drawRectangles()267 int destHeight = (int) (scale * boundingBox.height); in drawRectangles()274 int dx1 = bounds.x - boundingBox.x; in drawRectangles()275 int dy1 = bounds.y - boundingBox.y; in drawRectangles()
855 Rectangle boundingBox = ImageUtils.getBoundingRectangle(rectangles); in dragStart() local857 e.image = SwtUtils.drawRectangles(image, rectangles, boundingBox, scale, in dragStart()863 int deltaX = (int) (scale * (boundingBox.x - p.x)); in dragStart()864 int deltaY = (int) (scale * (boundingBox.y - p.y)); in dragStart()871 int width = (int) (scale * boundingBox.width); in dragStart()872 int height = (int) (scale * boundingBox.height); in dragStart()
220 List<Rectangle> rectangles, Rectangle boundingBox, double scale) { in drawRectangles() argument241 if (boundingBox == null) { in drawRectangles()245 int destWidth = (int) (scale * boundingBox.width); in drawRectangles()246 int destHeight = (int) (scale * boundingBox.height); in drawRectangles()252 int dx1 = bounds.x - boundingBox.x; in drawRectangles()253 int dy1 = bounds.y - boundingBox.y; in drawRectangles()