All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class fi.faidon.jvg.PICTReader

java.lang.Object
   |
   +----fi.faidon.jvg.VectorImageProducer
           |
           +----fi.faidon.jvg.PICTReader

public class PICTReader
extends VectorImageProducer

Variable Index

 o AD_MAX
 o AD_MIN
 o ADD_OVER
 o ADD_PIN
 o BLEND
 o GRAYISH_TEXT_OR
 o MASK
 o NOP
 o NOT_SRC_BIC
 o NOT_SRC_COPY
 o NOT_SRC_OR
 o NOT_SRC_XOR
 o OP_BITS_RECT
 o OP_BITS_RGN
 o OP_BK_COLOR
 o OP_BK_PAT
 o OP_BK_PIX_PAT
 o OP_CH_EXTRA
 o OP_CLIP_RGN
 o OP_COMPRESSED_QUICKTIME
 o OP_DEF_HILITE
 o OP_DH_TEXT
 o OP_DHDV_TEXT
 o OP_DIRECT_BITS_RECT
 o OP_DIRECT_BITS_RGN
 o OP_DV_TEXT
 o OP_END_OF_PICTURE
 o OP_ERASE_ARC
 o OP_ERASE_OVAL
 o OP_ERASE_POLY
 o OP_ERASE_R_RECT
 o OP_ERASE_RECT
 o OP_ERASE_RGN
 o OP_ERASE_SAME_ARC
 o OP_ERASE_SAME_OVAL
 o OP_ERASE_SAME_POLY
 o OP_ERASE_SAME_R_RECT
 o OP_ERASE_SAME_RECT
 o OP_ERASE_SAME_RGN
 o OP_FG_COLOR
 o OP_FILL_ARC
 o OP_FILL_OVAL
 o OP_FILL_PAT
 o OP_FILL_PIX_PAT
 o OP_FILL_POLY
 o OP_FILL_R_RECT
 o OP_FILL_RECT
 o OP_FILL_RGN
 o OP_FILL_SAME_ARC
 o OP_FILL_SAME_OVAL
 o OP_FILL_SAME_POLY
 o OP_FILL_SAME_R_RECT
 o OP_FILL_SAME_RECT
 o OP_FILL_SAME_RGN
 o OP_FONT_NAME
 o OP_FRAME_ARC
 o OP_FRAME_OVAL
 o OP_FRAME_POLY
 o OP_FRAME_R_RECT
 o OP_FRAME_RECT
 o OP_FRAME_RGN
 o OP_FRAME_SAME_ARC
 o OP_FRAME_SAME_OVAL
 o OP_FRAME_SAME_POLY
 o OP_FRAME_SAME_R_RECT
 o OP_FRAME_SAME_RECT
 o OP_FRAME_SAME_RGN
 o OP_GLYPH_STATE
 o OP_HEADER_OP
PICT opcodes.
 o OP_HILITE_COLOR
 o OP_HILITE_MODE
 o OP_INVERT_ARC
 o OP_INVERT_OVAL
 o OP_INVERT_POLY
 o OP_INVERT_R_RECT
 o OP_INVERT_RECT
 o OP_INVERT_RGN
 o OP_INVERT_SAME_ARC
 o OP_INVERT_SAME_OVAL
 o OP_INVERT_SAME_POLY
 o OP_INVERT_SAME_R_RECT
 o OP_INVERT_SAME_RECT
 o OP_INVERT_SAME_RGN
 o OP_LINE
 o OP_LINE_FROM
 o OP_LINE_JUSTIFY
 o OP_LONG_COMMENT
 o OP_LONG_TEXT
 o OP_OP_COLOR
 o OP_ORIGIN
 o OP_OV_SIZE
 o OP_PACK_BITS_RECT
 o OP_PACK_BITS_RGN
 o OP_PAINT_ARC
 o OP_PAINT_OVAL
 o OP_PAINT_POLY
 o OP_PAINT_R_RECT
 o OP_PAINT_RECT
 o OP_PAINT_RGN
 o OP_PAINT_SAME_ARC
 o OP_PAINT_SAME_OVAL
 o OP_PAINT_SAME_POLY
 o OP_PAINT_SAME_R_RECT
 o OP_PAINT_SAME_RECT
 o OP_PAINT_SAME_RGN
 o OP_PN_LOC_H_FRAC
 o OP_PN_MODE
 o OP_PN_PAT
 o OP_PN_PIX_PAT
 o OP_PN_SIZE
 o OP_RGB_BK_COL
 o OP_RGB_FG_COL
 o OP_SHORT_COMMENT
 o OP_SHORT_LINE
 o OP_SHORT_LINE_FROM
 o OP_SP_EXTRA
 o OP_TX_FACE
 o OP_TX_FONT
 o OP_TX_MODE
 o OP_TX_RATIO
 o OP_TX_SIZE
 o OP_UNCOMPRESSED_QUICKTIME
 o OP_VERSION
 o OP_VERSION_2
 o SRC_BIC
 o SRC_COPY
