ruler.h revision dbfa00abadbb0533bf4bda609efa76e6aa838b27
#ifndef __SP_RULER_H__
#define __SP_RULER_H__
/*
* Customized ruler class for inkscape
*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* Frank Felfe <innerspace@iname.com>
*
* Copyright (C) 1999-2002 authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "sp-metric.h"
#include <iostream>
#include <glib.h>
#define SP_TYPE_RULER (sp_ruler_get_type ())
typedef struct _SPRulerPrivate SPRulerPrivate;
typedef struct _SPRulerClass SPRulerClass;
typedef struct _SPRulerMetric SPRulerMetric;
/* All distances below are in 1/72nd's of an inch. (According to
* Adobe that's a point, but points are really 1/72.27 in.)
*/
struct _SPRuler
{
/*< private >*/
};
struct _SPRulerClass
{
};
struct _SPRulerMetric
{
gchar const *metric_name;
/* This should be points_per_unit. This is the size of the unit
* in 1/72nd's of an inch and has nothing to do with screen pixels */
};
#endif /* __SP_RULER_H__ */
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :