Louvre  v1.2.1-2
C++ library for Wayland compositors
List of all members | Public Attributes
LBox Struct Reference

#include <LNamespaces.h>

Structure representing a 2D box. More...

Detailed Description

Structure representing a 2D box.

The LBox struct defines a 2D box using four integer coordinates (x1, y1, x2, y2). It is typically used to represent bounding boxes or rectangular regions in 2D space.

Public Attributes

Int32 x1
 The x-coordinate of the top-left corner of the box. More...
 
Int32 y1
 The y-coordinate of the top-left corner of the box. More...
 
Int32 x2
 The x-coordinate of the bottom-right corner of the box. More...
 
Int32 y2
 The y-coordinate of the bottom-right corner of the box. More...
 

Member Data Documentation

◆ x1

Int32 x1

The x-coordinate of the top-left corner of the box.

◆ y1

Int32 y1

The y-coordinate of the top-left corner of the box.

◆ x2

Int32 x2

The x-coordinate of the bottom-right corner of the box.

◆ y2

Int32 y2

The y-coordinate of the bottom-right corner of the box.