*/
public MfRecord getRecord()
throws RecordCreationException
{
// todo this is not yet correctly implemented ...
final MfRecord record = new MfRecord(12 + (deviceDependentBitmap.length / 4));
record.setParam(POS_ROP, getRop());
record.setParam(POS_Y_SOURCE_ORIGIN, getSourceX());
record.setParam(POS_X_SOURCE_ORIGIN, getSourceY());
record.setParam(POS_DESTINATION_X_EXT, getDestXExt());
record.setParam(POS_DESTINATION_Y_EXT, getDestYExt());
record.setParam(POS_X_DESTINATION_ORIGIN, getDestXOrigin());
record.setParam(POS_Y_DESTINATION_ORIGIN, getDestYOrigin());
record.setParam(POS_BITMAP_WIDTH, getBitmapWidth());
record.setParam(POS_BITMAP_HEIGHT, getBitmapHeight());
record.setParam(POS_BYTES_PER_RASTER_LINE, getBytesPerRasterLine());
record.setParam(POS_COLOR_PLANES_BITMAP, getColorPlanesBitmap());
record.setParam(POS_ADJACENT_COLOR_BITS, getAdjacentColorBits());
// todo: Write the bitmap data ...
return record;
}