diff dwt/graphics/GC.d @ 23:f5482da87ed8

Image, ImageData
author Frank Benoit <benoit@tionex.de>
date Sun, 27 Jan 2008 17:43:55 +0100
parents 5f2e72114476
children 7b3e88548661
line wrap: on
line diff
--- a/dwt/graphics/GC.d	Sat Jan 26 19:05:32 2008 +0100
+++ b/dwt/graphics/GC.d	Sun Jan 27 17:43:55 2008 +0100
@@ -7,11 +7,25 @@
  *
  * Contributors:
  *     IBM Corporation - initial API and implementation
+ * Port to the D programming language:
+ *     Frank Benoit <benoit@tionex.de>
  *******************************************************************************/
 module dwt.graphics.GC;
 
+import dwt.graphics.GCData;
+import dwt.graphics.Image;
+import dwt.internal.win32.WINTYPES;
+
 //PORTING_TYPE
 class GC{
+    void dispose();
+    bool isDisposed();
+    void flush ();
+    GCData data;
+    HDC handle;
+public void drawImage(Image image, int x, int y) ;
+public void drawImage(Image image, int srcX, int srcY, int srcWidth, int srcHeight, int destX, int destY, int destWidth, int destHeight) ;
+void drawImage(Image srcImage, int srcX, int srcY, int srcWidth, int srcHeight, int destX, int destY, int destWidth, int destHeight, bool simple) ;
 }
 
 /++