summaryrefslogtreecommitdiff
path: root/themes/blowfish/assets/lib/mermaid/diagrams/timeline/svgDraw.d.ts
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2024-04-28 17:33:09 +0200
committerChristoph Cullmann <cullmann@kde.org>2024-04-28 17:33:09 +0200
commite77051ccc4b47951bfa4fde2be436b1bb2fb113b (patch)
treef0b75ee3521da9c8cd39dac4359212348f70e4e8 /themes/blowfish/assets/lib/mermaid/diagrams/timeline/svgDraw.d.ts
parent4b355837824ac2422d371acef790f0f4249255c7 (diff)
use https://github.com/nunocoracao/blowfish.git
Diffstat (limited to 'themes/blowfish/assets/lib/mermaid/diagrams/timeline/svgDraw.d.ts')
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/timeline/svgDraw.d.ts46
1 files changed, 46 insertions, 0 deletions
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/timeline/svgDraw.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/timeline/svgDraw.d.ts
new file mode 100644
index 0000000..4c49f97
--- /dev/null
+++ b/themes/blowfish/assets/lib/mermaid/diagrams/timeline/svgDraw.d.ts
@@ -0,0 +1,46 @@
+export function drawRect(elem: any, rectData: any): any;
+export function drawFace(element: any, faceData: any): any;
+export function drawCircle(element: any, circleData: any): any;
+export function drawText(elem: any, textData: any): any;
+export function drawLabel(elem: any, txtObject: any): void;
+export function drawSection(elem: any, section: any, conf: any): void;
+export function drawTask(elem: any, task: any, conf: any): void;
+export function drawBackgroundRect(elem: any, bounds: any): void;
+export function getTextObj(): {
+ x: number;
+ y: number;
+ fill: undefined;
+ 'text-anchor': string;
+ width: number;
+ height: number;
+ textMargin: number;
+ rx: number;
+ ry: number;
+};
+export function getNoteRect(): {
+ x: number;
+ y: number;
+ width: number;
+ anchor: string;
+ height: number;
+ rx: number;
+ ry: number;
+};
+export function drawNode(elem: any, node: any, fullSection: any, conf: any): any;
+export function getVirtualNodeHeight(elem: any, node: any, conf: any): any;
+declare namespace _default {
+ export { drawRect };
+ export { drawCircle };
+ export { drawSection };
+ export { drawText };
+ export { drawLabel };
+ export { drawTask };
+ export { drawBackgroundRect };
+ export { getTextObj };
+ export { getNoteRect };
+ export { initGraphics };
+ export { drawNode };
+ export { getVirtualNodeHeight };
+}
+export default _default;
+declare function initGraphics(graphics: any): void;