xorrectangle.h File Reference

#include <gtk/gtkwidget.h>
#include "math/FloatTools.h"
Include dependency graph for xorrectangle.h:
This graph shows which files directly or indirectly include this file:

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 Documentation

#define INCLUDED_XORRECTANGLE_H

Definition at line 23 of file xorrectangle.h.


Function Documentation

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.


Generated by  doxygen 1.6.2