INTEGRATION: CWS canvas02 (1.4.10); FILE MERGED

2005/10/08 12:46:34 thb 1.4.10.3: RESYNC: (1.5-1.6); FILE MERGED
2005/06/28 14:03:25 hr 1.4.10.2: RESYNC: (1.4-1.5); FILE MERGED
2005/06/17 23:49:46 thb 1.4.10.1: #i48939# Huge refactoring of canvas; as much functionality as possible is now common in a bunch of shared base classes (input checking, locking, sprite redraw, etc.); added scroll update optimization, transparently to all canvas implementations
This commit is contained in:
Kurt Zenker
2005-11-02 11:47:10 +00:00
parent c7a7b75e90
commit 731770612e

View File

@@ -4,9 +4,9 @@
*
* $RCSfile: JavaCanvas.java,v $
*
* $Revision: 1.6 $
* $Revision: 1.7 $
*
* last change: $Author: rt $ $Date: 2005-09-07 23:11:14 $
* last change: $Author: kz $ $Date: 2005-11-02 12:47:10 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -455,12 +455,21 @@ public class JavaCanvas
//----------------------------------------------------------------------------------
public synchronized boolean hasAlpha()
{
// TODO
return false;
}
//----------------------------------------------------------------------------------
//
// XIntegerBitmap implementation
// =============================
//
public synchronized byte[] getData( IntegerRectangle2D rect )
public synchronized byte[] getData( IntegerBitmapLayout[] bitmapLayout,
IntegerRectangle2D rect )
{
// TODO
return null;
@@ -482,7 +491,8 @@ public class JavaCanvas
//----------------------------------------------------------------------------------
public synchronized byte[] getPixel( IntegerPoint2D pos )
public synchronized byte[] getPixel( IntegerBitmapLayout[] bitmapLayout,
IntegerPoint2D pos )
{
// TODO
return null;
@@ -510,7 +520,7 @@ public class JavaCanvas
layout.NumComponents = 4;
layout.ComponentMasks = null;
layout.Endianness = 0;
layout.IsPseudoColor = false;
layout.IsMsbFirst = false;
return layout;
}