neoGFX
Cross-platform C++ app/game engine
|
#include <neogfx/neogfx.hpp>
#include <neolib/app/i_shared_thread_local.hpp>
#include <neogfx/core/geometrical.hpp>
#include <neogfx/core/device_metrics.hpp>
Go to the source code of this file.
Namespaces | |
namespace | neogfx |
namespace | neogfx::unit_literals |
Typedefs | |
typedef basic_length< default_geometry_value_type > | neogfx::length |
typedef basic_scoped_units< units > | neogfx::scoped_units |
Enumerations | |
enum class | neogfx::units { neogfx::Pixels , neogfx::Default = Pixels , neogfx::ScaledPixels , neogfx::Points , neogfx::Picas , neogfx::Ems , neogfx::Millimetres , neogfx::Millimeters = units::Millimetres , neogfx::Centimetres , neogfx::Centimeters = units::Centimetres , neogfx::Inches , neogfx::Percentage , neogfx::NoUnitsAsMaximumLength } |
Functions | |
template<typename T > | |
T | neogfx::convert_units (i_units_context const &aUnitsContext, units aSourceUnits, units aDestinationUnits, const T &aValue) |
template<typename T > | |
T | neogfx::from_units (i_units_context const &aSourceUnitsContext, units aUnits, const T &aValue) |
template<typename T > | |
T | neogfx::from_units (units aUnits, const T &aValue) |
template<typename T > | |
T | neogfx::to_units (i_units_context const &aSourceUnitsContext, units aNewUnits, const T &aValue) |
template<typename T > | |
T | neogfx::to_units (units aNewUnits, const T &aValue) |
template<typename T > | |
T | neogfx::convert_units (i_units_context const &aSourceUnitsContext, i_units_context const &aDestinationUnitsContext, units aSourceUnits, units aDestinationUnits, const T &aValue) |
template<typename T > | |
T | neogfx::from_px (T aValue) |
template<typename T > | |
T | neogfx::from_dip (T aValue) |
template<typename T > | |
T | neogfx::from_pt (T aValue) |
template<typename T > | |
T | neogfx::from_pc (T aValue) |
template<typename T > | |
T | neogfx::from_em (T aValue) |
template<typename T > | |
T | neogfx::from_mm (T aValue) |
template<typename T > | |
T | neogfx::from_cm (T aValue) |
template<typename T > | |
T | neogfx::from_in (T aValue) |
template<typename T > | |
T | neogfx::from_pct (T aValue) |
template<typename ResultT , typename T > | |
ResultT | neogfx::from_px (T aValue) |
template<typename ResultT , typename T > | |
ResultT | neogfx::from_dip (T aValue) |
template<typename ResultT , typename T > | |
ResultT | neogfx::from_pt (T aValue) |
template<typename ResultT , typename T > | |
ResultT | neogfx::from_pc (T aValue) |
template<typename ResultT , typename T > | |
ResultT | neogfx::from_em (T aValue) |
template<typename ResultT , typename T > | |
ResultT | neogfx::from_mm (T aValue) |
template<typename ResultT , typename T > | |
ResultT | neogfx::from_cm (T aValue) |
template<typename ResultT , typename T > | |
ResultT | neogfx::from_in (T aValue) |
template<typename ResultT , typename T > | |
ResultT | neogfx::from_pct (T aValue) |
template<typename T > | |
T | neogfx::to_px (T aValue) |
template<typename T > | |
T | neogfx::to_dip (T aValue) |
template<typename T > | |
T | neogfx::to_pt (T aValue) |
template<typename T > | |
T | neogfx::to_pc (T aValue) |
template<typename T > | |
T | neogfx::to_em (T aValue) |
template<typename T > | |
T | neogfx::to_mm (T aValue) |
template<typename T > | |
T | neogfx::to_cm (T aValue) |
template<typename T > | |
T | neogfx::to_in (T aValue) |
template<typename T > | |
T | neogfx::to_pct (T aValue) |
template<typename ResultT , typename T > | |
ResultT | neogfx::to_px (T aValue) |
template<typename ResultT , typename T > | |
ResultT | neogfx::to_dip (T aValue) |
template<typename ResultT , typename T > | |
ResultT | neogfx::to_pt (T aValue) |
template<typename ResultT , typename T > | |
ResultT | neogfx::to_pc (T aValue) |
template<typename ResultT , typename T > | |
ResultT | neogfx::to_em (T aValue) |
template<typename ResultT , typename T > | |
ResultT | neogfx::to_mm (T aValue) |
template<typename ResultT , typename T > | |
ResultT | neogfx::to_cm (T aValue) |
template<typename ResultT , typename T > | |
ResultT | neogfx::to_in (T aValue) |
template<typename ResultT , typename T > | |
ResultT | neogfx::to_pct (T aValue) |
template<typename T > | |
basic_length< T > | neogfx::px (T aValue) |
template<typename T > | |
basic_length< T > | neogfx::dip (T aValue) |
template<typename T > | |
basic_length< T > | neogfx::pt (T aValue) |
template<typename T > | |
basic_length< T > | neogfx::pc (T aValue) |
template<typename T > | |
basic_length< T > | neogfx::em (T aValue) |
template<typename T > | |
basic_length< T > | neogfx::mm (T aValue) |
template<typename T > | |
basic_length< T > | neogfx::cm (T aValue) |
template<typename T > | |
basic_length< T > | neogfx::in (T aValue) |
template<typename T > | |
basic_length< T > | neogfx::pct (T aValue) |
template<typename T > | |
T | neogfx::ceil_rasterized (T aValue) |
template<typename T > | |
basic_delta< T > | neogfx::ceil_rasterized (const basic_delta< T > &aDelta) |
template<typename T > | |
basic_size< T > | neogfx::ceil_rasterized (const basic_size< T > &aSize) |
template<typename T > | |
basic_point< T > | neogfx::ceil_rasterized (const basic_point< T > &aPoint) |
template<typename T > | |
basic_box_areas< T > | neogfx::ceil_rasterized (const basic_box_areas< T > &aAreas) |
template<typename T > | |
basic_rect< T > | neogfx::ceil_rasterized (const basic_rect< T > &aRect) |
template<typename T > | |
T | neogfx::ceil_rasterized (const basic_length< T > &aLength) |
template<typename T > | |
T | neogfx::floor_rasterized (T aValue) |
template<typename T > | |
basic_delta< T > | neogfx::floor_rasterized (const basic_delta< T > &aDelta) |
template<typename T > | |
basic_size< T > | neogfx::floor_rasterized (const basic_size< T > &aSize) |
template<typename T > | |
basic_point< T > | neogfx::floor_rasterized (const basic_point< T > &aPoint) |
template<typename T > | |
basic_rect< T > | neogfx::floor_rasterized (const basic_rect< T > &aRect) |
template<typename T > | |
T | neogfx::floor_rasterized (const basic_length< T > &aLength) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_px (long double aValue) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_dip (long double aValue) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_dp (long double aValue) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_pt (long double aValue) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_pc (long double aValue) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_em (long double aValue) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_mm (long double aValue) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_cm (long double aValue) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_in (long double aValue) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_pct (long double aValue) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_px (unsigned long long int aValue) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_dip (unsigned long long int aValue) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_dp (unsigned long long int aValue) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_pt (unsigned long long int aValue) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_pc (unsigned long long int aValue) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_em (unsigned long long int aValue) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_mm (unsigned long long int aValue) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_cm (unsigned long long int aValue) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_in (unsigned long long int aValue) |
basic_length< default_geometry_value_type > | neogfx::unit_literals::operator""_pct (unsigned long long int aValue) |