[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2-demos] master b47f8a6: Document `grFillRect'.
From: |
Alexei Podtelezhnikov |
Subject: |
[freetype2-demos] master b47f8a6: Document `grFillRect'. |
Date: |
Thu, 18 Feb 2016 03:19:20 +0000 |
branch: master
commit b47f8a632d7606ec98976450c658da7ecd53b2b3
Author: Alexei Podtelezhnikov <address@hidden>
Commit: Alexei Podtelezhnikov <address@hidden>
Document `grFillRect'.
---
graph/graph.h | 47 ++++++++++++++++++-----------------------------
1 files changed, 18 insertions(+), 29 deletions(-)
diff --git a/graph/graph.h b/graph/graph.h
index d87eb6e..6c9c8b4 100644
--- a/graph/graph.h
+++ b/graph/graph.h
@@ -199,35 +199,6 @@
int blue,
int alpha );
-#if 0
-
- /**********************************************************************
- *
- * <Function>
- * grFillRectangle
- *
- * <Description>
- * this function is used to fill a given rectangle on a surface
- *
- * <Input>
- * surface :: handle to target surface
- * x :: x coordinate of the top-left corner of the rectangle
- * y :: y coordinate of the top-left corner of the rectangle
- * width :: rectangle width in pixels
- * height :: rectangle height in pixels
- * color :: fill color
- *
- **********************************************************************/
-
- extern void grFillRectangle( grBitmap* surface,
- grPos x,
- grPos y,
- grPos width,
- grPos height,
- grColor color );
-
-#endif /* 0 */
-
/**********************************************************************
*
@@ -306,6 +277,24 @@
extern void grDoneBitmap( grBitmap* bit );
+ /**********************************************************************
+ *
+ * <Function>
+ * grFillRect
+ *
+ * <Description>
+ * this function is used to fill a given rectangle on a surface
+ *
+ * <Input>
+ * target :: handle to target surface
+ * x :: x coordinate of the top-left corner of the rectangle
+ * y :: y coordinate of the top-left corner of the rectangle
+ * width :: rectangle width in pixels
+ * height :: rectangle height in pixels
+ * color :: fill color
+ *
+ **********************************************************************/
+
extern void
grFillHLine( grBitmap* target,
int x,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2-demos] master b47f8a6: Document `grFillRect'.,
Alexei Podtelezhnikov <=