On Sun, 2006-05-07 at 03:46 +0200, Roman Kennke wrote:
> Here I provide an implementation of the new Java2D, it's called
> RasterGraphics and extends AbstractGraphics2D for arbitrary Rasters.
> This implementation serves two purposes:
> 
> 1. (most importantly) provide capability to render on BufferedImages
> 2. demonstrate how a (most simple) backend for AbstractGraphics2D is
> supposed to be implemented.
> 
> This is of course extremely simple, because the AbstractGraphics2D (in
> the simplest case) expects the backend to provide only a Raster and a
> ColorModel on which to operate. Other backends might want to:
> 
> - Provide a method to sync the raster with the surface. For instance,
> when rendering on an X Window, the provided Raster only serves as a
> intermediate storage on which the AbstractGraphics2D renders, which
> needs to be synced with the actual screen. This is performed by
> implementing the updateRaster() method accordingly. This has been proved
> (by my own XAWT peers) to be quite efficient still.
> - Provide methods for graphics primitives in the
> 'optimized' (non-Java2D) mode (i.e. with solid color, no special
> composite and no transform, excect the translation etc). This allows
> backends to speed up the usual drawing operations needed by Swing and
> apps that only depend on AWT1.1. Graphics.
> 
> 2006-05-07  Roman Kennke <[EMAIL PROTECTED]>
> 
>         * gnu/java/awt/java2d/RasterGraphics.java: New file.
> 
> /Roman

Committed to the release branch.
-- 
Andrew :)

Department of Computer Science
University of Sheffield

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to