Changeset 1428 for libcaca/trunk/DotNet/Cucul.cs
- Timestamp:
- Nov 23, 2006, 9:22:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/DotNet/Cucul.cs
r1424 r1428 51 51 public static extern Int32 cucul_blit(IntPtr qq, Int32 x, Int32 y, IntPtr qq1, IntPtr qq2); 52 52 [DllImport("libCucul.dll", CallingConvention=CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity] 53 public static extern Int32 cucul_draw_line(IntPtr qq, Int32 x1, Int32 y1, Int32 x2, Int32 y2, stringc);53 public static extern Int32 cucul_draw_line(IntPtr qq, Int32 x1, Int32 y1, Int32 x2, Int32 y2, Int32 c); 54 54 [DllImport("libCucul.dll", CallingConvention=CallingConvention.Cdecl), SuppressUnmanagedCodeSecurity] 55 55 public static extern Int32 cucul_draw_polyline(IntPtr qq, Int32[] x, Int32[] y, Int32 n, IntPtr c); … … 191 191 return cucul_putchar(qq, x, y, c); 192 192 } 193 public Int32 clearCanvas()193 public Int32 Clear() 194 194 { 195 195 return cucul_clear_canvas(qq); … … 199 199 return cucul_blit(qq, x, y, qq1.get_cucul_t(), qq2.get_cucul_t()); 200 200 } 201 public Int32 drawLine(Int32 x1, Int32 y1, Int32 x2, Int32 y2, stringc)201 public Int32 drawLine(Int32 x1, Int32 y1, Int32 x2, Int32 y2, Int32 c) 202 202 { 203 203 return cucul_draw_line(qq, x1, y1, x2, y2, c);
Note: See TracChangeset
for help on using the changeset viewer.