Top Fields Constructors Methods
org.apache.poi.sl.image

public Class ImageHeaderPICT

extends Object
Class Inheritance
Annotations
@Internal
Imports
java.awt.Dimension, .Rectangle, org.apache.poi.util.Internal, .Units

Field Summary

Modifier and TypeField and Description
private final Rectangle
public static final double
private final double
public static final int
PICT_HEADER_OFFSET

skip the first 512 bytes - they are MAC specific crap

private static final byte[]
private final double

Constructor Summary

AccessConstructor and Description
public
ImageHeaderPICT(byte[] data, final int off)

Method Summary

Modifier and TypeMethod and Description
public Rectangle
public Dimension
private static double
readFixedPoint(byte[] data, int offset)

private static int
readUnsignedShort(byte[] data, int offset)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

boundsback to summary
private final Rectangle bounds
DEFAULT_RESOLUTIONback to summary
public static final double DEFAULT_RESOLUTION
hResback to summary
private final double hRes
PICT_HEADER_OFFSETback to summary
public static final int PICT_HEADER_OFFSET

skip the first 512 bytes - they are MAC specific crap

V2_HEADERback to summary
private static final byte[] V2_HEADER
vResback to summary
private final double vRes

Constructor Detail

ImageHeaderPICTback to summary
public ImageHeaderPICT(byte[] data, final int off)

Method Detail

getBoundsback to summary
public Rectangle getBounds()
getSizeback to summary
public Dimension getSize()
readFixedPointback to summary
private static double readFixedPoint(byte[] data, int offset)
readUnsignedShortback to summary
private static int readUnsignedShort(byte[] data, int offset)