stlab.adobe.com Adobe Systems Incorporated

number_unit.hpp File Reference

#include <adobe/algorithm/clamp.hpp>
#include <adobe/name_fwd.hpp>
#include <adobe/dictionary_fwd.hpp>
#include <string>

Go to the source code of this file.

Classes

struct  unit_t

Namespaces

namespace  adobe

Functions

double to_base_value (double scaled_value, const unit_t &unit)
double to_pinned_base_value (double scaled_value, const unit_t &unit, double min, double max)
double to_scaled_value (double base_value, const unit_t &unit)
unit_t to_unit (const dictionary_t &dict, const unit_t &default_unit=unit_t())

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google