beginner question- arc, triangle two colors
in
Programming Questions
•
2 years ago
Hi,
I´m trying to draw an arc and it works like this
arc(100, 100,50,50,0, PI/1.0);
the problem is that i cannot rotate it. the base is parallel to the edges of the window. i want it to look like the 5 arcs at the left of the picture by kandinsky.
the other question is: how can i color a triangle in two different colors with an exact border. should i draw to triangles and patch them together , so that it looks as if it would be one?
in the picture its the small triangle on the bottom right in green and red. Its over the big white triangle.
I just don´t know where to search. i watched some youtube tuts and looked here in the forum and in the "getting started infos"...
thank you
Nicole
I´m trying to draw an arc and it works like this
arc(100, 100,50,50,0, PI/1.0);
the problem is that i cannot rotate it. the base is parallel to the edges of the window. i want it to look like the 5 arcs at the left of the picture by kandinsky.
the other question is: how can i color a triangle in two different colors with an exact border. should i draw to triangles and patch them together , so that it looks as if it would be one?
in the picture its the small triangle on the bottom right in green and red. Its over the big white triangle.
I just don´t know where to search. i watched some youtube tuts and looked here in the forum and in the "getting started infos"...
thank you
Nicole
1