nr-arena-glyphs.h revision 3955580a5a68a873b098921626f5b9d841b964ec
#ifndef __NR_ARENA_GLYPHS_H__
#define __NR_ARENA_GLYPHS_H__
/*
* RGBA display list system for inkscape
*
* Author:
* Lauris Kaplinski <lauris@kaplinski.com>
*
* Copyright (C) 2002 Lauris Kaplinski
*
* Released under GNU GPL
*
*/
#define NR_TYPE_ARENA_GLYPHS (nr_arena_glyphs_get_type ())
#include <libnrtype/nrtype-forward.h>
#include <forward.h>
#include <sp-paint-server.h>
#include <display/nr-arena-item.h>
#define test_glyph_liv
NRType nr_arena_glyphs_get_type (void);
/* Glyphs data */
float x, y;
// NR::Matrix cached_tr;
// Shape *cached_shp;
// bool cached_shp_dirty;
// bool cached_style_dirty;
// Shape *stroke_shp;
return obj;
}
};
struct NRArenaGlyphsClass {
};
/* Integrated group of component glyphss */
typedef struct NRArenaGlyphsGroup NRArenaGlyphsGroup;
typedef struct NRArenaGlyphsGroupClass NRArenaGlyphsGroupClass;
#include "nr-arena-group.h"
#define NR_TYPE_ARENA_GLYPHS_GROUP (nr_arena_glyphs_group_get_type ())
#define NR_ARENA_GLYPHS_GROUP(obj) (NR_CHECK_INSTANCE_CAST ((obj), NR_TYPE_ARENA_GLYPHS_GROUP, NRArenaGlyphsGroup))
NRType nr_arena_glyphs_group_get_type (void);
//SPStyle *style;
/* State data */
NRArenaGlyphsGroup *obj=reinterpret_cast<NRArenaGlyphsGroup *>(nr_object_new(NR_TYPE_ARENA_GLYPHS_GROUP));
return obj;
}
};
struct NRArenaGlyphsGroupClass {
};
/* Utility functions */
void nr_arena_glyphs_group_add_component (NRArenaGlyphsGroup *group, font_instance *font, int glyph, const NR::Matrix *transform);
#endif