Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jpicedt.format.latex
Class PicBezierQuadFormatter  view PicBezierQuadFormatter download PicBezierQuadFormatter.java

java.lang.Object
  extended byjpicedt.format.latex.PicBezierQuadFormatter
All Implemented Interfaces:
jpicedt.graphic.io.formatter.Formatter, LatexConstants, jpicedt.graphic.model.PicObjectConstants

public class PicBezierQuadFormatter
extends java.lang.Object
implements jpicedt.graphic.io.formatter.Formatter, LatexConstants, jpicedt.graphic.model.PicObjectConstants

A formater for PicBezierQuad objects


Field Summary
private  jpicedt.graphic.model.PicBezierQuad element
          the Element this formater acts upon
private  LatexFormatter factory
           
 
Fields inherited from interface jpicedt.format.latex.LatexConstants
CR_LF, DEFAULT_EM_LINE_LENGTH, DEFAULT_FILE_WRAPPER_EPILOG, DEFAULT_FILE_WRAPPER_PROLOG, DEFAULT_LINE_THICKNESS, DEFAULT_MAX_CIRCLE_DIAMETER, DEFAULT_MAX_DISK_DIAMETER, DEFAULT_MAX_EM_CIRCLE_SEGMENT_LENGTH, DEFAULT_MAX_EM_LINE_SLOPE, KEY_EM_LINE_LENGTH, KEY_FILE_WRAPPER_EPILOG, KEY_FILE_WRAPPER_PROLOG, KEY_LINE_THICKNESS, KEY_MAX_CIRCLE_DIAMETER, KEY_MAX_DISK_DIAMETER, KEY_MAX_EM_CIRCLE_SEGMENT_LENGTH, KEY_MAX_EM_LINE_SLOPE
 
Fields inherited from interface jpicedt.graphic.model.PicObjectConstants
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, MaxAttributeNameIndex, MIDDLE, NONE, OUTER, POLYGON_DOTS, POLYGON_SOLID, POLYGON_STYLE, PS_POINT, RIGHT_ARROW, SHADOW, SHADOW_ANGLE, SHADOW_COLOR, SHADOW_SIZE, SOLID, VLINES, VLINES_FILLED
 
Constructor Summary
PicBezierQuadFormatter(jpicedt.graphic.model.PicBezierQuad element, LatexFormatter factory)
           
 
Method Summary
protected  void appendPicedtStartingString(java.lang.StringBuffer buf)
          Create the PicEdt starting string (i.e.
 java.lang.String format()
          latex or eepic formating algorithm support quad and cubic splines
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

element

private jpicedt.graphic.model.PicBezierQuad element
the Element this formater acts upon


factory

private LatexFormatter factory
Constructor Detail

PicBezierQuadFormatter

public PicBezierQuadFormatter(jpicedt.graphic.model.PicBezierQuad element,
                              LatexFormatter factory)
Method Detail

format

public java.lang.String format()
latex or eepic formating algorithm support quad and cubic splines

Specified by:
format in interface jpicedt.graphic.io.formatter.Formatter
Since:
jPicEdt 1.1, modified jPicEdt 1.3.2 to handles cubic splines

appendPicedtStartingString

protected void appendPicedtStartingString(java.lang.StringBuffer buf)
Create the PicEdt starting string (i.e. %Bezier...) valid for both the LaTeX and the eepic format, and append it to the given StringBuffer. The appended string is CR-terminated.