Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

cr-num.h File Reference


Detailed Description

The declaration of the CRNum class.

The declaration of the CRNum class.

Definition in file cr-num.h.

#include <glib.h>
#include "cr-utils.h"
#include "cr-parsing-location.h"

Go to the source code of this file.

Classes

struct  _CRNum

Typedefs

typedef struct _CRNum CRNum

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
}

Functions

enum CRStatus cr_num_copy (CRNum *a_dest, CRNum *a_src)
void cr_num_destroy (CRNum *a_this)
CRNumcr_num_dup (CRNum *a_this)
gboolean cr_num_is_fixed_length (CRNum *a_this)
CRNumcr_num_new (void)
CRNumcr_num_new_with_val (gdouble a_val, enum CRNumType a_type)
enum CRStatus cr_num_set (CRNum *a_this, gdouble a_val, enum CRNumType a_type)
guchar * cr_num_to_string (CRNum *a_this)


Generated by  Doxygen 1.6.0   Back to index