Inkscape
Vector Graphics Editor
|
The declaration of the CRNum class. More...
Go to the source code of this file.
Classes | |
struct | _CRNum |
An abstraction of a number (num) as defined in the css2 spec. More... | |
Typedefs | |
typedef struct _CRNum | CRNum |
An abstraction of a number (num) as defined in the css2 spec. | |
Enumerations | |
enum | CRNumType { NUM_AUTO = 0 , NUM_GENERIC , NUM_LENGTH_EM , NUM_LENGTH_EX , NUM_LENGTH_PX , NUM_LENGTH_IN , NUM_LENGTH_CM , NUM_LENGTH_MM , NUM_LENGTH_PT , NUM_LENGTH_PC , NUM_ANGLE_DEG , NUM_ANGLE_RAD , NUM_ANGLE_GRAD , NUM_TIME_MS , NUM_TIME_S , NUM_FREQ_HZ , NUM_FREQ_KHZ , NUM_PERCENTAGE , NUM_INHERIT , NUM_UNKNOWN_TYPE , NB_NUM_TYPE } |
The different types of numbers. More... | |
Functions | |
CRNum * | cr_num_new (void) |
CRNum * | cr_num_new_with_val (gdouble a_val, enum CRNumType a_type) |
CRNum * | cr_num_dup (CRNum const *a_this) |
guchar * | cr_num_to_string (CRNum const *a_this) |
enum CRStatus | cr_num_copy (CRNum *a_dest, CRNum const *a_src) |
enum CRStatus | cr_num_set (CRNum *a_this, gdouble a_val, enum CRNumType a_type) |
gboolean | cr_num_is_fixed_length (CRNum const *a_this) |
void | cr_num_destroy (CRNum *a_this) |
enum CRNumType |
The different types of numbers.
Please, do not modify the declaration order of the enum members, unless you know what you are doing.
void cr_num_destroy | ( | CRNum * | a_this | ) |
gboolean cr_num_is_fixed_length | ( | CRNum const * | a_this | ) |
CRNum * cr_num_new | ( | void | ) |
guchar * cr_num_to_string | ( | CRNum const * | a_this | ) |