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