#include <gtk/gtkwidget.h>
#include "math/FloatTools.h"
Go to the source code of this file.
Data Structures | |
class | Rectangle |
struct | Coord2D |
class | XORRectangle |
Defines | |
#define | INCLUDED_XORRECTANGLE_H |
Functions | |
Coord2D | coord2d_device2screen (const Coord2D &coord, unsigned int width, unsigned int height) |
Rectangle | rectangle_from_area (const float min[2], const float max[2], unsigned int width, unsigned int height) |
#define INCLUDED_XORRECTANGLE_H |
Definition at line 23 of file xorrectangle.h.
Coord2D coord2d_device2screen | ( | const Coord2D & | coord, | |
unsigned int | width, | |||
unsigned int | height | |||
) | [inline] |
Definition at line 54 of file xorrectangle.h.
References Coord2D::x, and Coord2D::y.
Referenced by rectangle_from_area().
Rectangle rectangle_from_area | ( | const float | min[2], | |
const float | max[2], | |||
unsigned int | width, | |||
unsigned int | height | |||
) | [inline] |
Definition at line 59 of file xorrectangle.h.
References coord2d_device2screen(), Coord2D::x, and Coord2D::y.