Photon microGUI widgets library 0.6.0
PhWidgets::Graphic::ThisFlags Struct Reference

Contains flags for Graphic resources. More...

#include <Graphic.h>

Public Types

enum  eGraphicFlags { FloatPos , FloatOrigin }
 Graphics flags for Graphic resource Graphic::Arguments::graphic_flags. More...
 

Detailed Description

Contains flags for Graphic resources.

Member Enumeration Documentation

◆ eGraphicFlags

Graphics flags for Graphic resource Graphic::Arguments::graphic_flags.

The default setting of Graphic::Arguments::graphic_flags resource is 0; that is, no flags have been set.

Aliases

PhWidgets::Graphic::Flags::eGraphicFlags

Enumerator
FloatPos 

Adjust the position and origin of the Widget, but leave the Graphic in place relative to the widget's parent. The upper left corner of the widget's canvas is at the upper left corner of the bounding box described by the point array. Depending on its resize policy, the widget may resize to fit the rendering.

FloatOrigin 

Adjust the origin of the Graphic, but leave the Widget in place relative to its parent. The upper left corner of the bounding box described by the point array is at the upper left corner of the widget's canvas.


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