LMMS
Loading...
Searching...
No Matches
Pugl C API

Topics

 OpenGL
 Events
 Status
 World
 View
 Deprecated API
 Stub

Classes

struct  PuglRect

Typedefs

typedef int16_t PuglCoord
typedef uint16_t PuglSpan

Detailed Description

Pugl C API.

Typedef Documentation

◆ PuglCoord

typedef int16_t PuglCoord

A pixel coordinate within/of a view.

This is relative to the top left corner of the view's parent, or to the top left corner of the view itself, depending on the context.

There are platform-imposed limits on window positions. For portability, applications should keep coordinates between -16000 and 16000. Note that negative frame coordinates are possible, for example with multiple screens.

◆ PuglSpan

typedef uint16_t PuglSpan

A pixel span (width or height) within/of a view.

Due to platform limits, the span of a view in either dimension should be between 1 and 10000.