OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 132 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 132 Rev 156
Line 26... Line 26...
26
    public A4(float hMargin, float vMargin) {
26
    public A4(float hMargin, float vMargin) {
27
        super();
27
        super();
28
        final double width = (210 * DPI) / INCH_TO_MM;
28
        final double width = (210 * DPI) / INCH_TO_MM;
29
        final double height = (297 * DPI) / INCH_TO_MM;
29
        final double height = (297 * DPI) / INCH_TO_MM;
30
        setSize(width, height);
30
        setSize(width, height);
31
        setImageableArea(hMargin, vMargin, width + 2 * hMargin, height - 2 * vMargin);
31
        setImageableArea(hMargin, vMargin, width - 2 * hMargin, height - 2 * vMargin);
32
    }
32
    }
33
}
33
}