Mentions légales du service

Skip to content
Snippets Groups Projects
Commit b4723dc7 authored by BOUCHERIE Raphael's avatar BOUCHERIE Raphael
Browse files

Can draw all the lines of the tree

parent 6b6205e3
No related branches found
No related tags found
1 merge request!5Print tree
......@@ -50,6 +50,12 @@ main(int argc, char ** argv)
x2 = 50 + 50*tiles[i];
libhqr_drawline(x1, y1, x2, y2, tree);
}
for ( int i = 1; i < maxMN; i++){
x1 = x2 = 50 + 50*tiles[i];
y1 = 50 + 50 * i;
y2 = 50 + 50 * (qrtree.currpiv(&qrtree, 0, i));
libhqr_drawline(x1, y1, x2, y2, tree);
}
libhqr_writeend(tree);
free(tree);
return 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment