1.1.0
Public Attributes | List of all members
fc_rect Struct Reference

Represents a rectangle with left, top, right and bottom float values. More...

#include <rect.h>

Public Attributes

float left
 Left value.
 
float top
 Top value.
 
float right
 Right value.
 
float bottom
 Bottom value.
 

Detailed Description

Represents a rectangle with left, top, right and bottom float values.

Although left and top can be used as x and y, bottom and right are not the same as width and height. They are absolute values from origin (0, 0).

Example

struct fc_rect r = { 0, 0, 100, 100 };

The documentation for this struct was generated from the following file:
fc_rect
Represents a rectangle with left, top, right and bottom float values.
Definition: rect.h:33