public class EepicFormatter extends LatexFormatter implements EepicConstants
Modifier and Type | Class and Description |
---|---|
class |
EepicFormatter.DrawingFormatter |
fileWrapperEpilog, fileWrapperProlog
DEFAULT_FILE_WRAPPER_EPILOG, DEFAULT_FILE_WRAPPER_PROLOG, DEFAULT_THICK_LINES_MAX_WIDTH, DEFAULT_THIN_LINES_MAX_WIDTH, KEY_FILE_WRAPPER_EPILOG, KEY_FILE_WRAPPER_PROLOG, KEY_THICK_LINES_MAXWIDTH, KEY_THIN_LINES_MAXWIDTH
CR_LF, DEFAULT_EM_LINE_LENGTH, DEFAULT_MAX_CIRCLE_DIAMETER, DEFAULT_MAX_DISK_DIAMETER, DEFAULT_MAX_EM_CIRCLE_SEGMENT_LENGTH, DEFAULT_MAX_EM_LINE_SLOPE, KEY_EM_LINE_LENGTH, KEY_MAX_CIRCLE_DIAMETER, KEY_MAX_DISK_DIAMETER, KEY_MAX_EM_CIRCLE_SEGMENT_LENGTH, KEY_MAX_EM_LINE_SLOPE, RESCALING_TEX_FUNCTION
MAKE_STANDALONE_FILE
ARROW_GLOBAL_SCALE_LENGTH, ARROW_GLOBAL_SCALE_WIDTH, ARROW_INSET_SCALE, ARROW_LENGTH_SCALE, ARROW_WIDTH_LINEWIDTH_SCALE, ARROW_WIDTH_MINIMUM_MM, BRACKET_LENGTH_SCALE, CROSSHATCH, CROSSHATCH_FILLED, DASH_OPAQUE, DASH_TRANSPARENT, DASH1, DASH2, DASH3, DASHED, DIMEN, DOT_SEP, DOT_SEP1, DOT_SEP2, DOT_SEP3, DOTTED, DOUBLE_COLOR, DOUBLE_LINE, DOUBLE_SEP, FILL_COLOR, FILL_STYLE, HATCH_ANGLE, HATCH_COLOR, HATCH_SEP, HATCH_WIDTH, HLINES, HLINES_FILLED, INNER, LEFT_ARROW, LINE_COLOR, LINE_STYLE, LINE_WIDTH, MIDDLE, NONE, OUTER, OVER_STRIKE, OVER_STRIKE_COLOR, OVER_STRIKE_WIDTH, POLYDOTS_ANGLE, POLYDOTS_CIRCLE, POLYDOTS_DISK, POLYDOTS_PENTAGON, POLYDOTS_PENTAGON_FILLED, POLYDOTS_PLUS, POLYDOTS_SCALE_H, POLYDOTS_SCALE_V, POLYDOTS_SIZE_LINEWIDTH_SCALE, POLYDOTS_SIZE_MINIMUM_MM, POLYDOTS_SQUARE, POLYDOTS_SQUARE_FILLED, POLYDOTS_STYLE, POLYDOTS_SUPERIMPOSE, POLYDOTS_TRIANGLE, POLYDOTS_TRIANGLE_FILLED, PS_POINT, PST_CUSTOM, RBRACKET_LENGTH_SCALE, RIGHT_ARROW, SHADOW, SHADOW_ANGLE, SHADOW_COLOR, SHADOW_SIZE, SOLID, TBAR_WIDTH_LINEWIDTH_SCALE, TBAR_WIDTH_MINIMUM_MM, TEXT_BOX_CIRCLE, TEXT_BOX_NO_FRAME, TEXT_BOX_OVAL, TEXT_BOX_RECTANGLE, TEXT_FRAME, TEXT_HALIGN_CENTER, TEXT_HALIGN_LEFT, TEXT_HALIGN_RIGHT, TEXT_HOR_ALIGN, TEXT_ROTATION, TEXT_VALIGN_BASELINE, TEXT_VALIGN_BOTTOM, TEXT_VALIGN_CENTER, TEXT_VALIGN_TOP, TEXT_VERT_ALIGN, VLINES, VLINES_FILLED
Constructor and Description |
---|
EepicFormatter()
Constructor using default properties values
|
Modifier and Type | Method and Description |
---|---|
protected void |
appendDashLine(java.lang.StringBuffer buf,
PicPoint p1,
PicPoint p2,
double dash)
Append a \\dashline with the given points and dash value to the given buffer
|
void |
appendThicknessString(java.lang.StringBuffer buf,
Element obj)
Create a string representation of the thickness command for the given PicObjet in the eepic format,
and append it to the given StringBuffer.
|
static void |
configure(java.util.Properties preferences)
Configure static fields using the given Properties object
|
Formatter |
createFormatter(Drawing d,
java.lang.Object outputConstraint) |
Formatter |
createFormatter(Element e) |
arrowToLatexString, getXYNearestSlope, lineToLatexString, lineToLatexString
public EepicFormatter()
public static void configure(java.util.Properties preferences)
properties
- used to read shared parameters
If null, default values are used.public Formatter createFormatter(Element e)
createFormatter
in interface FormatterFactory
createFormatter
in class LatexFormatter
public Formatter createFormatter(Drawing d, java.lang.Object outputConstraint)
createFormatter
in interface FormatterFactory
createFormatter
in class LatexFormatter
outputConstraint
- constraint used by the factory to create a specific Formatter on-the-flycreateFormatter(Element e)
on the elements
of the drawing, plus creating auxiliarypublic void appendThicknessString(java.lang.StringBuffer buf, Element obj)
Create a string representation of the thickness command for the given PicObjet in the eepic format, and append it to the given StringBuffer.
Such a command should preceed every object command. This string is CR-terminated.
appendThicknessString
in class LatexFormatter
Submit a bug : syd@jpicedt.org