FileDocCategorySizeDatePackage
RendererBase.javaAPI DocphoneME MR2 API (J2ME)4022Wed May 02 18:00:36 BST 2007com.sun.pisces

RendererBase

public abstract class RendererBase extends LineSink

Fields Summary
public static final int
DEFAULT_SUBPIXEL_LG_POSITIONS_X
public static final int
DEFAULT_SUBPIXEL_LG_POSITIONS_Y
public static final int
WIND_EVEN_ODD
public static final int
WIND_NON_ZERO
public static final int
COMPOSITE_CLEAR
public static final int
COMPOSITE_SRC
public static final int
COMPOSITE_SRC_OVER
public static final int
TYPE_INT_RGB
Constant indicating 8/8/8 RGB pixel data stored in an int array.
public static final int
TYPE_INT_ARGB
Constant indicating 8/8/8/8 ARGB pixel data stored in an int array.
public static final int
TYPE_INT_ARGB_PRE
Constant indicating 8/8/8/8 ARGB alpha-premultiplied pixel data stored in a int array.
public static final int
TYPE_USHORT_565_RGB
Constant indicating 5/6/5 RGB pixel data stored in an short array.
public static final int
TYPE_BYTE_GRAY
Constant indicating 8 bit grayscale pixel data stored in a byte array.
protected int
imageType
Constructors Summary
public RendererBase(int imageType)


       
        this.imageType = imageType;
    
Methods Summary
public abstract voidbeginRendering(int boundsX, int boundsY, int boundsWidth, int boundsHeight, int windingRule)

public abstract voidclearRect(int x, int y, int w, int h)

public abstract voidclose()

public voidend()

        // Do nothing
    
public abstract voidendRendering()

public abstract voidgetBoundingBox(int[] bbox)

public voidgetImageData(java.lang.Object data, int offset, int scanlineStride)

        // do nothing
    
public intgetImageType()

        return imageType;
    
public abstract intgetSubpixelLgPositionsX()

public abstract intgetSubpixelLgPositionsY()

public voidlineJoin()

        // Do nothing
    
public abstract voidlineTo(int x1, int y1)

public abstract voidmoveTo(int x0, int y0)

public abstract voidsetAntialiasing(int subpixelLgPositionsX, int subpixelLgPositionsY)

public abstract voidsetColor(int red, int green, int blue, int alpha)

public abstract voidsetPaint(Paint paint)