mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-15 11:00:47 +02:00
# Description of Changes Add Crop to V2 --------- Co-authored-by: EthanHealy01 <[email protected]> Co-authored-by: Connor Yoh <[email protected]> Co-authored-by: ConnorYoh <[email protected]>
13 lines
305 B
TypeScript
13 lines
305 B
TypeScript
import { PAGE_SIZES } from "./pageSizeConstants";
|
|
|
|
// Default crop area (covers entire page)
|
|
export const DEFAULT_CROP_AREA = {
|
|
x: 0,
|
|
y: 0,
|
|
width: PAGE_SIZES.A4.width,
|
|
height: PAGE_SIZES.A4.height,
|
|
} as const;
|
|
|
|
|
|
export type ResizeHandle = 'nw' | 'ne' | 'sw' | 'se' | 'n' | 'e' | 's' | 'w' | null;
|