Top "Rectangles" questions

A rectangle is a geometric shape: any quadrilateral with four right angles

Determine if two rectangles overlap each other?

I am trying to write a C++ program that takes the following inputs from the user to construct rectangles (between 2 …

c++ algorithm geometry overlap rectangles
Pygame Drawing a Rectangle

Im making a game that requires knowing how to draw a rectangle in python 3.2. I have checked lot of sources …

python pygame rectangles 2d-games
Libgdx - How to draw filled rectangle in the right place in scene2d?

I am using scene2d. Here is my code: group.addActor(new Actor() { @Override public Actor hit(float arg0, float …

drawing game-engine libgdx shapes rectangles
Drawing Rectangles in iOS

My goal for my app is for the user to be able to sort through different scheduling options by swiping …

iphone objective-c draw rectangles
How to draw a rectangle in WPF at a specific x,y screen location?

In C#, WPF I've created a rectangle: Rectangle myRgbRectangle = new Rectangle(); myRgbRectangle.Width = 1; myRgbRectangle.Height = 1; SolidColorBrush mySolidColorBrush = new SolidColorBrush(); Yes, …

wpf draw rectangles
Qt drawing a filled rounded rectangle with border

I want to draw a rectangle with rounded corners (border radius same for all 4 corners) with a specific color filling …

c++ qt rectangles rounded-corners qpainter
Efficient (and well explained) implementation of a Quadtree for 2D collision detection

I've been working on adding a Quadtree to a program that I'm writing, and I can't help but notice that …

data-structures collision rectangles quadtree
Get the points of intersection from 2 rectangles

Let say that we have two rectangles, defined with their bottom-left and top-right corners. For example: rect1 (x1, y1)(x2, …

c++ algorithm geometry scheme rectangles
Different font sizes in the same annotation of matplotlib?

I need to annotate a pylab rectangle with few data lines - which are of different length. Searching through the …

annotations matplotlib font-size treemap rectangles
Is there a circle class in Java like the Rectangle class

Hey I was writing a quick program and something came across where I need to use a circle for collision …

java geometry rectangles