Transfer modes.
 o SRC_OR
 o SRC_XOR
 o SUB_OVER
 o SUB_PIN
 o TRANSPARENT
 o TX_BOLD_MASK
Text face masks.
 o TX_CONDENSED_MASK
 o TX_EXTENDED_MASK
 o TX_ITALIC_MASK
 o TX_OUTLINE_MASK
 o TX_SHADOWED_MASK
 o TX_UNDERLINE_MASK

Constructor Index

 o PICTReader()
Initialize stuff.

Method Index

 o checkImage()
Implements VectorImageProducer drawIntoImage().
 o getHeight()
Implements VectorImageProducer getHeight().
 o getWidth()
Implements VectorImageProducer getWidth().
 o isVerbose(boolean)
Return if verbose or not.
 o playIt(Graphics, Component)
Implements VectorImageProducer drawIt().
 o readPICTFile()
Open and read the PICT file.
 o setImageFile(String)
Sets the path of the image file to use.
 o setVerbose(boolean)
Sets verbose to the state indicated.

Variables

 o SRC_COPY
 public static final int SRC_COPY
Transfer modes.

 o SRC_OR
 public static final int SRC_OR
 o SRC_XOR
 public static final int SRC_XOR
 o SRC_BIC
 public static final int SRC_BIC
 o NOT_SRC_COPY
 public static final int NOT_SRC_COPY
 o NOT_SRC_OR
 public static final int NOT_SRC_OR
 o NOT_SRC_XOR
 public static final int NOT_SRC_XOR
 o NOT_SRC_BIC
 public static final int NOT_SRC_BIC
 o BLEND
 public static final int BLEND
 o ADD_PIN
 public static final int ADD_PIN
 o ADD_OVER
 public static final int ADD_OVER
 o SUB_PIN
 public static final int SUB_PIN
 o TRANSPARENT
 public static final int TRANSPARENT
 o AD_MAX
 public static final int AD_MAX
 o SUB_OVER
 public static final int SUB_OVER
 o AD_MIN
 public static final int AD_MIN
 o GRAYISH_TEXT_OR
 public static final int GRAYISH_TEXT_OR
 o MASK
 public static final int MASK
 o TX_BOLD_MASK
 public static final int TX_BOLD_MASK
Text face masks.

 o TX_ITALIC_MASK
 public static final int TX_ITALIC_MASK
 o TX_UNDERLINE_MASK
 public static final int TX_UNDERLINE_MASK
 o TX_OUTLINE_MASK
 public static final int TX_OUTLINE_MASK
 o TX_SHADOWED_MASK
 public static final int TX_SHADOWED_MASK
 o TX_CONDENSED_MASK
 public static final int TX_CONDENSED_MASK
 o TX_EXTENDED_MASK
 public static final int TX_EXTENDED_MASK
 o OP_HEADER_OP
 public static final byte OP_HEADER_OP[]
