"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCanvasDimensions = getCanvasDimensions;
exports.getWelcomeCanvasDimensions = getWelcomeCanvasDimensions;
function getCanvasDimensions(options) {
    const width = options?._canvasWidth ?? 1024;
    const height = options?._canvasHeight ?? 500;
    const scaleX = options?._scaleX ?? 1;
    const scaleY = options?._scaleY ?? 1;
    return { width, height, scaleX, scaleY };
}
function getWelcomeCanvasDimensions(options) {
    const width = options?.customWidth ?? 1024;
    const height = options?.customHeight ?? 500;
    return { width, height };
}
//# sourceMappingURL=canvas.js.map