Lines Matching refs:cmds
42 const VGubyte *cmds, in vgu_append_float_coords() argument
51 vgAppendPathData(path, num_cmds, cmds, common_data); in vgu_append_float_coords()
58 static const VGubyte cmds[] = {VG_MOVE_TO_ABS, VG_LINE_TO_ABS}; in vguLine() local
75 vgu_append_float_coords(path, cmds, 2, coords, 4); in vguLine()
85 VGubyte *cmds; in vguPolygon() local
103 cmds = malloc(sizeof(VGubyte) * count + 1); in vguPolygon()
106 cmds[0] = VG_MOVE_TO_ABS; in vguPolygon()
110 cmds[i] = VG_LINE_TO_ABS; in vguPolygon()
116 cmds[i] = VG_CLOSE_PATH; in vguPolygon()
120 vgu_append_float_coords(path, cmds, i, coords, 2*i); in vguPolygon()
122 free(cmds); in vguPolygon()
132 static const VGubyte cmds[] = {VG_MOVE_TO_ABS, in vguRect() local
158 vgu_append_float_coords(path, cmds, 5, coords, 5); in vguRect()
170 static const VGubyte cmds[] = {VG_MOVE_TO_ABS, in vguRoundRect() local
217 vgu_append_float_coords(path, cmds, 10, c, 26); in vguRoundRect()
227 static const VGubyte cmds[] = {VG_MOVE_TO_ABS, in vguEllipse() local
254 vgu_append_float_coords(path, cmds, 4, coords, 11); in vguEllipse()
266 VGubyte cmds[11]; in vguArc() local
288 cmds[c] = VG_MOVE_TO_ABS; ++c; in vguArc()
298 cmds[c] = VG_SCCWARC_TO_ABS; ++c; in vguArc()
309 cmds[c] = VG_SCCWARC_TO_ABS; ++c; in vguArc()
321 cmds[c] = VG_SCWARC_TO_ABS; ++c; in vguArc()
332 cmds[c] = VG_SCWARC_TO_ABS; ++c; in vguArc()
344 cmds[c] = VG_LINE_TO_ABS; ++c; in vguArc()
349 cmds[c] = VG_CLOSE_PATH; in vguArc()
355 vgu_append_float_coords(path, cmds, c, coords, i); in vguArc()