PICT opcodes.

 o NOP
 public static final int NOP
 o OP_CLIP_RGN
 public static final int OP_CLIP_RGN
 o OP_BK_PAT
 public static final int OP_BK_PAT
 o OP_TX_FONT
 public static final int OP_TX_FONT
 o OP_TX_FACE
 public static final int OP_TX_FACE
 o OP_TX_MODE
 public static final int OP_TX_MODE
 o OP_SP_EXTRA
 public static final int OP_SP_EXTRA
 o OP_PN_SIZE
 public static final int OP_PN_SIZE
 o OP_PN_MODE
 public static final int OP_PN_MODE
 o OP_PN_PAT
 public static final int OP_PN_PAT
 o OP_FILL_PAT
 public static final int OP_FILL_PAT
 o OP_OV_SIZE
 public static final int OP_OV_SIZE
 o OP_ORIGIN
 public static final int OP_ORIGIN
 o OP_TX_SIZE
 public static final int OP_TX_SIZE
 o OP_FG_COLOR
 public static final int OP_FG_COLOR
 o OP_BK_COLOR
 public static final int OP_BK_COLOR
 o OP_TX_RATIO
 public static final int OP_TX_RATIO
 o OP_VERSION
 public static final int OP_VERSION
 o OP_BK_PIX_PAT
 public static final int OP_BK_PIX_PAT
 o OP_PN_PIX_PAT
 public static final int OP_PN_PIX_PAT
 o OP_FILL_PIX_PAT
 public static final int OP_FILL_PIX_PAT
 o OP_PN_LOC_H_FRAC
 public static final int OP_PN_LOC_H_FRAC
 o OP_CH_EXTRA
 public static final int OP_CH_EXTRA
 o OP_RGB_FG_COL
 public static final int OP_RGB_FG_COL
 o OP_RGB_BK_COL
 public static final int OP_RGB_BK_COL
 o OP_HILITE_MODE
 public static final int OP_HILITE_MODE
 o OP_HILITE_COLOR
 public static final int OP_HILITE_COLOR
 o OP_DEF_HILITE
 public static final int OP_DEF_HILITE
 o OP_OP_COLOR
 public static final int OP_OP_COLOR
 o OP_LINE
 public static final int OP_LINE
 o OP_LINE_FROM
 public static final int OP_LINE_FROM
 o OP_SHORT_LINE
 public static final int OP_SHORT_LINE
 o OP_SHORT_LINE_FROM
 public static final int OP_SHORT_LINE_FROM
 o OP_LONG_TEXT
 public static final int OP_LONG_TEXT
 o OP_DH_TEXT
 public static final int OP_DH_TEXT
 o OP_DV_TEXT
 public static final int OP_DV_TEXT
 o OP_DHDV_TEXT
 public static final int OP_DHDV_TEXT
 o OP_FONT_NAME
 public static final int OP_FONT_NAME
 o OP_LINE_JUSTIFY
 public static final int OP_LINE_JUSTIFY
 o OP_GLYPH_STATE
 public static final int OP_GLYPH_STATE
 o OP_FRAME_RECT
 public static final int OP_FRAME_RECT
 o OP_PAINT_RECT
 public static final int OP_PAINT_RECT
 o OP_ERASE_RECT
 public static final int OP_ERASE_RECT
 o OP_INVERT_RECT
 public static final int OP_INVERT_RECT
 o OP_FILL_RECT
 public static final int OP_FILL_RECT
 o OP_FRAME_SAME_RECT
 public static final int OP_FRAME_SAME_RECT
 o OP_PAINT_SAME_RECT
 public static final int OP_PAINT_SAME_RECT
 o OP_ERASE_SAME_RECT
 public static final int OP_ERASE_SAME_RECT
 o OP_INVERT_SAME_RECT
 public static final int OP_INVERT_SAME_RECT
 o OP_FILL_SAME_RECT
 public static final int OP_FILL_SAME_RECT
 o OP_FRAME_R_RECT
 public static final int OP_FRAME_R_RECT
 o OP_PAINT_R_RECT
 public static final int OP_PAINT_R_RECT
 o OP_ERASE_R_RECT
 public static final int OP_ERASE_R_RECT
 o OP_INVERT_R_RECT
 public static final int OP_INVERT_R_RECT
 o OP_FILL_R_RECT
 public static final int OP_FILL_R_RECT
 o OP_FRAME_SAME_R_RECT
 public static final int OP_FRAME_SAME_R_RECT
 o OP_PAINT_SAME_R_RECT
 public static final int OP_PAINT_SAME_R_RECT
 o OP_ERASE_SAME_R_RECT
 public static final int OP_ERASE_SAME_R_RECT
 o OP_INVERT_SAME_R_RECT
 public static final int OP_INVERT_SAME_R_RECT
 o OP_FILL_SAME_R_RECT
 public static final int OP_FILL_SAME_R_RECT
 o OP_FRAME_OVAL
 public static final int OP_FRAME_OVAL
 o OP_PAINT_OVAL
 public static final int OP_PAINT_OVAL
 o OP_ERASE_OVAL
 public static final int OP_ERASE_OVAL
 o OP_INVERT_OVAL
 public static final int OP_INVERT_OVAL
 o OP_FILL_OVAL
 public static final int OP_FILL_OVAL
 o OP_FRAME_SAME_OVAL
 public static final int OP_FRAME_SAME_OVAL
 o OP_PAINT_SAME_OVAL
 public static final int OP_PAINT_SAME_OVAL
 o OP_ERASE_SAME_OVAL
 public static final int OP_ERASE_SAME_OVAL
 o OP_INVERT_SAME_OVAL
 public static final int OP_INVERT_SAME_OVAL
 o OP_FILL_SAME_OVAL
 public static final int OP_FILL_SAME_OVAL
 o OP_FRAME_ARC
 public static final int OP_FRAME_ARC
 o OP_PAINT_ARC
 public static final int OP_PAINT_ARC
 o OP_ERASE_ARC
 public static final int OP_ERASE_ARC
 o OP_INVERT_ARC
 public static final int OP_INVERT_ARC
 o OP_FILL_ARC
 public static final int OP_FILL_ARC
 o OP_FRAME_SAME_ARC
 public static final int OP_FRAME_SAME_ARC
 o OP_PAINT_SAME_ARC
 public static final int OP_PAINT_SAME_ARC
 o OP_ERASE_SAME_ARC
 public static final int OP_ERASE_SAME_ARC
 o OP_INVERT_SAME_ARC
 public static final int OP_INVERT_SAME_ARC
 o OP_FILL_SAME_ARC
 public static final int OP_FILL_SAME_ARC
 o OP_FRAME_POLY
 public static final int OP_FRAME_POLY
 o OP_PAINT_POLY
 public static final int OP_PAINT_POLY
 o OP_ERASE_POLY
 public static final int OP_ERASE_POLY
 o OP_INVERT_POLY
 public static final int OP_INVERT_POLY
 o OP_FILL_POLY
 public static final int OP_FILL_POLY
 o OP_FRAME_SAME_POLY
 public static final int OP_FRAME_SAME_POLY
 o OP_PAINT_SAME_POLY
 public static final int OP_PAINT_SAME_POLY
 o OP_ERASE_SAME_POLY
 public static final int OP_ERASE_SAME_POLY
 o OP_INVERT_SAME_POLY
 public static final int OP_INVERT_SAME_POLY
 o OP_FILL_SAME_POLY
 public static final int OP_FILL_SAME_POLY
 o OP_FRAME_RGN
 public static final int OP_FRAME_RGN
 o OP_PAINT_RGN
 public static final int OP_PAINT_RGN
 o OP_ERASE_RGN
 public static final int OP_ERASE_RGN
 o OP_INVERT_RGN
 public static final int OP_INVERT_RGN
 o OP_FILL_RGN
 public static final int OP_FILL_RGN
 o OP_FRAME_SAME_RGN
 public static final int OP_FRAME_SAME_RGN
 o OP_PAINT_SAME_RGN
 public static final int OP_PAINT_SAME_RGN
 o OP_ERASE_SAME_RGN
 public static final int OP_ERASE_SAME_RGN
 o OP_INVERT_SAME_RGN
 public static final int OP_INVERT_SAME_RGN
 o OP_FILL_SAME_RGN
 public static final int OP_FILL_SAME_RGN
 o OP_BITS_RECT
 public static final int OP_BITS_RECT
 o OP_BITS_RGN
 public static final int OP_BITS_RGN
 o OP_PACK_BITS_RECT
 public static final int OP_PACK_BITS_RECT
 o OP_PACK_BITS_RGN
 public static final int OP_PACK_BITS_RGN
 o OP_DIRECT_BITS_RECT
 public static final int OP_DIRECT_BITS_RECT
 o OP_DIRECT_BITS_RGN
 public static final int OP_DIRECT_BITS_RGN
 o OP_SHORT_COMMENT
 public static final int OP_SHORT_COMMENT
 o OP_LONG_COMMENT
 public static final int OP_LONG_COMMENT
 o OP_END_OF_PICTURE
 public static final int OP_END_OF_PICTURE
 o OP_VERSION_2
 public static final int OP_VERSION_2
 o OP_COMPRESSED_QUICKTIME
 public static final int OP_COMPRESSED_QUICKTIME
 o OP_UNCOMPRESSED_QUICKTIME
 public static final int OP_UNCOMPRESSED_QUICKTIME

