Author: matt
Date: 2010-04-05 02:10:50 -0700 (Mon, 05 Apr 2010)
New Revision: 7425
Log:
STR 2108: added warning to fl_rect documentation.

Modified:
   branches/branch-1.3/FL/fl_draw.H

Modified: branches/branch-1.3/FL/fl_draw.H
===================================================================
--- branches/branch-1.3/FL/fl_draw.H    2010-04-05 06:46:41 UTC (rev 7424)
+++ branches/branch-1.3/FL/fl_draw.H    2010-04-05 09:10:50 UTC (rev 7425)
@@ -199,7 +199,11 @@
 
 // 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 
*/

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to