Examples of MfRecord


Examples of org.pentaho.reporting.libraries.pixie.wmf.MfRecord

   * @return the created record.
   */
  public MfRecord getRecord()
  {
    final Point dest = getDestination();
    final MfRecord record = new MfRecord(RECORD_SIZE);
    record.setParam(POS_Y, dest.y);
    record.setParam(POS_X, dest.x);
    return record;
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.pixie.wmf.MfRecord

   * @return the created record.
   */
  public MfRecord getRecord()
      throws RecordCreationException
  {
    final MfRecord record = new MfRecord(RECORD_SIZE);
    final Dimension rDim = getRoundingDim();
    record.setParam(POS_ROUND_HEIGHT, rDim.height);
    record.setParam(POS_ROUND_WIDTH, rDim.width);
    final Rectangle bounds = getBounds();
    record.setParam(POS_BOTTOM, bounds.height + bounds.y);
    record.setParam(POS_RIGHT, bounds.width + bounds.x);
    record.setParam(POS_TOP, bounds.y);
    record.setParam(POS_LEFT, bounds.x);
    return record;
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.pixie.wmf.MfRecord

   *
   * @return the created record.
   */
  public MfRecord getRecord()
  {
    final MfRecord record = new MfRecord(RECORD_SIZE);
    record.setParam(POS_REGION, getRegion());
    return record;
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.pixie.wmf.MfRecord

   * @return the created record.
   */
  public MfRecord getRecord()
  {
    final Rectangle rc = getBounds();
    final MfRecord record = new MfRecord(RECORD_SIZE);
    record.setParam(POS_BOTTOM, (int) (rc.getY() + rc.getHeight()));
    record.setParam(POS_RIGHT, (int) (rc.getX() + rc.getWidth()));
    record.setParam(POS_TOP, (int) (rc.getY()));
    record.setParam(POS_LEFT, (int) (rc.getX()));
    return record;
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.pixie.wmf.MfRecord

   * @return the created record.
   */
  public MfRecord getRecord()
      throws RecordCreationException
  {
    final MfRecord record = new MfRecord(RECORD_SIZE);
    record.setLongParam(POS_BKMODE, getBkMode());
    return record;
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.pixie.wmf.MfRecord

   * @return the created record.
   */
  public MfRecord getRecord()
      throws RecordCreationException
  {
    final MfRecord record = new MfRecord(RECORD_SIZE);
    record.setParam(POS_OBJECT_ID, getObjectId());
    return record;
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.pixie.wmf.MfRecord

   */
  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;
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.pixie.wmf.MfRecord

   *
   * @return the created record.
   */
  public MfRecord getRecord()
  {
    final MfRecord record = new MfRecord(RECORD_SIZE);
    record.setParam(POS_REGION, getRegion());
    record.setParam(POS_BRUSH, getBrush());
    return record;
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.pixie.wmf.MfRecord

   * @return the created record.
   */
  public MfRecord getRecord()
  {
    final Point dest = getDestination();
    final MfRecord record = new MfRecord(RECORD_SIZE);
    record.setParam(POS_Y, dest.y);
    record.setParam(POS_X, dest.x);
    return record;
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.pixie.wmf.MfRecord

   * @return the created record.
   */
  public MfRecord getRecord()
      throws RecordCreationException
  {
    return new MfRecord(0);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.