![JAR search and dependency download from the Maven repository](/logo.png)
org.freehep.graphicsio.emf.gdi.ExtTextOutW Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of freehep-graphicsio-emf Show documentation
Show all versions of freehep-graphicsio-emf Show documentation
FreeHEP Enhanced Metafile Format Driver
The newest version!
// Copyright 2002-2007, FreeHEP.
package org.freehep.graphicsio.emf.gdi;
import java.awt.Rectangle;
import java.io.IOException;
import org.freehep.graphicsio.emf.EMFConstants;
import org.freehep.graphicsio.emf.EMFInputStream;
import org.freehep.graphicsio.emf.EMFTag;
/**
* ExtTextOutW TAG.
*
* @author Mark Donszelmann
* @version $Id: freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/gdi/ExtTextOutW.java bdaaed6f344d 2007/02/12 04:08:30 duns $
*/
public class ExtTextOutW extends AbstractExtTextOut implements EMFConstants {
private TextW text;
public ExtTextOutW() {
super(84, 1, null, 0, 1, 1);
}
public ExtTextOutW(
Rectangle bounds,
int mode,
float xScale,
float yScale,
TextW text) {
super(84, 1, bounds, mode, xScale, yScale);
this.text = text;
}
public EMFTag read(int tagID, EMFInputStream emf, int len)
throws IOException {
return new ExtTextOutW(
emf.readRECTL(),
emf.readDWORD(),
emf.readFLOAT(),
emf.readFLOAT(),
TextW.read(emf));
}
public Text getText() {
return text;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy