com.nokia.mid.ui
Interface DirectGraphics

All Known Implementing Classes:
DirectGraphicsImp

public interface DirectGraphics


Field Summary
static int FLIP_HORIZONTAL
           
static int FLIP_VERTICAL
           
static int ROTATE_180
           
static int ROTATE_270
           
static int ROTATE_90
           
static int TYPE_BYTE_1_GRAY
           
static int TYPE_BYTE_1_GRAY_VERTICAL
           
static int TYPE_BYTE_2_GRAY
           
static int TYPE_BYTE_332_RGB
           
static int TYPE_BYTE_4_GRAY
           
static int TYPE_BYTE_8_GRAY
           
static int TYPE_INT_888_RGB
           
static int TYPE_INT_8888_ARGB
           
static int TYPE_USHORT_1555_ARGB
           
static int TYPE_USHORT_444_RGB
           
static int TYPE_USHORT_4444_ARGB
           
static int TYPE_USHORT_555_RGB
           
static int TYPE_USHORT_565_RGB
           
 
Method Summary
 void drawImage(Image image, int x, int y, int anchor, int manipulation)
           
 void drawPixels(byte[] pixels, byte[] transparencyMask, int offset, int scanlength, int x, int y, int width, int height, int manipulation, int format)
           
 void drawPixels(int[] pixels, boolean transparency, int offset, int scanlength, int x, int y, int width, int height, int manipulation, int format)
           
 void drawPixels(short[] pixels, boolean transparency, int offset, int scanlength, int x, int y, int width, int height, int manipulation, int format)
           
 void drawPolygon(int[] xPoints, int xOffset, int[] yPoints, int yOffset, int nPoints, int argbColor)
           
 void drawTriangle(int x1, int y1, int x2, int y2, int x3, int y3, int argbColor)
           
 void fillPolygon(int[] xPoints, int xOffset, int[] yPoints, int yOffset, int nPoints, int argbColor)
           
 void fillTriangle(int x1, int y1, int x2, int y2, int x3, int y3, int argbColor)
           
 int getAlphaComponent()
           
 int getNativePixelFormat()
           
 void getPixels(byte[] pixels, byte[] transparencyMask, int offset, int scanlength, int x, int y, int width, int height, int format)
           
 void getPixels(int[] pixels, int offset, int scanlength, int x, int y, int width, int height, int format)
           
 void getPixels(short[] pixels, int offset, int scanlength, int x, int y, int width, int height, int format)
           
 void setARGBColor(int i)
           
 

Field Detail

FLIP_HORIZONTAL

static final int FLIP_HORIZONTAL
See Also:
Constant Field Values

FLIP_VERTICAL

static final int FLIP_VERTICAL
See Also:
Constant Field Values

ROTATE_90

static final int ROTATE_90
See Also:
Constant Field Values

ROTATE_180

static final int ROTATE_180
See Also:
Constant Field Values

ROTATE_270

static final int ROTATE_270
See Also:
Constant Field Values

TYPE_BYTE_1_GRAY

static final int TYPE_BYTE_1_GRAY
See Also:
Constant Field Values

TYPE_BYTE_1_GRAY_VERTICAL

static final int TYPE_BYTE_1_GRAY_VERTICAL
See Also:
Constant Field Values

TYPE_BYTE_2_GRAY

static final int TYPE_BYTE_2_GRAY
See Also:
Constant Field Values

TYPE_BYTE_4_GRAY

static final int TYPE_BYTE_4_GRAY
See Also:
Constant Field Values

TYPE_BYTE_8_GRAY

static final int TYPE_BYTE_8_GRAY
See Also:
Constant Field Values

TYPE_BYTE_332_RGB

static final int TYPE_BYTE_332_RGB
See Also:
Constant Field Values

TYPE_USHORT_4444_ARGB

static final int TYPE_USHORT_4444_ARGB
See Also:
Constant Field Values

TYPE_USHORT_444_RGB

static final int TYPE_USHORT_444_RGB
See Also:
Constant Field Values

TYPE_USHORT_555_RGB

static final int TYPE_USHORT_555_RGB
See Also:
Constant Field Values

TYPE_USHORT_1555_ARGB

static final int TYPE_USHORT_1555_ARGB
See Also:
Constant Field Values

TYPE_USHORT_565_RGB

static final int TYPE_USHORT_565_RGB
See Also:
Constant Field Values

TYPE_INT_888_RGB

static final int TYPE_INT_888_RGB
See Also:
Constant Field Values

TYPE_INT_8888_ARGB

static final int TYPE_INT_8888_ARGB
See Also:
Constant Field Values
Method Detail

drawImage

void drawImage(Image image,
               int x,
               int y,
               int anchor,
               int manipulation)

drawPixels

void drawPixels(byte[] pixels,
                byte[] transparencyMask,
                int offset,
                int scanlength,
                int x,
                int y,
                int width,
                int height,
                int manipulation,
                int format)

drawPixels

void drawPixels(int[] pixels,
                boolean transparency,
                int offset,
                int scanlength,
                int x,
                int y,
                int width,
                int height,
                int manipulation,
                int format)

drawPixels

void drawPixels(short[] pixels,
                boolean transparency,
                int offset,
                int scanlength,
                int x,
                int y,
                int width,
                int height,
                int manipulation,
                int format)

drawPolygon

void drawPolygon(int[] xPoints,
                 int xOffset,
                 int[] yPoints,
                 int yOffset,
                 int nPoints,
                 int argbColor)

drawTriangle

void drawTriangle(int x1,
                  int y1,
                  int x2,
                  int y2,
                  int x3,
                  int y3,
                  int argbColor)

fillPolygon

void fillPolygon(int[] xPoints,
                 int xOffset,
                 int[] yPoints,
                 int yOffset,
                 int nPoints,
                 int argbColor)

fillTriangle

void fillTriangle(int x1,
                  int y1,
                  int x2,
                  int y2,
                  int x3,
                  int y3,
                  int argbColor)

getAlphaComponent

int getAlphaComponent()

getNativePixelFormat

int getNativePixelFormat()

getPixels

void getPixels(byte[] pixels,
               byte[] transparencyMask,
               int offset,
               int scanlength,
               int x,
               int y,
               int width,
               int height,
               int format)

getPixels

void getPixels(int[] pixels,
               int offset,
               int scanlength,
               int x,
               int y,
               int width,
               int height,
               int format)

getPixels

void getPixels(short[] pixels,
               int offset,
               int scanlength,
               int x,
               int y,
               int width,
               int height,
               int format)

setARGBColor

void setARGBColor(int i)


Copyright © 2001-2010 MicroEmulator Team. All Rights Reserved.