|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jpicedt.graphic.io.formatter.AbstractFormatter jpicedt.format.output.latex.PicEllipseFormatter
public class PicEllipseFormatter
A drawing->LaTeX formater for PicEllipse objects
[SR:pending] rotated arc/ellipse not handled yet !
Field Summary | |
---|---|
protected PicEllipse |
ellipse
the Element this formater acts upon |
protected LatexFormatter |
factory
|
Constructor Summary | |
---|---|
PicEllipseFormatter(PicEllipse ellipse,
LatexFormatter factory)
|
Method Summary | |
---|---|
protected void |
appendArrows(StringBuffer buf)
Append arrows to the given buffer by invoking arrowToLatexString() on the producing factory. |
protected void |
appendEmulatedArcString(StringBuffer buf)
Create a string representation of a circle/ellipse in the LaTeX format, using emulated lines, and append it to the given buffer. |
protected void |
appendLatexCircleString(StringBuffer buf)
Create a string representation of a circle in the LaTeX format, using the \\circle command, and append it to the given buffer. |
protected void |
appendLatexDiskString(StringBuffer buf)
Create a string representation of a disk in the LaTeX format, using the \\circle* command, and append it to the given buffer. |
String |
format()
Create a String representing an Element in the format of this formatter |
Element |
getElement()
Renvoie l' Element sujet du formattage. |
Methods inherited from class jpicedt.graphic.io.formatter.AbstractFormatter |
---|
revertedArrowsAttribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PicEllipse ellipse
protected LatexFormatter factory
Constructor Detail |
---|
public PicEllipseFormatter(PicEllipse ellipse, LatexFormatter factory)
Method Detail |
---|
public Element getElement()
Formatter
Element
sujet du formattage.
public String format()
Formatter
protected void appendLatexDiskString(StringBuffer buf)
Create a string representation of a disk in the LaTeX format, using the \\circle* command, and append it to the given buffer. Appended string is CR-terminated.
protected void appendLatexCircleString(StringBuffer buf)
Create a string representation of a circle in the LaTeX format, using the \\circle command, and append it to the given buffer. Appended string is CR-terminated.
protected void appendEmulatedArcString(StringBuffer buf)
Create a string representation of a circle/ellipse in the LaTeX format, using emulated lines, and append it to the given buffer. Appended string is CR-terminated.
Parametric equation is :
protected void appendArrows(StringBuffer buf)
arrowToLatexString()
on the producing factory.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |