VICI  0.11.815
Visual Chart Interpreter
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Static Public Member Functions | List of all members
VICI::Metrics Class Reference

A class to encapsulate measurements. More...

#include <vici/libgui.h>

Static Public Member Functions

static int ppm (int m=1)
 return the number of pixels for something m ems wide.
 

Detailed Description

A class to encapsulate measurements.

This class provides a method that should be used when setting the size of widgets. It provides the size of the letter 'm' in pixels and should therefore provide sizes that are somewhat independent of the physical resolution of the screen.


The documentation for this class was generated from the following files: