    FOREIGN MODULE sun_java2d;

    IMPORT
        java_lang,
        java_awt_print,
        java_awt,
        sun_java2d_pipe,
        java_awt_image,
        java_awt_geom,
        java_awt_font,
        java_util,
        java_awt_image_renderable,
        java_text,
        sun_awt,
        java_security,
        sun_java2d_loops,
        java_io;

    TYPE

      DeviceClipping* = POINTER TO INTERFACE RECORD (java_lang.Object)
                        END;

      HackWorkAround2DIndexed* = POINTER TO INTERFACE RECORD (java_lang.Object)
                                 END;

      OutputManager* = POINTER TO INTERFACE RECORD (java_lang.Object)
                       END;

      PathGraphics* = POINTER TO ABSTRACT RECORD (ProxyGraphics2D)
                      STATIC
                        PROCEDURE Init!(p0 : java_awt.Graphics2D;
                                        p1 : java_awt_print.PrinterJob) : PathGraphics,CONSTRUCTOR;
                      END;

      PeekGraphics$ImageWaiter* = POINTER TO EXTENSIBLE RECORD (java_lang.Object + java_awt_image.ImageObserver)
                                  END;

      PeekGraphics* = POINTER TO EXTENSIBLE RECORD (java_awt.Graphics2D + java_awt_print.PrinterGraphics + java_awt_image.ImageObserver + java_lang.Cloneable)
                      STATIC
                        PROCEDURE Init*(p0 : java_awt.Graphics2D;
                                        p1 : java_awt_print.PrinterJob) : PeekGraphics,CONSTRUCTOR;
                      END;

      PeekMetrics* = POINTER TO EXTENSIBLE RECORD (java_lang.Object)
                     STATIC
                       PROCEDURE Init*() : PeekMetrics,CONSTRUCTOR;
                     END;

      ProxyGraphics2D* = POINTER TO EXTENSIBLE RECORD (java_awt.Graphics2D + java_awt_print.PrinterGraphics)
                         STATIC
                           PROCEDURE Init*(p0 : java_awt.Graphics2D;
                                           p1 : java_awt_print.PrinterJob) : ProxyGraphics2D,CONSTRUCTOR;
                         END;

      RasterPrinterJob* = POINTER TO ABSTRACT RECORD (java_awt_print.PrinterJob)
                          STATIC
                            PROCEDURE Init*() : RasterPrinterJob,CONSTRUCTOR;
                          END;

      SunGraphics2D* = POINTER TO ABSTRACT RECORD (java_awt.Graphics2D + sun_awt.ConstrainableGraphics + java_lang.Cloneable)
                         paintState* : INTEGER;
                         compositeState* : INTEGER;
                         strokeState* : INTEGER;
                         transformState* : INTEGER;
                         clipState* : INTEGER;
                         modeState* : INTEGER;
                         foregroundColor* : java_awt.Color;
                         backgroundColor* : java_awt.Color;
                         xorColor* : java_awt.Color;
                         transform* : java_awt_geom.AffineTransform;
                         transX* : INTEGER;
                         transY* : INTEGER;
                         complexTransform* : BOOLEAN;
                         stroke* : java_awt.Stroke;
                         composite* : java_awt.Composite;
                         paint* : java_awt.Paint;
                         renderHint* : INTEGER;
                         antialiasHint* : INTEGER;
                         font! : java_awt.Font;
                         fontMetrics! : java_awt.FontMetrics;
                         hints* : java_awt.RenderingHints;
                         constrainClip* : java_awt.Rectangle;
                         constrainX* : INTEGER;
                         constrainY* : INTEGER;
                         clipRegion* : sun_java2d_pipe.Region;
                         usrClip* : java_awt.Shape;
                         devClip! : java_awt.Rectangle;
                         compBounds! : java_awt.Rectangle;
                         drawpipe* : sun_java2d_pipe.PixelDrawPipe;
                         fillpipe* : sun_java2d_pipe.PixelFillPipe;
                         shapepipe* : sun_java2d_pipe.ShapeDrawPipe;
                         textpipe* : sun_java2d_pipe.TextPipe;
                         alphapipe* : sun_java2d_pipe.CompositePipe;
                         simpleText* : BOOLEAN;
                       STATIC
                         XRGBModel* : java_awt_image.ColorModel;
                         LOCK_OK* = 1;
                         UNLOCK_OK* = 2;
                         LOCK_FORMAT_PROBLEM* = 3;
                         LOCK_GEOMETRY_PROBLEM* = 4;
                         LOCK_DATA_STRUCT_PROBLEM* = 5;
                         LOCK_NOT_LOCKED* = 6;
                         LOCK_ALREADY_LOCKED* = 7;
                         PAINT_TILE* = 2;
                         PAINT_SINGLECOLOR* = 1;
                         PAINT_SOLIDCOLOR* = 0;
                         COMP_CUSTOM* = 3;
                         COMP_XOR* = 2;
                         COMP_ALPHA* = 1;
                         COMP_ISCOPY* = 0;
                         STROKE_CUSTOM* = 1;
                         STROKE_BASIC* = 0;
                         TRANSFORM_GENERIC* = 2;
                         TRANSFORM_TRANSLATEONLY* = 1;
                         TRANSFORM_ISIDENT* = 0;
                         CLIP_SHAPE* = 2;
                         CLIP_RECTANGULAR* = 1;
                         CLIP_DEVICE* = 0;
                         XOR_MODE* = 1;
                         PAINT_MODE* = 0;
                         nullXORColor! : java_awt.Color;
                         defaultStroke! : java_awt.Stroke;
                         defaultComposite! : java_awt.Composite;
                         invalidpipe! : sun_java2d_pipe.ValidatePipe;
                         metricscache* : POINTER TO ARRAY OF SunGraphics2D$CachedMetrics;
                         PROCEDURE Init!() : SunGraphics2D,CONSTRUCTOR;
                         PROCEDURE cloneShape!(p0 : java_awt.Shape) : java_awt.Shape;
                         PROCEDURE makeFontMetrics*(    p0 : java_awt.Font;
                                                    IN  p1 : ARRAY OF REAL;
                                                        p2 : BOOLEAN;
                                                        p3 : BOOLEAN) : java_awt.FontMetrics;
                         PROCEDURE transformShape!(p0 : INTEGER;
                                                   p1 : INTEGER;
                                                   p2 : java_awt.Shape) : java_awt.Shape;
                         PROCEDURE transformShape!(p0 : java_awt_geom.AffineTransform;
                                                   p1 : java_awt.Shape) : java_awt.Shape;
                       END;

      SunGraphicsEnvironment$T1Filter* = POINTER TO EXTENSIBLE RECORD (java_lang.Object + java_io.FilenameFilter)
                                         STATIC
                                           PROCEDURE Init!(p0 : SunGraphicsEnvironment) : SunGraphicsEnvironment$T1Filter,CONSTRUCTOR;
                                         END;

      SunGraphicsEnvironment$T2KFilter* = POINTER TO EXTENSIBLE RECORD (java_lang.Object + java_io.FilenameFilter)
                                          STATIC
                                            PROCEDURE Init!(p0 : SunGraphicsEnvironment) : SunGraphicsEnvironment$T2KFilter,CONSTRUCTOR;
                                          END;

      SunGraphicsEnvironment$TTFilter* = POINTER TO EXTENSIBLE RECORD (java_lang.Object + java_io.FilenameFilter)
                                         STATIC
                                           PROCEDURE Init!(p0 : SunGraphicsEnvironment) : SunGraphicsEnvironment$TTFilter,CONSTRUCTOR;
                                         END;

      SunGraphicsEnvironment* = POINTER TO ABSTRACT RECORD (java_awt.GraphicsEnvironment)
                                  fontPath! : java_lang.String;
                                  registeredFonts! : java_util.TreeMap;
                                  osVersion! : java_lang.String;
                                STATIC
                                  PROCEDURE Init*() : SunGraphicsEnvironment,CONSTRUCTOR;
                                  PROCEDURE getBestFontFor*(p0 : java_text.AttributedCharacterIterator;
                                                            p1 : INTEGER;
                                                            p2 : INTEGER) : java_awt.Font;
                                  PROCEDURE styleStr*(p0 : INTEGER) : java_lang.String;
                                END;

      SunOutputManager* = POINTER TO ABSTRACT RECORD (java_lang.Object + OutputManager)
                          STATIC
                            PROCEDURE Init*() : SunOutputManager,CONSTRUCTOR;
                            PROCEDURE constructAliasedPipe*(p0 : SunGraphics2D;
                                                            p1 : sun_java2d_pipe.SimpleRenderPipe);
                            PROCEDURE constructAlphaPipe*(p0 : SunGraphics2D);
                            PROCEDURE constructGenericPipe*(p0 : SunGraphics2D);
                          END;

    PROCEDURE (self:DeviceClipping) changeClip*(p0 : INTEGER;
                                                p1 : INTEGER;
                                                p2 : INTEGER;
                                                p3 : INTEGER;
                                                p4 : BOOLEAN),NEW,ABSTRACT;

    PROCEDURE (self:DeviceClipping) removeClip*(),NEW,ABSTRACT;

    PROCEDURE (self:OutputManager) copyArea*(    p0 : SunGraphics2D;
                                             IN  p1 : ARRAY OF BYTE;
                                                 p2 : INTEGER;
                                                 p3 : INTEGER;
                                                 p4 : INTEGER;
                                                 p5 : INTEGER;
                                                 p6 : INTEGER;
                                                 p7 : INTEGER;
                                                 p8 : INTEGER;
                                                 p9 : INTEGER;
                                                 p10 : java_lang.Object) : java_lang.Object,NEW,ABSTRACT;

    PROCEDURE (self:OutputManager) drawString*(    p0 : SunGraphics2D;
                                                   p1 : INTEGER;
                                                   p2 : java_lang.String;
                                                   p3 : SHORTREAL;
                                                   p4 : SHORTREAL;
                                                   p5 : SHORTREAL;
                                               IN  p6 : ARRAY OF SHORTREAL;
                                                   p7 : java_awt.Font;
                                                   p8 : BOOLEAN;
                                                   p9 : BOOLEAN),NEW,ABSTRACT;

    PROCEDURE (self:OutputManager) getColorPipe*() : sun_java2d_pipe.AlphaColorPipe,NEW,ABSTRACT;

    PROCEDURE (self:OutputManager) getPreferredModel*(p0 : java_awt_image.ColorModel;
                                                      p1 : java_awt_image.Raster;
                                                      p2 : java_awt.AlphaComposite;
                                                      p3 : java_awt.Color;
                                                      p4 : BOOLEAN) : java_awt_image.ColorModel,NEW,ABSTRACT;

    PROCEDURE (self:OutputManager) renderImage*(    p0 : SunGraphics2D;
                                                    p1 : java_awt_image.BufferedImage;
                                                    p2 : java_awt.Color;
                                                    p3 : INTEGER;
                                                    p4 : INTEGER;
                                                    p5 : INTEGER;
                                                    p6 : INTEGER;
                                                IN  p7 : ARRAY OF BYTE;
                                                    p8 : INTEGER;
                                                    p9 : java_lang.Object) : java_lang.Object,NEW,ABSTRACT;

    PROCEDURE (self:OutputManager) validatePipe*(p0 : SunGraphics2D),NEW,ABSTRACT;

    PROCEDURE (self:PathGraphics) clearRect*(p0 : INTEGER;
                                             p1 : INTEGER;
                                             p2 : INTEGER;
                                             p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PathGraphics) deviceClip!(p0 : java_awt_geom.PathIterator),NEW,ABSTRACT;

    PROCEDURE (self:PathGraphics) deviceFill!(p0 : java_awt_geom.PathIterator;
                                              p1 : java_awt.Color),NEW,ABSTRACT;

    PROCEDURE (self:PathGraphics) draw*(p0 : java_awt.Shape),EXTENSIBLE;

    PROCEDURE (self:PathGraphics) drawArc*(p0 : INTEGER;
                                           p1 : INTEGER;
                                           p2 : INTEGER;
                                           p3 : INTEGER;
                                           p4 : INTEGER;
                                           p5 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PathGraphics) drawGlyphVector*(p0 : java_awt_font.GlyphVector;
                                                   p1 : SHORTREAL;
                                                   p2 : SHORTREAL),EXTENSIBLE;

    PROCEDURE (self:PathGraphics) drawLine*(p0 : INTEGER;
                                            p1 : INTEGER;
                                            p2 : INTEGER;
                                            p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PathGraphics) drawOval*(p0 : INTEGER;
                                            p1 : INTEGER;
                                            p2 : INTEGER;
                                            p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PathGraphics) drawPolygon*(p0 : java_awt.Polygon),EXTENSIBLE;

    PROCEDURE (self:PathGraphics) drawPolygon*(IN  p0 : ARRAY OF INTEGER;
                                               IN  p1 : ARRAY OF INTEGER;
                                                   p2 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PathGraphics) drawPolyline*(IN  p0 : ARRAY OF INTEGER;
                                                IN  p1 : ARRAY OF INTEGER;
                                                    p2 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PathGraphics) drawRect*(p0 : INTEGER;
                                            p1 : INTEGER;
                                            p2 : INTEGER;
                                            p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PathGraphics) drawRoundRect*(p0 : INTEGER;
                                                 p1 : INTEGER;
                                                 p2 : INTEGER;
                                                 p3 : INTEGER;
                                                 p4 : INTEGER;
                                                 p5 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PathGraphics) drawString*(p0 : java_lang.String;
                                              p1 : INTEGER;
                                              p2 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PathGraphics) fill*(p0 : java_awt.Shape),EXTENSIBLE;

    PROCEDURE (self:PathGraphics) fill*(p0 : java_awt.Shape;
                                        p1 : java_awt.Color),NEW,EXTENSIBLE;

    PROCEDURE (self:PathGraphics) fillArc*(p0 : INTEGER;
                                           p1 : INTEGER;
                                           p2 : INTEGER;
                                           p3 : INTEGER;
                                           p4 : INTEGER;
                                           p5 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PathGraphics) fillOval*(p0 : INTEGER;
                                            p1 : INTEGER;
                                            p2 : INTEGER;
                                            p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PathGraphics) fillPolygon*(p0 : java_awt.Polygon),EXTENSIBLE;

    PROCEDURE (self:PathGraphics) fillPolygon*(IN  p0 : ARRAY OF INTEGER;
                                               IN  p1 : ARRAY OF INTEGER;
                                                   p2 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PathGraphics) fillRect*(p0 : INTEGER;
                                            p1 : INTEGER;
                                            p2 : INTEGER;
                                            p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PathGraphics) fillRoundRect*(p0 : INTEGER;
                                                 p1 : INTEGER;
                                                 p2 : INTEGER;
                                                 p3 : INTEGER;
                                                 p4 : INTEGER;
                                                 p5 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics$ImageWaiter) getHeight*() : INTEGER,NEW,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics$ImageWaiter) getWidth*() : INTEGER,NEW,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics$ImageWaiter) imageUpdate*(p0 : java_awt.Image;
                                                           p1 : INTEGER;
                                                           p2 : INTEGER;
                                                           p3 : INTEGER;
                                                           p4 : INTEGER;
                                                           p5 : INTEGER) : BOOLEAN,NEW,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) addRenderingHints*(p0 : java_util.Map),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) clearRect*(p0 : INTEGER;
                                             p1 : INTEGER;
                                             p2 : INTEGER;
                                             p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) clip*(p0 : java_awt.Shape),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) clipRect*(p0 : INTEGER;
                                            p1 : INTEGER;
                                            p2 : INTEGER;
                                            p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) copyArea*(p0 : INTEGER;
                                            p1 : INTEGER;
                                            p2 : INTEGER;
                                            p3 : INTEGER;
                                            p4 : INTEGER;
                                            p5 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) create*() : java_awt.Graphics,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) dispose*(),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) draw*(p0 : java_awt.Shape),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawArc*(p0 : INTEGER;
                                           p1 : INTEGER;
                                           p2 : INTEGER;
                                           p3 : INTEGER;
                                           p4 : INTEGER;
                                           p5 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawGlyphVector*(p0 : java_awt_font.GlyphVector;
                                                   p1 : SHORTREAL;
                                                   p2 : SHORTREAL),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawImage*(p0 : java_awt.Image;
                                             p1 : INTEGER;
                                             p2 : INTEGER;
                                             p3 : INTEGER;
                                             p4 : INTEGER;
                                             p5 : INTEGER;
                                             p6 : INTEGER;
                                             p7 : INTEGER;
                                             p8 : INTEGER;
                                             p9 : java_awt.Color;
                                             p10 : java_awt_image.ImageObserver) : BOOLEAN,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawImage*(p0 : java_awt.Image;
                                             p1 : INTEGER;
                                             p2 : INTEGER;
                                             p3 : INTEGER;
                                             p4 : INTEGER;
                                             p5 : INTEGER;
                                             p6 : INTEGER;
                                             p7 : INTEGER;
                                             p8 : INTEGER;
                                             p9 : java_awt_image.ImageObserver) : BOOLEAN,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawImage*(p0 : java_awt.Image;
                                             p1 : INTEGER;
                                             p2 : INTEGER;
                                             p3 : INTEGER;
                                             p4 : INTEGER;
                                             p5 : java_awt.Color;
                                             p6 : java_awt_image.ImageObserver) : BOOLEAN,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawImage*(p0 : java_awt.Image;
                                             p1 : INTEGER;
                                             p2 : INTEGER;
                                             p3 : INTEGER;
                                             p4 : INTEGER;
                                             p5 : java_awt_image.ImageObserver) : BOOLEAN,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawImage*(p0 : java_awt.Image;
                                             p1 : INTEGER;
                                             p2 : INTEGER;
                                             p3 : java_awt.Color;
                                             p4 : java_awt_image.ImageObserver) : BOOLEAN,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawImage*(p0 : java_awt.Image;
                                             p1 : INTEGER;
                                             p2 : INTEGER;
                                             p3 : java_awt_image.ImageObserver) : BOOLEAN,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawImage*(p0 : java_awt.Image;
                                             p1 : java_awt_geom.AffineTransform;
                                             p2 : java_awt_image.ImageObserver) : BOOLEAN,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawImage*(p0 : java_awt_image.BufferedImage;
                                             p1 : java_awt_image.BufferedImageOp;
                                             p2 : INTEGER;
                                             p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawLine*(p0 : INTEGER;
                                            p1 : INTEGER;
                                            p2 : INTEGER;
                                            p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawOval*(p0 : INTEGER;
                                            p1 : INTEGER;
                                            p2 : INTEGER;
                                            p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawPolygon*(IN  p0 : ARRAY OF INTEGER;
                                               IN  p1 : ARRAY OF INTEGER;
                                                   p2 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawPolyline*(IN  p0 : ARRAY OF INTEGER;
                                                IN  p1 : ARRAY OF INTEGER;
                                                    p2 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawRenderableImage*(p0 : java_awt_image_renderable.RenderableImage;
                                                       p1 : java_awt_geom.AffineTransform),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawRenderedImage*(p0 : java_awt_image.RenderedImage;
                                                     p1 : java_awt_geom.AffineTransform),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawRoundRect*(p0 : INTEGER;
                                                 p1 : INTEGER;
                                                 p2 : INTEGER;
                                                 p3 : INTEGER;
                                                 p4 : INTEGER;
                                                 p5 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawString*(p0 : java_lang.String;
                                              p1 : SHORTREAL;
                                              p2 : SHORTREAL),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawString*(p0 : java_lang.String;
                                              p1 : INTEGER;
                                              p2 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawString*(p0 : java_text.AttributedCharacterIterator;
                                              p1 : SHORTREAL;
                                              p2 : SHORTREAL),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) drawString*(p0 : java_text.AttributedCharacterIterator;
                                              p1 : INTEGER;
                                              p2 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) fill*(p0 : java_awt.Shape),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) fillArc*(p0 : INTEGER;
                                           p1 : INTEGER;
                                           p2 : INTEGER;
                                           p3 : INTEGER;
                                           p4 : INTEGER;
                                           p5 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) fillOval*(p0 : INTEGER;
                                            p1 : INTEGER;
                                            p2 : INTEGER;
                                            p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) fillPolygon*(IN  p0 : ARRAY OF INTEGER;
                                               IN  p1 : ARRAY OF INTEGER;
                                                   p2 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) fillRect*(p0 : INTEGER;
                                            p1 : INTEGER;
                                            p2 : INTEGER;
                                            p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) fillRoundRect*(p0 : INTEGER;
                                                 p1 : INTEGER;
                                                 p2 : INTEGER;
                                                 p3 : INTEGER;
                                                 p4 : INTEGER;
                                                 p5 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) getBackground*() : java_awt.Color,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) getClip*() : java_awt.Shape,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) getClipBounds*() : java_awt.Rectangle,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) getColor*() : java_awt.Color,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) getComposite*() : java_awt.Composite,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) getDelegate*() : java_awt.Graphics2D,NEW,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) getDeviceConfiguration*() : java_awt.GraphicsConfiguration,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) getDrawingArea*() : Spans,NEW,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) getFont*() : java_awt.Font,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) getFontMetrics*(p0 : java_awt.Font) : java_awt.FontMetrics,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) getFontRenderContext*() : java_awt_font.FontRenderContext,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) getMetrics*() : PeekMetrics,NEW,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) getPaint*() : java_awt.Paint,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) getPrinterJob*() : java_awt_print.PrinterJob,NEW,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) getRenderingHint*(p0 : java_awt.RenderingHints$Key) : java_lang.Object,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) getRenderingHints*() : java_awt.RenderingHints,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) getStroke*() : java_awt.Stroke,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) getTransform*() : java_awt_geom.AffineTransform,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) hit*(p0 : java_awt.Rectangle;
                                       p1 : java_awt.Shape;
                                       p2 : BOOLEAN) : BOOLEAN,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) hitsDrawingArea*(p0 : java_awt.Rectangle) : BOOLEAN,NEW,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) imageUpdate*(p0 : java_awt.Image;
                                               p1 : INTEGER;
                                               p2 : INTEGER;
                                               p3 : INTEGER;
                                               p4 : INTEGER;
                                               p5 : INTEGER) : BOOLEAN,NEW,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) rotate*(p0 : REAL),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) rotate*(p0 : REAL;
                                          p1 : REAL;
                                          p2 : REAL),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) scale*(p0 : REAL;
                                         p1 : REAL),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) setBackground*(p0 : java_awt.Color),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) setClip*(p0 : INTEGER;
                                           p1 : INTEGER;
                                           p2 : INTEGER;
                                           p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) setClip*(p0 : java_awt.Shape),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) setColor*(p0 : java_awt.Color),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) setComposite*(p0 : java_awt.Composite),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) setDelegate*(p0 : java_awt.Graphics2D),NEW,EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) setFont*(p0 : java_awt.Font),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) setPaint*(p0 : java_awt.Paint),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) setPaintMode*(),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) setRenderingHint*(p0 : java_awt.RenderingHints$Key;
                                                    p1 : java_lang.Object),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) setRenderingHints*(p0 : java_util.Map),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) setStroke*(p0 : java_awt.Stroke),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) setTransform*(p0 : java_awt_geom.AffineTransform),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) setXORMode*(p0 : java_awt.Color),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) shear*(p0 : REAL;
                                         p1 : REAL),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) transform*(p0 : java_awt_geom.AffineTransform),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) translate*(p0 : REAL;
                                             p1 : REAL),EXTENSIBLE;

    PROCEDURE (self:PeekGraphics) translate*(p0 : INTEGER;
                                             p1 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:PeekMetrics) clear*(p0 : java_awt.Graphics2D),NEW,EXTENSIBLE;

    PROCEDURE (self:PeekMetrics) draw*(p0 : java_awt.Graphics2D),NEW,EXTENSIBLE;

    PROCEDURE (self:PeekMetrics) drawImage*(p0 : java_awt.Graphics2D;
                                            p1 : java_awt.Image),NEW,EXTENSIBLE;

    PROCEDURE (self:PeekMetrics) drawImage*(p0 : java_awt.Graphics2D;
                                            p1 : java_awt_image.RenderedImage),NEW,EXTENSIBLE;

    PROCEDURE (self:PeekMetrics) drawImage*(p0 : java_awt.Graphics2D;
                                            p1 : java_awt_image_renderable.RenderableImage),NEW,EXTENSIBLE;

    PROCEDURE (self:PeekMetrics) drawText*(p0 : java_awt.Graphics2D),NEW,EXTENSIBLE;

    PROCEDURE (self:PeekMetrics) drawText*(p0 : java_awt.Graphics2D;
                                           p1 : java_awt_font.TextLayout),NEW,EXTENSIBLE;

    PROCEDURE (self:PeekMetrics) fill*(p0 : java_awt.Graphics2D),NEW,EXTENSIBLE;

    PROCEDURE (self:PeekMetrics) hasCompositing*() : BOOLEAN,NEW,EXTENSIBLE;

    PROCEDURE (self:PeekMetrics) hasImages*() : BOOLEAN,NEW,EXTENSIBLE;

    PROCEDURE (self:PeekMetrics) hasNonSolidColors*() : BOOLEAN,NEW,EXTENSIBLE;

    PROCEDURE (self:PeekMetrics) hasText*() : BOOLEAN,NEW,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) addRenderingHints*(p0 : java_util.Map),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) clearRect*(p0 : INTEGER;
                                                p1 : INTEGER;
                                                p2 : INTEGER;
                                                p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) clip*(p0 : java_awt.Shape),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) clipRect*(p0 : INTEGER;
                                               p1 : INTEGER;
                                               p2 : INTEGER;
                                               p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) copyArea*(p0 : INTEGER;
                                               p1 : INTEGER;
                                               p2 : INTEGER;
                                               p3 : INTEGER;
                                               p4 : INTEGER;
                                               p5 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) create*() : java_awt.Graphics,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) dispose*(),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) draw*(p0 : java_awt.Shape),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawArc*(p0 : INTEGER;
                                              p1 : INTEGER;
                                              p2 : INTEGER;
                                              p3 : INTEGER;
                                              p4 : INTEGER;
                                              p5 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawGlyphVector*(p0 : java_awt_font.GlyphVector;
                                                      p1 : SHORTREAL;
                                                      p2 : SHORTREAL),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawImage*(p0 : java_awt.Image;
                                                p1 : INTEGER;
                                                p2 : INTEGER;
                                                p3 : INTEGER;
                                                p4 : INTEGER;
                                                p5 : INTEGER;
                                                p6 : INTEGER;
                                                p7 : INTEGER;
                                                p8 : INTEGER;
                                                p9 : java_awt.Color;
                                                p10 : java_awt_image.ImageObserver) : BOOLEAN,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawImage*(p0 : java_awt.Image;
                                                p1 : INTEGER;
                                                p2 : INTEGER;
                                                p3 : INTEGER;
                                                p4 : INTEGER;
                                                p5 : INTEGER;
                                                p6 : INTEGER;
                                                p7 : INTEGER;
                                                p8 : INTEGER;
                                                p9 : java_awt_image.ImageObserver) : BOOLEAN,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawImage*(p0 : java_awt.Image;
                                                p1 : INTEGER;
                                                p2 : INTEGER;
                                                p3 : INTEGER;
                                                p4 : INTEGER;
                                                p5 : java_awt.Color;
                                                p6 : java_awt_image.ImageObserver) : BOOLEAN,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawImage*(p0 : java_awt.Image;
                                                p1 : INTEGER;
                                                p2 : INTEGER;
                                                p3 : INTEGER;
                                                p4 : INTEGER;
                                                p5 : java_awt_image.ImageObserver) : BOOLEAN,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawImage*(p0 : java_awt.Image;
                                                p1 : INTEGER;
                                                p2 : INTEGER;
                                                p3 : java_awt.Color;
                                                p4 : java_awt_image.ImageObserver) : BOOLEAN,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawImage*(p0 : java_awt.Image;
                                                p1 : INTEGER;
                                                p2 : INTEGER;
                                                p3 : java_awt_image.ImageObserver) : BOOLEAN,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawImage*(p0 : java_awt.Image;
                                                p1 : java_awt_geom.AffineTransform;
                                                p2 : java_awt_image.ImageObserver) : BOOLEAN,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawImage*(p0 : java_awt_image.BufferedImage;
                                                p1 : java_awt_image.BufferedImageOp;
                                                p2 : INTEGER;
                                                p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawLine*(p0 : INTEGER;
                                               p1 : INTEGER;
                                               p2 : INTEGER;
                                               p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawOval*(p0 : INTEGER;
                                               p1 : INTEGER;
                                               p2 : INTEGER;
                                               p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawPolygon*(IN  p0 : ARRAY OF INTEGER;
                                                  IN  p1 : ARRAY OF INTEGER;
                                                      p2 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawPolyline*(IN  p0 : ARRAY OF INTEGER;
                                                   IN  p1 : ARRAY OF INTEGER;
                                                       p2 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawRenderableImage*(p0 : java_awt_image_renderable.RenderableImage;
                                                          p1 : java_awt_geom.AffineTransform),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawRenderedImage*(p0 : java_awt_image.RenderedImage;
                                                        p1 : java_awt_geom.AffineTransform),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawRoundRect*(p0 : INTEGER;
                                                    p1 : INTEGER;
                                                    p2 : INTEGER;
                                                    p3 : INTEGER;
                                                    p4 : INTEGER;
                                                    p5 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawString*(p0 : java_lang.String;
                                                 p1 : SHORTREAL;
                                                 p2 : SHORTREAL),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawString*(p0 : java_lang.String;
                                                 p1 : INTEGER;
                                                 p2 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawString*(p0 : java_text.AttributedCharacterIterator;
                                                 p1 : SHORTREAL;
                                                 p2 : SHORTREAL),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) drawString*(p0 : java_text.AttributedCharacterIterator;
                                                 p1 : INTEGER;
                                                 p2 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) fill*(p0 : java_awt.Shape),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) fillArc*(p0 : INTEGER;
                                              p1 : INTEGER;
                                              p2 : INTEGER;
                                              p3 : INTEGER;
                                              p4 : INTEGER;
                                              p5 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) fillOval*(p0 : INTEGER;
                                               p1 : INTEGER;
                                               p2 : INTEGER;
                                               p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) fillPolygon*(IN  p0 : ARRAY OF INTEGER;
                                                  IN  p1 : ARRAY OF INTEGER;
                                                      p2 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) fillRect*(p0 : INTEGER;
                                               p1 : INTEGER;
                                               p2 : INTEGER;
                                               p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) fillRoundRect*(p0 : INTEGER;
                                                    p1 : INTEGER;
                                                    p2 : INTEGER;
                                                    p3 : INTEGER;
                                                    p4 : INTEGER;
                                                    p5 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) getBackground*() : java_awt.Color,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) getClip*() : java_awt.Shape,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) getClipBounds*() : java_awt.Rectangle,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) getColor*() : java_awt.Color,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) getComposite*() : java_awt.Composite,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) getDelegate*() : java_awt.Graphics2D,NEW,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) getDeviceConfiguration*() : java_awt.GraphicsConfiguration,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) getFont*() : java_awt.Font,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) getFontMetrics*(p0 : java_awt.Font) : java_awt.FontMetrics,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) getFontRenderContext*() : java_awt_font.FontRenderContext,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) getPaint*() : java_awt.Paint,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) getPrinterJob*() : java_awt_print.PrinterJob,NEW,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) getRenderingHint*(p0 : java_awt.RenderingHints$Key) : java_lang.Object,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) getRenderingHints*() : java_awt.RenderingHints,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) getStroke*() : java_awt.Stroke,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) getTransform*() : java_awt_geom.AffineTransform,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) hit*(p0 : java_awt.Rectangle;
                                          p1 : java_awt.Shape;
                                          p2 : BOOLEAN) : BOOLEAN,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) rotate*(p0 : REAL),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) rotate*(p0 : REAL;
                                             p1 : REAL;
                                             p2 : REAL),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) scale*(p0 : REAL;
                                            p1 : REAL),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) setBackground*(p0 : java_awt.Color),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) setClip*(p0 : INTEGER;
                                              p1 : INTEGER;
                                              p2 : INTEGER;
                                              p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) setClip*(p0 : java_awt.Shape),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) setColor*(p0 : java_awt.Color),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) setComposite*(p0 : java_awt.Composite),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) setDelegate*(p0 : java_awt.Graphics2D),NEW,EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) setFont*(p0 : java_awt.Font),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) setPaint*(p0 : java_awt.Paint),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) setPaintMode*(),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) setRenderingHint*(p0 : java_awt.RenderingHints$Key;
                                                       p1 : java_lang.Object),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) setRenderingHints*(p0 : java_util.Map),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) setStroke*(p0 : java_awt.Stroke),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) setTransform*(p0 : java_awt_geom.AffineTransform),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) setXORMode*(p0 : java_awt.Color),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) shear*(p0 : REAL;
                                            p1 : REAL),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) transform*(p0 : java_awt_geom.AffineTransform),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) translate*(p0 : REAL;
                                                p1 : REAL),EXTENSIBLE;

    PROCEDURE (self:ProxyGraphics2D) translate*(p0 : INTEGER;
                                                p1 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) cancel*(),EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) createPathGraphics!(p0 : PeekGraphics;
                                                          p1 : java_awt_print.PrinterJob) : java_awt.Graphics2D,NEW,EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) createPeekGraphics!(p0 : java_awt.Graphics2D;
                                                          p1 : java_awt_print.PrinterJob) : PeekGraphics,NEW,EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) defaultPage*(p0 : java_awt_print.PageFormat) : java_awt_print.PageFormat,EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) endDoc!(),NEW,ABSTRACT;

    PROCEDURE (self:RasterPrinterJob) endPage!(p0 : java_awt_print.PageFormat;
                                               p1 : java_awt_print.Printable;
                                               p2 : INTEGER),NEW,ABSTRACT;

    PROCEDURE (self:RasterPrinterJob) getCollatedCopies!() : INTEGER,NEW,EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) getCopies*() : INTEGER,EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) getFirstPage!() : INTEGER,NEW,EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) getJobName*() : java_lang.String,EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) getLastPage!() : INTEGER,NEW,EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) getNoncollatedCopies!() : INTEGER,NEW,EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) getPageable!() : java_awt_print.Pageable,NEW,EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) getUserName*() : java_lang.String,EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) getXRes!() : REAL,NEW,ABSTRACT;

    PROCEDURE (self:RasterPrinterJob) getYRes!() : REAL,NEW,ABSTRACT;

    PROCEDURE (self:RasterPrinterJob) isCancelled*() : BOOLEAN,EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) isCollated!() : BOOLEAN,NEW,EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) print*(),EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) printBand!(IN  p0 : ARRAY OF INTEGER;
                                                     p1 : INTEGER;
                                                     p2 : INTEGER;
                                                     p3 : INTEGER;
                                                     p4 : INTEGER),NEW,ABSTRACT;

    PROCEDURE (self:RasterPrinterJob) printPage!(p0 : java_awt_print.Pageable;
                                                 p1 : INTEGER) : INTEGER,NEW,EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) setCollated!(p0 : BOOLEAN),NEW,EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) setCopies*(p0 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) setJobName*(p0 : java_lang.String),EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) setPageRange!(p0 : INTEGER;
                                                    p1 : INTEGER),NEW,EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) setPageable*(p0 : java_awt_print.Pageable),EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) setPrintable*(p0 : java_awt_print.Printable),EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) setPrintable*(p0 : java_awt_print.Printable;
                                                    p1 : java_awt_print.PageFormat),EXTENSIBLE;

    PROCEDURE (self:RasterPrinterJob) startDoc!(),NEW,ABSTRACT;

    PROCEDURE (self:RasterPrinterJob) startPage!(p0 : java_awt_print.PageFormat;
                                                 p1 : java_awt_print.Printable;
                                                 p2 : INTEGER),NEW,ABSTRACT;

    PROCEDURE (self:RasterPrinterJob) validatePage*(p0 : java_awt_print.PageFormat) : java_awt_print.PageFormat,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) addRenderingHints*(p0 : java_util.Map),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) checkCustomComposite!(),NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) clearRect*(p0 : INTEGER;
                                              p1 : INTEGER;
                                              p2 : INTEGER;
                                              p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) clip*(p0 : java_awt.Shape),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) clipRect*(p0 : INTEGER;
                                             p1 : INTEGER;
                                             p2 : INTEGER;
                                             p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) clone!() : java_lang.Object,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) cloneTransform*() : java_awt_geom.AffineTransform,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) constrain*(p0 : INTEGER;
                                              p1 : INTEGER;
                                              p2 : INTEGER;
                                              p3 : INTEGER),NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) convertCM!(p0 : java_awt_image.BufferedImage;
                                              p1 : java_awt_image.ColorModel) : java_awt_image.BufferedImage,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) convertRaster*(p0 : java_awt_image.Raster;
                                                  p1 : java_awt_image.ColorModel;
                                                  p2 : java_awt_image.ColorModel) : java_awt_image.WritableRaster,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) copyArea*(p0 : INTEGER;
                                             p1 : INTEGER;
                                             p2 : INTEGER;
                                             p3 : INTEGER;
                                             p4 : INTEGER;
                                             p5 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) create*() : java_awt.Graphics,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) draw*(p0 : java_awt.Shape),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawArc*(p0 : INTEGER;
                                            p1 : INTEGER;
                                            p2 : INTEGER;
                                            p3 : INTEGER;
                                            p4 : INTEGER;
                                            p5 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawBytes*(    p0 : SunGraphics2D;
                                              IN  p1 : ARRAY OF BYTE;
                                                  p2 : INTEGER;
                                                  p3 : INTEGER;
                                                  p4 : INTEGER;
                                                  p5 : INTEGER;
                                                  p6 : java_lang.Object) : java_lang.Object,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawBytes*(IN  p0 : ARRAY OF BYTE;
                                                  p1 : INTEGER;
                                                  p2 : INTEGER;
                                                  p3 : INTEGER;
                                                  p4 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawChars*(    p0 : SunGraphics2D;
                                              IN  p1 : ARRAY OF CHAR;
                                                  p2 : INTEGER;
                                                  p3 : INTEGER;
                                                  p4 : INTEGER;
                                                  p5 : INTEGER;
                                                  p6 : java_lang.Object) : java_lang.Object,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawChars*(IN  p0 : ARRAY OF CHAR;
                                                  p1 : INTEGER;
                                                  p2 : INTEGER;
                                                  p3 : INTEGER;
                                                  p4 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawGlyphVector*(p0 : java_awt_font.GlyphVector;
                                                    p1 : SHORTREAL;
                                                    p2 : SHORTREAL),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawGlyphVector*(p0 : SunGraphics2D;
                                                    p1 : java_awt_font.GlyphVector;
                                                    p2 : SHORTREAL;
                                                    p3 : SHORTREAL;
                                                    p4 : java_lang.Object) : java_lang.Object,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawImage!(p0 : java_awt_image.BufferedImage;
                                              p1 : INTEGER;
                                              p2 : INTEGER;
                                              p3 : INTEGER;
                                              p4 : INTEGER;
                                              p5 : INTEGER;
                                              p6 : INTEGER;
                                              p7 : INTEGER;
                                              p8 : INTEGER;
                                              p9 : java_awt.Color;
                                              p10 : java_awt_image.ImageObserver) : BOOLEAN,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawImage!(p0 : java_awt_image.BufferedImage;
                                              p1 : INTEGER;
                                              p2 : INTEGER;
                                              p3 : INTEGER;
                                              p4 : INTEGER;
                                              p5 : java_awt.Color;
                                              p6 : java_awt_image.ImageObserver) : BOOLEAN,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawImage!(p0 : java_awt_image.BufferedImage;
                                              p1 : INTEGER;
                                              p2 : INTEGER;
                                              p3 : java_awt.Color;
                                              p4 : java_awt_image.ImageObserver) : BOOLEAN,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawImage!(p0 : java_awt_image.BufferedImage;
                                              p1 : java_awt_geom.AffineTransform;
                                              p2 : INTEGER;
                                              p3 : INTEGER;
                                              p4 : java_awt.Color;
                                              p5 : java_awt_image.ImageObserver) : BOOLEAN,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawImage*(p0 : java_awt_image.BufferedImage;
                                              p1 : java_awt_image.BufferedImageOp;
                                              p2 : INTEGER;
                                              p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawLine*(p0 : INTEGER;
                                             p1 : INTEGER;
                                             p2 : INTEGER;
                                             p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawOval*(p0 : INTEGER;
                                             p1 : INTEGER;
                                             p2 : INTEGER;
                                             p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawPolygon*(IN  p0 : ARRAY OF INTEGER;
                                                IN  p1 : ARRAY OF INTEGER;
                                                    p2 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawPolyline*(IN  p0 : ARRAY OF INTEGER;
                                                 IN  p1 : ARRAY OF INTEGER;
                                                     p2 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawRect*(p0 : INTEGER;
                                             p1 : INTEGER;
                                             p2 : INTEGER;
                                             p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawRenderableImage*(p0 : java_awt_image_renderable.RenderableImage;
                                                        p1 : java_awt_geom.AffineTransform),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawRenderedImage*(p0 : java_awt_image.RenderedImage;
                                                      p1 : java_awt_geom.AffineTransform),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawRoundRect*(p0 : INTEGER;
                                                  p1 : INTEGER;
                                                  p2 : INTEGER;
                                                  p3 : INTEGER;
                                                  p4 : INTEGER;
                                                  p5 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawString*(p0 : java_lang.String;
                                               p1 : SHORTREAL;
                                               p2 : SHORTREAL),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawString*(p0 : java_lang.String;
                                               p1 : INTEGER;
                                               p2 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawString*(p0 : java_text.AttributedCharacterIterator;
                                               p1 : SHORTREAL;
                                               p2 : SHORTREAL),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawString*(p0 : java_text.AttributedCharacterIterator;
                                               p1 : INTEGER;
                                               p2 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) drawString*(p0 : SunGraphics2D;
                                               p1 : java_lang.String;
                                               p2 : SHORTREAL;
                                               p3 : SHORTREAL;
                                               p4 : java_lang.Object) : java_lang.Object,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) fill*(p0 : java_awt.Shape),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) fillArc*(p0 : INTEGER;
                                            p1 : INTEGER;
                                            p2 : INTEGER;
                                            p3 : INTEGER;
                                            p4 : INTEGER;
                                            p5 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) fillOval*(p0 : INTEGER;
                                             p1 : INTEGER;
                                             p2 : INTEGER;
                                             p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) fillPolygon*(IN  p0 : ARRAY OF INTEGER;
                                                IN  p1 : ARRAY OF INTEGER;
                                                    p2 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) fillRect*(p0 : INTEGER;
                                             p1 : INTEGER;
                                             p2 : INTEGER;
                                             p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) fillRoundRect*(p0 : INTEGER;
                                                  p1 : INTEGER;
                                                  p2 : INTEGER;
                                                  p3 : INTEGER;
                                                  p4 : INTEGER;
                                                  p5 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) getBackground*() : java_awt.Color,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) getClip*() : java_awt.Shape,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) getClipBounds*() : java_awt.Rectangle,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) getColor*() : java_awt.Color,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) getCompBounds*() : java_awt.Rectangle,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) getComposite*() : java_awt.Composite,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) getDevID*() : java_lang.String,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) getDeviceColorModel*() : java_awt_image.ColorModel,NEW,ABSTRACT;

    PROCEDURE (self:SunGraphics2D) getDeviceConfiguration*() : java_awt.GraphicsConfiguration,ABSTRACT;

    PROCEDURE (self:SunGraphics2D) getFont*() : java_awt.Font,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) getFontMetrics*(p0 : java_awt.Font) : java_awt.FontMetrics,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) getFontRenderContext*() : java_awt_font.FontRenderContext,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) getOutputManager*() : OutputManager,NEW,ABSTRACT;

    PROCEDURE (self:SunGraphics2D) getPaint*() : java_awt.Paint,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) getRenderingHint*(p0 : java_awt.RenderingHints$Key) : java_lang.Object,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) getRenderingHints*() : java_awt.RenderingHints,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) getStroke*() : java_awt.Stroke,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) getTransform*() : java_awt_geom.AffineTransform,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) hit*(p0 : java_awt.Rectangle;
                                        p1 : java_awt.Shape;
                                        p2 : BOOLEAN) : BOOLEAN,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) invalidateClip!(),NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) invalidatePipe!(),NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) invalidateTransform!(),NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) lock*(p0 : INTEGER;
                                         p1 : INTEGER;
                                         p2 : INTEGER;
                                         p3 : INTEGER;
                                         p4 : INTEGER) : sun_java2d_loops.ImageData,NEW,ABSTRACT;

    PROCEDURE (self:SunGraphics2D) rotate*(p0 : REAL),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) rotate*(p0 : REAL;
                                           p1 : REAL;
                                           p2 : REAL),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) scale*(p0 : REAL;
                                          p1 : REAL),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) setBackground*(p0 : java_awt.Color),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) setClip*(p0 : INTEGER;
                                            p1 : INTEGER;
                                            p2 : INTEGER;
                                            p3 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) setClip*(p0 : java_awt.Shape),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) setColor*(p0 : java_awt.Color),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) setComposite*(p0 : java_awt.Composite),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) setDevClip*(p0 : INTEGER;
                                               p1 : INTEGER;
                                               p2 : INTEGER;
                                               p3 : INTEGER),NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) setFont*(p0 : java_awt.Font),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) setPaint*(p0 : java_awt.Paint),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) setPaintMode*(),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) setRenderingHint*(p0 : java_awt.RenderingHints$Key;
                                                     p1 : java_lang.Object),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) setRenderingHints*(p0 : java_util.Map),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) setStroke*(p0 : java_awt.Stroke),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) setTransform*(p0 : java_awt_geom.AffineTransform),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) setXORMode*(p0 : java_awt.Color),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) shear*(p0 : REAL;
                                          p1 : REAL),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) transform*(p0 : java_awt_geom.AffineTransform),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) transformBounds!(p0 : java_awt.Rectangle;
                                                    p1 : java_awt_geom.AffineTransform) : java_awt.Rectangle,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) transformShape!(p0 : java_awt.Shape) : java_awt.Shape,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) translate*(p0 : REAL;
                                              p1 : REAL),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) translate*(p0 : INTEGER;
                                              p1 : INTEGER),EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) unlock*(p0 : sun_java2d_loops.ImageData) : INTEGER,NEW,ABSTRACT;

    PROCEDURE (self:SunGraphics2D) untransformShape!(p0 : java_awt.Shape) : java_awt.Shape,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphics2D) validatePipe*(),NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment$T1Filter) accept*(p0 : java_io.File;
                                                             p1 : java_lang.String) : BOOLEAN,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment$T2KFilter) accept*(p0 : java_io.File;
                                                              p1 : java_lang.String) : BOOLEAN,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment$TTFilter) accept*(p0 : java_io.File;
                                                             p1 : java_lang.String) : BOOLEAN,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment) createGraphics*(p0 : java_awt_image.BufferedImage) : java_awt.Graphics2D,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment) getAllFonts*() : POINTER TO ARRAY OF java_awt.Font,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment) getAvailableFontFamilyNames*() : POINTER TO ARRAY OF java_lang.String,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment) getAvailableFontFamilyNames*(p0 : java_util.Locale) : POINTER TO ARRAY OF java_lang.String,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment) getDefaultScreenDevice*() : java_awt.GraphicsDevice,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment) getFileNameFromPlatformName!(p0 : java_lang.String) : java_lang.String,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment) getFontPropertyFD!(p0 : java_lang.String) : java_lang.String,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment) getNumScreens!() : INTEGER,NEW,ABSTRACT;

    PROCEDURE (self:SunGraphicsEnvironment) getOsVersion!() : java_lang.String,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment) getPrinterJob*() : java_awt_print.PrinterJob,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment) getPropString!(p0 : java_lang.String) : java_lang.String,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment) getScreenDevices*() : POINTER TO ARRAY OF java_awt.GraphicsDevice,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment) initCompositeFonts!(),NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment) loadFonts!(),NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment) makeScreenDevice!(p0 : INTEGER) : java_awt.GraphicsDevice,NEW,ABSTRACT;

    PROCEDURE (self:SunGraphicsEnvironment) mapFamilyName*(p0 : java_lang.String;
                                                           p1 : INTEGER) : java_lang.String,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment) parseFamilyNameProperty!(p0 : java_lang.String) : java_lang.String,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment) platformReady!() : BOOLEAN,NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment) registerFontPath!(p0 : java_lang.String),NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment) registerNative!(p0 : java_lang.String),NEW,EXTENSIBLE;

    PROCEDURE (self:SunGraphicsEnvironment) registerNativeFonts!() : BOOLEAN,NEW,EXTENSIBLE;

    PROCEDURE (self:SunOutputManager) copyArea*(    p0 : SunGraphics2D;
                                                IN  p1 : ARRAY OF BYTE;
                                                    p2 : INTEGER;
                                                    p3 : INTEGER;
                                                    p4 : INTEGER;
                                                    p5 : INTEGER;
                                                    p6 : INTEGER;
                                                    p7 : INTEGER;
                                                    p8 : INTEGER;
                                                    p9 : INTEGER;
                                                    p10 : java_lang.Object) : java_lang.Object,NEW,ABSTRACT;

    PROCEDURE (self:SunOutputManager) drawString*(    p0 : SunGraphics2D;
                                                      p1 : INTEGER;
                                                      p2 : java_lang.String;
                                                      p3 : SHORTREAL;
                                                      p4 : SHORTREAL;
                                                      p5 : SHORTREAL;
                                                  IN  p6 : ARRAY OF SHORTREAL;
                                                      p7 : java_awt.Font;
                                                      p8 : BOOLEAN;
                                                      p9 : BOOLEAN),NEW,EXTENSIBLE;

    PROCEDURE (self:SunOutputManager) getColorPipe*() : sun_java2d_pipe.AlphaColorPipe,NEW,ABSTRACT;

    PROCEDURE (self:SunOutputManager) getPreferredModel*(p0 : java_awt_image.ColorModel;
                                                         p1 : java_awt_image.Raster;
                                                         p2 : java_awt.AlphaComposite;
                                                         p3 : java_awt.Color;
                                                         p4 : BOOLEAN) : java_awt_image.ColorModel,NEW,ABSTRACT;

    PROCEDURE (self:SunOutputManager) renderImage*(    p0 : SunGraphics2D;
                                                       p1 : java_awt_image.BufferedImage;
                                                       p2 : java_awt.Color;
                                                       p3 : INTEGER;
                                                       p4 : INTEGER;
                                                       p5 : INTEGER;
                                                       p6 : INTEGER;
                                                   IN  p7 : ARRAY OF BYTE;
                                                       p8 : INTEGER;
                                                       p9 : java_lang.Object) : java_lang.Object,NEW,EXTENSIBLE;

    PROCEDURE (self:SunOutputManager) validatePipe*(p0 : SunGraphics2D),NEW,EXTENSIBLE;

    END sun_java2d.