org.jfree.pixie.wmf.bitmap

Class BitmapHeader


public class BitmapHeader
extends java.lang.Object

======================================== Pixie : a free Java vector image library ======================================== Project Info: http://reporting.pentaho.org/pixie/ (C) Copyright 2000-2005, by Object Refinery Limited and Contributors. (C) Copyright 2006-2007, by Pentaho Corporation and Contributors. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. [Java is a trademark or registered trademark of Sun Microsystems, Inc. in the United States and other countries.] ------------ $Id: BitmapHeader.java 3062 2007-07-30 17:22:18Z tmorgner $ ------------

Field Summary

static int
BI_BITFIELDS
static int
BI_RGB
static int
BI_RLE4
static int
BI_RLE8

Method Summary

int
getBitsPerPixel()
int
getCompression()
int
getDataOffset()
int
getDataSize()
int
getHRes()
int
getHeaderSize()
int
getHeight()
int
getNoOfColors()
int
getNoOfImportantColors()
int
getNoPlanes()
int
getVRes()
int
getWidth()
boolean
isTopDown()
void
setRecord(MfRecord record, int offset)

Field Details

BI_BITFIELDS

public static final int BI_BITFIELDS
Field Value:
3

BI_RGB

public static final int BI_RGB
Field Value:
0

BI_RLE4

public static final int BI_RLE4
Field Value:
2

BI_RLE8

public static final int BI_RLE8
Field Value:
1

Method Details

getBitsPerPixel

public int getBitsPerPixel()

getCompression

public int getCompression()

getDataOffset

public int getDataOffset()

getDataSize

public int getDataSize()

getHRes

public int getHRes()

getHeaderSize

public int getHeaderSize()

getHeight

public int getHeight()

getNoOfColors

public int getNoOfColors()

getNoOfImportantColors

public int getNoOfImportantColors()

getNoPlanes

public int getNoPlanes()

getVRes

public int getVRes()

getWidth

public int getWidth()

isTopDown

public boolean isTopDown()

setRecord

public void setRecord(MfRecord record,
                      int offset)