prepare scaling interface

This commit is contained in:
waltem01 2024-02-16 10:14:36 +01:00
parent 0554531b12
commit 2053a5ad29

View File

@ -2,10 +2,16 @@
export interface Matrix { export interface Matrix {
width: number; width: number;
height: number; height: number;
scale?: number; scale?: Scaling;
grid?: MatrixCell[][]; grid?: MatrixCell[][];
} }
// Interface to represent scaling data
export interface Scaling {
factor: number;
padding: number;
}
// Interface to represent a singualr matrix cell object // Interface to represent a singualr matrix cell object
export interface MatrixCell { export interface MatrixCell {
x: number; x: number;