summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4deb3ca)
raw | patch | inline | side by side (parent: 4deb3ca)
author | pjrm <pjrm@users.sourceforge.net> | |
Mon, 3 Apr 2006 06:49:26 +0000 (06:49 +0000) | ||
committer | pjrm <pjrm@users.sourceforge.net> | |
Mon, 3 Apr 2006 06:49:26 +0000 (06:49 +0000) |
src/display/nr-arena-glyphs.cpp | patch | blob | history |
index 05b513e52b8c9cfc253350fa4ae5cb38a97f3c85..a050acc9949ccaa476df11f51de3edf46068a907 100644 (file)
@@ -147,7 +147,7 @@ nr_arena_glyphs_update (NRArenaItem *item, NRRectL *area, NRGC *gc, guint state,
bbox.x0 = bbox.y0 = NR_HUGE;
bbox.x1 = bbox.y1 = -NR_HUGE;
- const float scale = NR_MATRIX_DF_EXPANSION (&gc->transform);
+ float const scale = NR_MATRIX_DF_EXPANSION (&gc->transform);
if (glyphs->style->fill.type != SP_PAINT_TYPE_NONE) {
NRMatrix t;
@@ -249,8 +249,8 @@ nr_arena_glyphs_pick (NRArenaItem *item, NR::Point p, gdouble delta, unsigned in
if (!glyphs->font ) return NULL;
if (!glyphs->style) return NULL;
- const double x = p[NR::X];
- const double y = p[NR::Y];
+ double const x = p[NR::X];
+ double const y = p[NR::Y];
/* With text we take a simple approach: pick if the point is in a characher bbox */
if ((x >= item->bbox.x0) && (y >= item->bbox.y0) && (x <= item->bbox.x1) && (y <= item->bbox.y1)) return item;
@@ -268,7 +268,7 @@ nr_arena_glyphs_pick (NRArenaItem *item, NR::Point p, gdouble delta, unsigned in
}
void
-nr_arena_glyphs_set_path (NRArenaGlyphs *glyphs, SPCurve *curve, unsigned int lieutenant, font_instance *font, gint glyph, const NRMatrix *transform)
+nr_arena_glyphs_set_path (NRArenaGlyphs *glyphs, SPCurve *curve, unsigned int lieutenant, font_instance *font, gint glyph, NRMatrix const *transform)
{
nr_return_if_fail (glyphs != NULL);
nr_return_if_fail (NR_IS_ARENA_GLYPHS (glyphs));
}
void
-nr_arena_glyphs_group_add_component (NRArenaGlyphsGroup *sg, font_instance *font, int glyph, const NRMatrix *transform)
+nr_arena_glyphs_group_add_component (NRArenaGlyphsGroup *sg, font_instance *font, int glyph, NRMatrix const *transform)
{
NRArenaGroup *group;
NRBPath bpath;
}
void
-nr_arena_glyphs_group_set_paintbox (NRArenaGlyphsGroup *gg, const NRRect *pbox)
+nr_arena_glyphs_group_set_paintbox (NRArenaGlyphsGroup *gg, NRRect const *pbox)
{
nr_return_if_fail (gg != NULL);
nr_return_if_fail (NR_IS_ARENA_GLYPHS_GROUP (gg));