org.jfree.pixie.wmf
Class MfType

java.lang.Object
  extended by org.jfree.pixie.wmf.MfType

public class MfType
extends java.lang.Object

Predefined types of Windows metafile records.


Field Summary
static int ANIMATE_PALETTE
           
static int ARC
           
static int BIT_BLT
           
static int CHORD
           
static int CREATE_BRUSH_INDIRECT
           
static int CREATE_DIB_PATTERN_BRUSH
           
static int CREATE_FONT_INDIRECT
           
static int CREATE_PALETTE
           
static int CREATE_PATTERN_BRUSH
           
static int CREATE_PEN_INDIRECT
           
static int CREATE_REGION
           
static int DELETE_OBJECT
           
static int ELLIPSE
           
static int END_OF_FILE
           
static int ESCAPE
           
static int EXCLUDE_CLIP_RECT
           
static int EXT_FLOOD_FILL
           
static int EXT_TEXT_OUT
           
static int FILL_REGION
           
static int FLOOD_FILL
           
static int FRAME_REGION
           
static int INTERSECT_CLIP_RECT
           
static int INVERT_REGION
           
static int LINE_TO
           
static int MAPPING_MODE
           
static int MOVE_TO
           
static int OFFSET_CLIP_RGN
           
static int OFFSET_VIEWPORT_ORG
           
static int OFFSET_WINDOW_ORG
           
static int OLD_BIT_BLT
           
static int OLD_CREATE_PATTERN_BRUSH
           
static int OLD_STRETCH_BLT
           
static int PAINTREGION
           
static int PAT_BLT
           
static int PIE
           
static int POLY_POLYGON
           
static int POLYGON
           
static int POLYLINE
           
static int RASTER
           
static int REALISE_PALETTE
           
static int RECTANGLE
           
static int RESIZE_PALETTE
           
static int RESTORE_DC
           
static int ROUND_RECT
           
static int SAVE_DC
           
static int SCALE_VIEWPORT_EXT
           
static int SCALE_WINDOW_EXT
           
static int SELECT_CLIP_REGION
           
static int SELECT_OBJECT
           
static int SELECT_PALETTE
           
static int SET_BK_COLOR
           
static int SET_BK_MODE
           
static int SET_DIBITS_TO_DEVICE
           
static int SET_MAP_MODE
           
static int SET_MAPPER_FLAGS
           
static int SET_PALETTE_ENTRIES
           
static int SET_PIXEL
           
static int SET_POLY_FILL_MODE
           
static int SET_ROP2
           
static int SET_STRETCH_BLT_MODE
           
static int SET_TEXT_ALIGN
           
static int SET_TEXT_CHAR_EXTRA
           
static int SET_TEXT_COLOR
           
static int SET_TEXT_JUSTIFICATION
           
static int SET_VIEWPORT_EXT
           
static int SET_VIEWPORT_ORG
           
static int SET_WINDOW_EXT
           
static int SET_WINDOW_ORG
           
static int STATE
          Type bit flags.
static int STRETCH_BLT
           
static int STRETCH_DIBITS
           
static int TEXT_OUT
           
static int VECTOR
           
 
Method Summary
 boolean doesMark()
          True if this record marks the screen.
static MfType get(int id)
          Map a 16-bit type id onto an object.
 int getId()
           
 java.lang.String getName()
           
 int getType()
           
 boolean isMappingMode()
          True if this record affects mapping modes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CREATE_DIB_PATTERN_BRUSH

public static final int CREATE_DIB_PATTERN_BRUSH
See Also:
Constant Field Values

CREATE_PATTERN_BRUSH

public static final int CREATE_PATTERN_BRUSH
See Also:
Constant Field Values

SET_DIBITS_TO_DEVICE

public static final int SET_DIBITS_TO_DEVICE
See Also:
Constant Field Values

ANIMATE_PALETTE

public static final int ANIMATE_PALETTE
See Also:
Constant Field Values

ARC

public static final int ARC
See Also:
Constant Field Values

BIT_BLT

public static final int BIT_BLT
See Also:
Constant Field Values

CHORD

public static final int CHORD
See Also:
Constant Field Values

CREATE_BRUSH_INDIRECT

public static final int CREATE_BRUSH_INDIRECT
See Also:
Constant Field Values

CREATE_FONT_INDIRECT

public static final int CREATE_FONT_INDIRECT
See Also:
Constant Field Values

CREATE_PALETTE

public static final int CREATE_PALETTE
See Also:
Constant Field Values

CREATE_PEN_INDIRECT

public static final int CREATE_PEN_INDIRECT
See Also:
Constant Field Values

CREATE_REGION

public static final int CREATE_REGION
See Also:
Constant Field Values

DELETE_OBJECT

public static final int DELETE_OBJECT
See Also:
Constant Field Values

ELLIPSE

public static final int ELLIPSE
See Also:
Constant Field Values

ESCAPE

public static final int ESCAPE
See Also:
Constant Field Values

EXCLUDE_CLIP_RECT

public static final int EXCLUDE_CLIP_RECT
See Also:
Constant Field Values

EXT_FLOOD_FILL

public static final int EXT_FLOOD_FILL
See Also:
Constant Field Values

EXT_TEXT_OUT

public static final int EXT_TEXT_OUT
See Also:
Constant Field Values

FLOOD_FILL

public static final int FLOOD_FILL
See Also:
Constant Field Values

FILL_REGION

public static final int FILL_REGION
See Also:
Constant Field Values

FRAME_REGION

public static final int FRAME_REGION
See Also:
Constant Field Values

