STR 2108: added warning to fl_rect documentation.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7425 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2010-04-05 09:10:50 +00:00
parent e37577eeb8
commit dcdc4439cc

View File

@ -199,7 +199,11 @@ enum {
// rectangles tweaked to exactly fill the pixel rectangle:
/** Draws a 1-pixel border \e inside the given bounding box */
/**
Draws a 1-pixel border \e inside the given bounding box.
This function is meant for quick drawing of simple boxes. The behavior is
undefined for line widths that are not 1.
*/
inline void fl_rect(int x, int y, int w, int h) { fl_device->rect(x,y,w,h); };
/** Draws with passed color a 1-pixel border \e inside the given bounding box */