Lines Matching refs:cmd

54         void add_vertex(double x, double y, unsigned cmd);
56 void modify_vertex(unsigned idx, double x, double y, unsigned cmd);
57 void modify_command(unsigned idx, unsigned cmd);
148 unsigned cmd = v.vertex(i, &x, &y);
149 add_vertex(x, y, cmd);
164 unsigned cmd)
167 *storage_ptrs(&coord_ptr) = (int8u)cmd;
187 unsigned cmd)
194 m_cmd_blocks[block][offset] = (int8u)cmd;
200 unsigned cmd)
202 m_cmd_blocks[idx >> block_shift][idx & block_mask] = (int8u)cmd;
218 int8u cmd = m_cmd_blocks[b1][o1];
220 m_cmd_blocks[b2][o2] = cmd;
694 void modify_vertex(unsigned idx, double x, double y, unsigned cmd);
695 void modify_command(unsigned idx, unsigned cmd);
724 unsigned cmd;
726 while(!is_stop(cmd = vs.vertex(&x, &y)))
728 m_vertices.add_vertex(x, y, cmd);
739 unsigned cmd;
741 cmd = vs.vertex(&x, &y);
742 if(!is_stop(cmd))
744 if(is_vertex(cmd))
752 if(is_move_to(cmd)) cmd = path_cmd_line_to;
753 m_vertices.add_vertex(x, y, cmd);
760 cmd = path_cmd_move_to;
764 if(is_move_to(cmd)) cmd = path_cmd_line_to;
766 m_vertices.add_vertex(x, y, cmd);
769 while(!is_stop(cmd = vs.vertex(&x, &y)))
771 m_vertices.add_vertex(x, y, is_move_to(cmd) ?
773 cmd);
987 unsigned cmd = m_vertices.prev_vertex(&x_ctrl, &y_ctrl);
988 if(is_curve(cmd))
1046 unsigned cmd = prev_vertex(&x_ctrl1, &y_ctrl1);
1047 if(is_curve(cmd))
1146 void path_base<VC>::modify_vertex(unsigned idx, double x, double y, unsigned cmd)
1148 m_vertices.modify_vertex(idx, x, y, cmd);
1153 void path_base<VC>::modify_command(unsigned idx, unsigned cmd)
1155 m_vertices.modify_command(idx, cmd);
1268 unsigned cmd;
1270 is_end_poly(cmd = m_vertices.command(end)))
1272 m_vertices.modify_command(end++, set_orientation(cmd, orientation));
1324 unsigned cmd = m_vertices.vertex(i, &x, &y);
1325 if(is_vertex(cmd))
1341 unsigned cmd = m_vertices.vertex(i, &x, &y);
1342 if(is_vertex(cmd))
1363 void add_vertex(double x, double y, unsigned cmd)
1367 int8u(cmd)));
1377 void modify_vertex(unsigned idx, double x, double y, unsigned cmd)
1382 v.cmd = int8u(cmd);
1385 void modify_command(unsigned idx, unsigned cmd)
1387 m_vertices[idx].cmd = int8u(cmd);
1400 m_vertices[m_vertices.size() - 1].cmd :
1444 return v.cmd;
1449 return m_vertices[idx].cmd;