Searched refs:glyph_origin (Results 1 – 4 of 4) sorted by relevance
44 VGfloat glyph_origin[2]; member76 memcpy(glyph->glyph_origin, glyphOrigin, sizeof(glyph->glyph_origin)); in add_glyph()77 memcpy(glyph->escapement, escapement, sizeof(glyph->glyph_origin)); in add_glyph()102 state->glyph_origin[0].f - glyph->glyph_origin[0], in vg_render_glyph()103 state->glyph_origin[1].f - glyph->glyph_origin[1]); in vg_render_glyph()121 struct vg_value *glyph_origin = ctx->state.vg.glyph_origin; in vg_advance_glyph() local123 glyph_origin[0].f += glyph->escapement[0] + adjustment_x; in vg_advance_glyph()124 glyph_origin[1].f += glyph->escapement[1] + adjustment_y; in vg_advance_glyph()127 glyph_origin[0].i = float_to_int_floor(glyph_origin[0].f); in vg_advance_glyph()128 glyph_origin[1].i = float_to_int_floor(glyph_origin[1].f); in vg_advance_glyph()
78 state->glyph_origin[0].f = 0.0f; in vg_init_state()79 state->glyph_origin[1].f = 0.0f; in vg_init_state()80 state->glyph_origin[0].i = 0; in vg_init_state()81 state->glyph_origin[1].i = 0; in vg_init_state()
362 state->glyph_origin[0].f = values[0]; in vegaSetfv()363 state->glyph_origin[1].f = values[1]; in vegaSetfv()365 state->glyph_origin[0].i = float_to_int_floor(*((VGuint*)(values + 0))); in vegaSetfv()366 state->glyph_origin[1].i = float_to_int_floor(*((VGuint*)(values + 1))); in vegaSetfv()487 state->glyph_origin[0].f = values[0]; in vegaSetiv()488 state->glyph_origin[1].f = values[1]; in vegaSetiv()489 state->glyph_origin[0].i = values[0]; in vegaSetiv()490 state->glyph_origin[1].i = values[1]; in vegaSetiv()855 values[0] = state->glyph_origin[0].f; in vegaGetfv()856 values[1] = state->glyph_origin[1].f; in vegaGetfv()[all …]
79 struct vg_value glyph_origin[2]; member