1 /* -*- Mode: C; indent-tabs-mode:nil; c-basic-offset: 8-*- */
4 * This file is part of The Croco Library
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of version 2.1 of the GNU Lesser General Public
8 * License as published by the Free Software Foundation.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20 * Author: Dodji Seketeli
21 * See COPYRIGHTS file for copyright information
36 #include "cr-parsing-location.h"
42 *The declaration of the #CRNum class.
49 *Please, do not modify
50 *the declaration order of the enum
51 *members, unless you know
81 *An abstraction of a number (num)
82 *as defined in the css2 spec.
84 typedef struct _CRNum CRNum ;
87 *An abstraction of a number (num)
88 *as defined in the css2 spec.
94 CRParsingLocation location ;
101 cr_num_new_with_val (gdouble a_val,
102 enum CRNumType a_type) ;
105 cr_num_dup (CRNum const *a_this) ;
108 cr_num_to_string (CRNum const *a_this) ;
111 cr_num_copy (CRNum *a_dest, CRNum const *a_src) ;
114 cr_num_set (CRNum *a_this, gdouble a_val,
115 enum CRNumType a_type) ;
118 cr_num_is_fixed_length (CRNum const *a_this) ;
121 cr_num_destroy (CRNum *a_this) ;
127 #endif /*__CR_NUM_H__*/