gedcom-ts
Version:
TypeScript GEDCOM toolkit for browser apps: import .ged/.zip, edit typed genealogy data, and export GEDCOM or GEDZIP.
16 lines (15 loc) • 657 B
TypeScript
import type { PDFPage, RGB } from 'pdf-lib';
import { GEDCOM_TS_LOGO_PATHS, GEDCOM_TS_LOGO_VIEWBOX } from '../gedcom-ts-logo.paths';
export { GEDCOM_TS_LOGO_PATHS, GEDCOM_TS_LOGO_VIEWBOX };
export interface GedcomTsLogoLayout {
readonly bottomY: number;
readonly height: number;
}
export interface DrawGedcomTsLogoOptions {
readonly pageWidth?: number;
readonly maxWidth?: number;
readonly bottomY?: number;
readonly color?: RGB;
}
/** Dessine le logo gedcom-ts en vecteur SVG sur la page (pdf-lib drawSvgPath). */
export declare function drawGedcomTsLogoOnPage(page: PDFPage, options?: DrawGedcomTsLogoOptions): GedcomTsLogoLayout;