export function cm2px(centimeters) {
    return centimeters * 9600 / 254;
}
export function px2cm(pixels) {
    return pixels * 254 / 9600;
}
export function mm2px(millimeters) {
    return millimeters * 960 / 254;
}
export function px2mm(pixels) {
    return pixels * 254 / 960;
}
export function in2px(inches) {
    return inches * 960;
}
export function px2in(pixels) {
    return pixels / 960;
}
export function pt2px(points) {
    return points * 4 / 3;
}
export function px2pt(pixels) {
    return pixels / 4 * 3;
}
export function pc2px(picas) {
    return picas * 16;
}
export function px2pc(pixels) {
    return pixels / 16;
}
//-- cm
export function mm2cm(millimeters) {
    return px2cm(mm2px(millimeters));
}
export function in2cm(inches) {
    return px2cm(in2px(inches));
}
export function pt2cm(points) {
    return px2cm(pt2px(points));
}
export function pc2cm(picas) {
    return px2cm(pc2px(picas));
}
//-- mm
export function cm2mm(centimeters) {
    return px2mm(cm2px(centimeters));
}
export function in2mm(inches) {
    return px2mm(in2px(inches));
}
export function pt2mm(points) {
    return px2mm(pt2px(points));
}
export function pc2mm(picas) {
    return px2mm(pc2px(picas));
}
//-- in
export function cm2in(centimeters) {
    return px2in(cm2px(centimeters));
}
export function mm2in(millimeters) {
    return px2in(mm2px(millimeters));
}
export function pt2in(points) {
    return px2in(pt2px(points));
}
export function pc2in(picas) {
    return px2in(pc2px(picas));
}
//-- pt
export function cm2pt(centimeters) {
    return px2pt(cm2px(centimeters));
}
export function mm2pt(millimeters) {
    return px2pt(mm2px(millimeters));
}
export function in2pt(inches) {
    return px2pt(in2px(inches));
}
export function pc2pt(picas) {
    return px2pt(pc2px(picas));
}
//-- pc
export function cm2pc(centimeters) {
    return px2pc(cm2px(centimeters));
}
export function mm2pc(millimeters) {
    return px2pc(mm2px(millimeters));
}
export function in2pc(inches) {
    return px2pc(in2px(inches));
}
export function pt2pc(picas) {
    return px2pc(pt2px(picas));
}
//# sourceMappingURL=calc.js.map