Lines Matching refs:VGfloat
54 VGfloat scale;
55 VGfloat bias;
70 VGfloat stroke_width;
71 VGfloat miter_limit;
81 VGfloat *out)
86 VGfloat *itr = out;
117 VGfloat **fdata = (VGfloat **)data;
133 const VGfloat *data,
159 memcpy(common_data, data, sizeof(VGfloat) * num_coords);
169 VGfloat scale, VGfloat bias,
172 VGfloat data[8];
173 void *coords = (VGfloat *)pdata;
186 struct path * path_create(VGPathDatatype dt, VGfloat scale, VGfloat bias,
277 static INLINE void map_if_relative(VGfloat ox, VGfloat oy,
279 VGfloat *x, VGfloat *y)
290 VGfloat sx, VGfloat sy,
291 VGfloat ox, VGfloat oy,
296 VGfloat x0 = sx;
297 VGfloat y0 = sy;
308 VGfloat data[8];
309 void *coords = (VGfloat *)p->control_points->data;
324 VGfloat min_x, max_x;
325 VGfloat min_y, max_y;
326 VGfloat bounds[4];
364 VGfloat sx, sy, px, py, ox, oy;
365 VGfloat x0, y0, x1, y1, x2, y2, x3, y3;
366 VGfloat data[8];
367 void *coords = (VGfloat *)p->control_points->data;
578 VGfloat rh, rv, rot;
637 VGfloat path_scale(struct path *p)
642 VGfloat path_bias(struct path *p)
678 VGfloat data[8];
679 void *coords = (VGfloat *)path->control_points->data;
823 VGfloat data[8];
824 VGubyte common_data[sizeof(VGfloat)*8];
826 memcpy(data, pd->coords, sizeof(VGfloat) * num_coords);
952 VGfloat px, py, ox, oy, sx, sy;
956 VGfloat *data)
1027 VGfloat x0, y0, x1, y1, x2, y2, x3, y3;
1058 VGfloat x0, y0, x1, y1, x2, y2, x3, y3;
1088 VGfloat x0, y0, x1, y1, x2, y2, x3, y3;
1134 static void linearly_interpolate(VGfloat *result,
1135 const VGfloat *start,
1136 const VGfloat *end,
1137 VGfloat amount,
1148 VGfloat amount)
1156 VGfloat start_coords[8];
1157 VGfloat end_coords[8];
1158 VGfloat results[8];
1159 VGubyte common_data[sizeof(VGfloat)*8];
1233 VGfloat sx, sy, px, py, ox, oy;
1234 VGfloat x0, y0, x1, y1, x2, y2, x3, y3;
1235 VGfloat data[8];
1236 void *coords = (VGfloat *)p->control_points->data;
1280 VGfloat x0 = sx;
1281 VGfloat y0 = sy;
1494 VGfloat rh, rv, rot;
1633 VGubyte common_data[sizeof(VGfloat) * 2];
1634 VGfloat data[2] = {x, y};
1643 VGubyte common_data[sizeof(VGfloat) * 2];
1644 VGfloat data[2] = {x, y};
1656 VGubyte common_data[sizeof(VGfloat) * 6];
1657 VGfloat data[6];
1668 static INLINE void line_bounds(VGfloat *line /*x1,y1,x2,y2*/,
1669 VGfloat *bounds)
1677 static INLINE void unite_bounds(VGfloat *bounds,
1678 VGfloat *el)
1680 VGfloat cx1, cy1, cx2, cy2;
1681 VGfloat nx1, ny1, nx2, ny2;
1699 static INLINE void set_bounds(VGfloat *bounds,
1700 VGfloat *element_bounds,
1704 memcpy(bounds, element_bounds, 4 * sizeof(VGfloat));
1714 VGfloat coords[8];
1717 VGfloat bounds[4];
1718 VGfloat element_bounds[4];
1719 VGfloat ox, oy;
1748 VGfloat line[4] = {ox, oy, coords[0], coords[1]};
1798 VGfloat coords[8];
1801 VGfloat length = 0;
1802 VGfloat ox, oy;
1828 VGfloat line[4] = {ox, oy, iter.sx, iter.sy};
1833 VGfloat line[4] = {ox, oy, coords[0], coords[1]};
1873 static INLINE VGboolean point_on_current_segment(VGfloat distance,
1874 VGfloat length,
1875 VGfloat segment_length)
1886 VGfloat coords[8],
1887 VGfloat distance,
1888 VGfloat length, VGfloat *current_length,
1889 VGfloat *point, VGfloat *normal)
1895 VGfloat line[4] = {prev_iter.ox, prev_iter.oy, iter.sx, iter.sy};
1902 VGfloat at = (distance - length) / line_lengthv(line);
1910 VGfloat line[4] = {prev_iter.ox, prev_iter.oy, coords[0], coords[1]};
1917 VGfloat at = (distance - length) / line_lengthv(line);
1969 VGfloat distance, VGfloat *point, VGfloat *normal)
1972 VGfloat coords[8];
1975 VGfloat length = 0;
1976 VGfloat current_length = 0;
2025 VGfloat line[4] = {prev_iter.ox, prev_iter.oy, iter.sx, iter.sy};
2031 VGfloat line[4] = {prev_iter.ox, prev_iter.oy, coords[0], coords[1]};