Constructors

 o PICTReader
 public PICTReader()
Initialize stuff.

Methods

 o getWidth
 public int getWidth()
Implements VectorImageProducer getWidth(). If we don't know the frame size yet, then read it in.

Overrides:
getWidth in class VectorImageProducer
 o getHeight
 public int getHeight()
Implements VectorImageProducer getHeight(). If we don't know the frame size yet, then read it in.

Overrides:
getHeight in class VectorImageProducer
 o playIt
 public void playIt(Graphics g,
                    Component c)
Implements VectorImageProducer drawIt(). Re-read the whole PICT file and replay the drawing operations in it.

Overrides:
playIt in class VectorImageProducer
 o checkImage
 public int checkImage()
Implements VectorImageProducer drawIntoImage(). Return the status of the drawing launched by drawIntoImage. NOT IMPLEMENTED YET!.

Overrides:
checkImage in class VectorImageProducer
 o setImageFile
 public void setImageFile(String filePath)
Sets the path of the image file to use.

 o setVerbose
 public void setVerbose(boolean state)
Sets verbose to the state indicated.

 o isVerbose
 public boolean isVerbose(boolean state)
Return if verbose or not.

 o readPICTFile
 public boolean readPICTFile()
Open and read the PICT file. If we have a drawing graphics, then we try to draw the contents as well as possible. If "verbose" is true, the elements read are listed on stdout.


All Packages  Class Hierarchy  This Package  Previous  Next  Index