neoGFX
C++ GPU-oriented GUI library and app/game creation framework.
i_units_context.hpp File Reference

Go to the source code of this file.

Classes

class  neogfx::i_units_context
 
struct  neogfx::i_units_context::no_device_metrics
 

Namespaces

 neogfx
 

Enumerations

enum  neogfx::units {
  neogfx::units::Pixels, neogfx::units::Points, neogfx::units::Picas, neogfx::units::Ems,
  neogfx::units::Millimetres, neogfx::units::Millimeters = units::Millimetres, neogfx::units::Centimetres, neogfx::units::Centimeters = units::Centimetres,
  neogfx::units::Inches, neogfx::units::Percentage
}
 
enum  neogfx::alignment : uint32_t {
  neogfx::alignment::None = 0x0000, neogfx::alignment::Left = 0x0001, neogfx::alignment::Right = 0x0002, neogfx::alignment::Centre = 0x0004,
  neogfx::alignment::Center = alignment::Centre, neogfx::alignment::Justify = 0x0008, neogfx::alignment::Top = 0x0010, neogfx::alignment::VCentre = 0x0020,
  neogfx::alignment::VCenter = alignment::VCentre, neogfx::alignment::Bottom = 0x0040, neogfx::alignment::Horizontal = Left | Centre | Right | Justify, neogfx::alignment::Vertical = Top | VCentre | Bottom
}
 

Functions

constexpr alignment neogfx::operator| (alignment aLhs, alignment aRhs)
 
constexpr alignment neogfx::operator & (alignment aLhs, alignment aRhs)