INTERSECT_CLIP_RECT

public static final int INTERSECT_CLIP_RECT
See Also:
Constant Field Values

INVERT_REGION

public static final int INVERT_REGION
See Also:
Constant Field Values

LINE_TO

public static final int LINE_TO
See Also:
Constant Field Values

MOVE_TO

public static final int MOVE_TO
See Also:
Constant Field Values

OFFSET_CLIP_RGN

public static final int OFFSET_CLIP_RGN
See Also:
Constant Field Values

OFFSET_VIEWPORT_ORG

public static final int OFFSET_VIEWPORT_ORG
See Also:
Constant Field Values

OFFSET_WINDOW_ORG

public static final int OFFSET_WINDOW_ORG
See Also:
Constant Field Values

PAINTREGION

public static final int PAINTREGION
See Also:
Constant Field Values

PAT_BLT

public static final int PAT_BLT
See Also:
Constant Field Values

PIE

public static final int PIE
See Also:
Constant Field Values

POLYGON

public static final int POLYGON
See Also:
Constant Field Values

POLYLINE

public static final int POLYLINE
See Also:
Constant Field Values

POLY_POLYGON

public static final int POLY_POLYGON
See Also:
Constant Field Values

REALISE_PALETTE

public static final int REALISE_PALETTE
See Also:
Constant Field Values

RECTANGLE

public static final int RECTANGLE
See Also:
Constant Field Values

RESIZE_PALETTE

public static final int RESIZE_PALETTE
See Also:
Constant Field Values

RESTORE_DC

public static final int RESTORE_DC
See Also:
Constant Field Values

ROUND_RECT

public static final int ROUND_RECT
See Also:
Constant Field Values

SAVE_DC

public static final int SAVE_DC
See Also:
Constant Field Values

SCALE_VIEWPORT_EXT

public static final int SCALE_VIEWPORT_EXT
See Also:
Constant Field Values

SCALE_WINDOW_EXT

public static final int SCALE_WINDOW_EXT
See Also:
Constant Field Values

SELECT_CLIP_REGION

public static final int SELECT_CLIP_REGION
See Also:
Constant Field Values

SELECT_OBJECT

public static final int SELECT_OBJECT
See Also:
Constant Field Values

SELECT_PALETTE

public static final int SELECT_PALETTE
See Also:
Constant Field Values

SET_BK_COLOR

public static final int SET_BK_COLOR
See Also:
Constant Field Values

SET_BK_MODE

public static final int SET_BK_MODE
See Also:
Constant Field Values

SET_MAP_MODE

public static final int SET_MAP_MODE
See Also:
Constant Field Values

SET_MAPPER_FLAGS

public static final int SET_MAPPER_FLAGS
See Also:
Constant Field Values

SET_PALETTE_ENTRIES

public static final int SET_PALETTE_ENTRIES
See Also:
Constant Field Values

SET_PIXEL

public static final int SET_PIXEL
See Also:
Constant Field Values

SET_POLY_FILL_MODE

public static final int SET_POLY_FILL_MODE
See Also:
Constant Field Values

SET_ROP2

public static final int SET_ROP2
See Also:
Constant Field Values

SET_STRETCH_BLT_MODE

public static final int SET_STRETCH_BLT_MODE
See Also:
Constant Field Values

SET_TEXT_ALIGN

public static final int SET_TEXT_ALIGN
See Also:
Constant Field Values

SET_TEXT_CHAR_EXTRA

public static final int SET_TEXT_CHAR_EXTRA
See Also:
Constant Field Values

SET_TEXT_COLOR

public static final int SET_TEXT_COLOR
See Also:
Constant Field Values

SET_TEXT_JUSTIFICATION

public static final int SET_TEXT_JUSTIFICATION
See Also:
Constant Field Values

SET_VIEWPORT_EXT

public static final int SET_VIEWPORT_EXT
See Also:
Constant Field Values

SET_VIEWPORT_ORG

public static final int SET_VIEWPORT_ORG
See Also:
Constant Field Values

SET_WINDOW_EXT

public static final int SET_WINDOW_EXT
See Also:
Constant Field Values

SET_WINDOW_ORG

public static final int SET_WINDOW_ORG
See Also:
Constant Field Values

STRETCH_BLT

public static final int STRETCH_BLT
See Also:
Constant Field Values

STRETCH_DIBITS

public static final int STRETCH_DIBITS
See Also:
Constant Field Values

TEXT_OUT

public static final int TEXT_OUT
See Also:
Constant Field Values

END_OF_FILE

public static final int END_OF_FILE
See Also:
Constant Field Values

OLD_STRETCH_BLT

public static final int OLD_STRETCH_BLT
See Also:
Constant Field Values

OLD_CREATE_PATTERN_BRUSH

public static final int OLD_CREATE_PATTERN_BRUSH
See Also:
Constant Field Values

OLD_BIT_BLT

public static final int OLD_BIT_BLT
See Also:
Constant Field Values

STATE

public static final int STATE
Type bit flags.

See Also:
Constant Field Values

VECTOR

public static final int VECTOR
See Also:
Constant Field Values

RASTER

public static final int RASTER
See Also:
Constant Field Values

MAPPING_MODE

public static final int MAPPING_MODE
See Also:
Constant Field Values
Method Detail

get

public static MfType get(int id)
Map a 16-bit type id onto an object.


getId

public int getId()

getName

public java.lang.String getName()

getType

public int getType()

doesMark

public boolean doesMark()
True if this record marks the screen.


isMappingMode

public boolean isMappingMode()
True if this record affects mapping modes.