]> git.sur5r.net Git - cc65/blobdiff - include/tgi.h
Added a tgi_pieslice function.
[cc65] / include / tgi.h
index a0cebe39f354096812e7516050867339bdda13c6..46c7fa04401f673d06f6ffbaf3c7e7479b519d91 100644 (file)
@@ -226,6 +226,14 @@ void __fastcall__ tgi_arc (int x, int y, unsigned char rx, unsigned char ry,
  * bevave unextectedly).
  */
 
+void __fastcall__ tgi_pieslice (int x, int y, unsigned char rx, unsigned char ry,
+                                unsigned sa, unsigned ea);
+/* Draw an ellipse pie slice with center at x/y and radii rx/ry using the
+ * current drawing color. The pie slice covers the angle between sa and ea
+ * (startangle and endangle), which must be in the range 0..360 (otherwise the
+ * function may behave unextectedly).
+ */
+
 void __fastcall__ tgi_bar (int x1, int y1, int x2, int y2);
 /* Draw a bar (a filled rectangle) using the current color. */