Revision:
5:1c78c0b4f513
Parent:
4:545e25d4c3d8
diff -r 545e25d4c3d8 -r 1c78c0b4f513 doggy.h
--- a/doggy.h	Sat Jan 08 16:27:12 2011 +0000
+++ b/doggy.h	Sun Feb 06 13:30:28 2011 +0000
@@ -188,7 +188,15 @@
     /// @param y1 bottom coordinate from 0 to 63 included
     /// @param op bit math operation (raster), values { poke (default), wipe, inv }
     void LineV( int x, int y0, int y1, doggy_op op = poke );
-
+    
+    /// Draw an diagonal line
+    ///
+    /// @param x0 start horizontal coordinate from 0 to 127 included
+    /// @param y0 start vertical coordinate from 0 to 63 included
+    /// @param x1 end horizontal coordinate from 0 to 127 included
+    /// @param y1 end vertical coordinate from 0 to 63 included
+    void Line( int x0, int y0, int x1, int y1, doggy_op = poke );
+    
     /// Draw an empty rectangle by combining 2 LineH and 2 LineV calls 
     ///
     /// @param x0 top left corner, horizontal coordinate from 0 to 127 included
@@ -247,7 +255,7 @@
     ///
     /// New line: string can contain the new line '\\n' or (13)
     ///
-    /// Wrapping: if the ouput reaches the right side of the screen, it will wrap to next line at position x=0.
+    /// Wrapping: if the ouput reaches the right side of the screen, it will wrap to next line at position x.
     /// wrapping is not space dependant, it happens anywhere in the string (inside words)
     /// if wrapped line happens to begins with a space, the space is skipped
     /// 
@@ -258,6 +266,8 @@
     ///
     /// @return the last y coordinate used to output chars (may be different than initial argument if string was wrapped)
     int XString( int x, int y, const char* s, doggy_op op = poke );
+    int XString( int x, int y, int i, doggy_op = poke );
+    int XString( int x, int y, float f, doggy_op = poke );
 };
 
 /// Type definition for RasterOp