Add WATERMARK tab with custom draggable text; hide FRAME in camera; fix double-dark after highlight capture
This commit is contained in:
@@ -76,3 +76,15 @@ export interface GPSInfo {
|
||||
timestamp: number;
|
||||
source?: 'exif' | 'mediaLibrary' | 'device'; // where the GPS data came from
|
||||
}
|
||||
|
||||
// Custom text watermark (WATERMARK tab -> CUSTOM WATERMARK chip): enabled flag,
|
||||
// the typed text, and its anchor position as 0..1 fractions of the photo area
|
||||
// (0.5/0.5 = centered). The anchor is the text's BASELINE plus a small 0.35em
|
||||
// drop in both renderers — keep the formula in sync across Viewfinder +
|
||||
// exportEngine.
|
||||
export interface CustomWatermark {
|
||||
enabled: boolean;
|
||||
text: string;
|
||||
x: number;
|
||||
y: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user