LMMS
Loading...
Searching...
No Matches
PuglRect Struct Reference

#include <pugl.h>

Public Attributes

PuglCoord x
PuglCoord y
PuglSpan width
PuglSpan height

Detailed Description

A rectangle in a view or on the screen.

This type is used to describe two things: the position and size of a view (for configuring), or a rectangle within a view (for exposing).

The coordinate (0, 0) represents the top-left pixel of the parent window (or display if there isn't one), or the top-left pixel of the view, respectively.

Member Data Documentation

◆ height

PuglSpan PuglRect::height

◆ width

PuglSpan PuglRect::width

◆ x

PuglCoord PuglRect::x

◆ y

PuglCoord PuglRect::y

The documentation for this struct was generated from the following file: