public class MfCmdBitBlt extends MfCmd
Constructor and Description |
---|
MfCmdBitBlt() |
Modifier and Type | Method and Description |
---|---|
int |
getAdjacentColorBits() |
int |
getBitmapHeight() |
int |
getBitmapWidth() |
int |
getBytesPerRasterLine() |
int |
getColorPlanesBitmap() |
int |
getDestXExt() |
int |
getDestXOrigin() |
int |
getDestYExt() |
int |
getDestYOrigin() |
byte[] |
getDeviceDependentBitmap() |
int |
getFunction()
Reads the function identifier.
|
MfCmd |
getInstance()
Creates a empty unintialized copy of this command implementation.
|
MfRecord |
getRecord()
Creates a new record based on the data stored in the MfCommand.
|
int |
getRop() |
int |
getSourceX() |
int |
getSourceY() |
void |
replay(WmfFile file)
Replays the command on the given WmfFile.
|
protected void |
scaleXChanged()
A callback function to inform the object, that the x scale has changed and the internal coordinate values have to
be adjusted.
|
protected void |
scaleYChanged()
A callback function to inform the object, that the y scale has changed and the internal coordinate values have to
be adjusted.
|
void |
setAdjacentColorBits(int adjacentColorBits) |
void |
setBitmapHeight(int bitmapHeight) |
void |
setBitmapWidth(int bitmapWidth) |
void |
setBytesPerRasterLine(int bytesPerRasterLine) |
void |
setColorPlanesBitmap(int colorPlanesBitmap) |
void |
setDestXExt(int destXExt) |
void |
setDestXOrigin(int destXOrigin) |
void |
setDestYExt(int destYExt) |
void |
setDestYOrigin(int destYOrigin) |
void |
setDeviceDependentBitmap(byte[] deviceDependentBitmap) |
void |
setRecord(MfRecord record)
Reads the command data from the given record and adjusts the internal parameters according to the data parsed.
|
void |
setRop(int rop) |
void |
setSourceX(int sourceX) |
void |
setSourceY(int sourceY) |
String |
toString() |
applyScaleX, applyScaleY, getScaledHeight, getScaledWidth, getScaledX, getScaledY, scaleRect, setScale
public void replay(WmfFile file)
MfCmd
public MfCmd getInstance()
MfCmd
getInstance
in class MfCmd
public void setRecord(MfRecord record)
MfCmd
public int getFunction()
MfCmd
getFunction
in class MfCmd
protected void scaleXChanged()
MfCmd
scaleXChanged
in class MfCmd
protected void scaleYChanged()
MfCmd
scaleYChanged
in class MfCmd
public MfRecord getRecord() throws RecordCreationException
getRecord
in class MfCmd
RecordCreationException
- if an error occured while generating the record.public int getAdjacentColorBits()
public void setAdjacentColorBits(int adjacentColorBits)
public int getBitmapHeight()
public void setBitmapHeight(int bitmapHeight)
public int getBitmapWidth()
public void setBitmapWidth(int bitmapWidth)
public int getBytesPerRasterLine()
public void setBytesPerRasterLine(int bytesPerRasterLine)
public int getColorPlanesBitmap()
public void setColorPlanesBitmap(int colorPlanesBitmap)
public int getDestXExt()
public void setDestXExt(int destXExt)
public int getDestXOrigin()
public void setDestXOrigin(int destXOrigin)
public int getDestYExt()
public void setDestYExt(int destYExt)
public int getDestYOrigin()
public void setDestYOrigin(int destYOrigin)
public byte[] getDeviceDependentBitmap()
public void setDeviceDependentBitmap(byte[] deviceDependentBitmap)
public int getRop()
public void setRop(int rop)
public int getSourceX()
public void setSourceX(int sourceX)
public int getSourceY()
public void setSourceY(int sourceY)
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.