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 = 0,
        height: Int= 0,
        printWidth: Int= 0,
        printHeight: Int= 0,
        marginTop: Int= 0,
        marginLeft: Int= 0,
        dpix: Int= 0,
        dpiy: Int= 0,
        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

}

