Class EepicFormatter

    • Constructor Detail

      • EepicFormatter

        public EepicFormatter()
        Constructor using default properties values
    • Method Detail

      • configure

        public static void configure​(java.util.Properties preferences)
        Configure static fields using the given Properties object
        Parameters:
        properties - used to read shared parameters If null, default values are used.
      • createFormatter

        public Formatter createFormatter​(Drawing d,
                                         java.lang.Object outputConstraint)
        Specified by:
        createFormatter in interface FormatterFactory
        Overrides:
        createFormatter in class LatexFormatter
        Parameters:
        outputConstraint - constraint used by the factory to create a specific Formatter on-the-fly
        Returns:
        a Formatter able to format the given Drawing according to the format of this factory ; this may reliy on calls to createFormatter(Element e) on the elements of the drawing, plus creating auxiliary
      • appendThicknessString

        public 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.

        Overrides:
        appendThicknessString in class LatexFormatter
        Since:
        jpicedt 1.3.2
      • appendDashLine

        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