/* Copyright (C) 2014-2017 A.Vontobel  
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
 * The license is in LICENCE-GPL.txt.
 * If not, see http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
 */

package net.sf.drawj2d;

/**
 * Globale konstante Werte und Hilfswerte..
 * @author A.Vontobel 
 */
public interface inConst {
    static final int SVG = 1;
    static final int EPS = 2;
    static final int PDF = 3;
    static final int EMF = 4;
    static final int IMG = 5;
    static final int TIKZ = 6;
    static final int SCREEN = 7;
    
    static final int srcTypeHcl = 101;
    static final int srcTypeBgd = 102; // Background drawing (fachwerk.sf.net)
    static final int srcTypeYacasPlotData = 103; // Yacas plot data
    
    // units
    static final double inch = 25.4; // mm
    
    // default resolution
    static final double imgres = 200;
    static final double stdres = 72; // pdf, eps, native
    static final double svgres = 96;
    static final double emfres = 81.27; // experimentally derived.
    static final double wordres = 96;
}

 

Ads help maintain this website.