package com.isidroid.rendering.repository

import android.graphics.Bitmap
import com.isidroid.rendering.constant.PrintOrientation
import com.isidroid.rendering.model.PreviewContainerInfo
import com.isidroid.rendering.model.RenderSettingsV2

interface RenderRepository {
    fun renderBitmap(
        width: Int,
        height: Int,
        printWidth: Int,
        printHeight: Int,
        marginTop: Int,
        marginLeft: Int,
        dpix: Int,
        dpiy: Int,
        renderSettingsV2: RenderSettingsV2,
        picture: Bitmap
    ): Bitmap

    fun preparePreviewContainer(
        @PrintOrientation printOrientation: Int,
        filePath: String,
        viewWidth: Int,
        viewHeight: Int,
        dpiX: Int,
        dpiY: Int,
        paperWidthMm: Int,
        paperHeightMm: Int
    ): PreviewContainerInfo

}

