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

#include <pugl.h>

Public Attributes

PuglEventType type
 PUGL_EXPOSE
PuglEventFlags flags
 Bitwise OR of PuglEventFlag values.
PuglCoord x
 View-relative top-left X coordinate of region.
PuglCoord y
 View-relative top-left Y coordinate of region.
PuglSpan width
 Width of exposed region.
PuglSpan height
 Height of exposed region.

Detailed Description

Expose event for when a region must be redrawn.

When an expose event is received, the graphics context is active, and the view must draw the entire specified region. The contents of the region are undefined, there is no preservation of anything drawn previously.

Member Data Documentation

◆ flags

PuglEventFlags PuglExposeEvent::flags

Bitwise OR of PuglEventFlag values.

◆ height

PuglSpan PuglExposeEvent::height

Height of exposed region.

◆ type

PuglEventType PuglExposeEvent::type

◆ width

PuglSpan PuglExposeEvent::width

Width of exposed region.

◆ x

PuglCoord PuglExposeEvent::x

View-relative top-left X coordinate of region.

◆ y

PuglCoord PuglExposeEvent::y

View-relative top-left Y coordinate of region.


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