From 2c61d60470b0583614437950066b2f63c4ac2782 Mon Sep 17 00:00:00 2001
From: Michael R Sweet
Date: Sun, 30 Sep 2001 20:25:36 +0000
Subject: Documentation updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
---
documentation/drawing.html | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
(limited to 'documentation/drawing.html')
diff --git a/documentation/drawing.html b/documentation/drawing.html
index e97edb1b8..737d8264e 100644
--- a/documentation/drawing.html
+++ b/documentation/drawing.html
@@ -6,15 +6,15 @@
Calling these functions at other places will result in undefined
behavior!
-- The most common is inside the virtual method
-Fl_Widget::draw(). To write code here, you must subclass one
+
- The most common is inside the virtual method
+Fl_Widget::draw(). To write code here, you must subclass one
of the existing Fl_Widget classes and implement your own
version of draw().
-- You can also write boxtypes and
+
- You can also write boxtypes and
labeltypes. These are small procedures that can be called by
-existing Fl_Widget::draw() methods. These "types" are
-identified by an 8-bit index that is stored in the widget's box()
-, labeltype(), and possibly other properties.
+existing Fl_Widget::draw() methods. These "types" are
+identified by an 8-bit index that is stored in the widget's box(),
+labeltype(), and possibly other properties.
- You can call
Fl_Window::make_current() to do incremental update of a
widget. Use
@@ -134,7 +134,7 @@ Windows 95/98, use the dash styles instead.
These are used to draw almost all the FLTK widgets. They draw on
exact pixel boundaries and are as fast as possible, and their behavior
will be duplicated exactly on any platform FLTK is ported to. It is
-undefined whether these are affected by the
+undefined whether these are affected by the
transformation matrix, so you should only call these while it is
the identity.
void fl_point(int x, int y)
@@ -237,7 +237,7 @@ fl_gap() with fl_end_loop();fl_begin_loop().
y2, float x3, float y3)
Add a series of points on a Bezier curve to the path. The curve ends
(and two of the points) are at x,y and x3,y3.
-void fl_arc(float x, float y, float r, float start, float end)
+
Add a series of points to the current path on the arc of a circle (you
can get elliptical paths by using scale and rotate before calling
this). x,y are the center of the circle, and r is its
@@ -337,10 +337,10 @@ thus redrawing is much faster.
It is undefined whether the location or drawing of the image is
affected by the current transformation, so you should only call these
when it is the identity.
-
Draw an 8-bit per color RGB or luminance image. The pointer points at
the "r" data of the top-left pixel. Data must be in r,g,b
order. X,Y are where to put the top-left corner. W
--
cgit v1.2.3