stand2026_10_06

This commit is contained in:
marco committed 2026-10-06 13:46:04 +02:00
1 parent 73015386e9
commit 30292794ae
25 files changed
+664 -164

No files matched your search

+2 -1
View File
@@ -56,13 +56,14 @@ export class DrawGroup extends DrawContainer {
let translate_x = this.attributes.get('translate_x') as number;
let translate_y = this.attributes.get('translate_y') as number;
let transformStr = ""
let rotateString = "";
if (translate_x || translate_y) {
let x = translate_x ? translate_x : 0;
let y = translate_y ? translate_y : 0;
transformStr = `translate(${x} ${y}) `
rotateString = `transform="${transformStr}"`
}
let rotateString = "";
if (rotate) {
rotateString = `transform="${transformStr}rotate(${rotate.winkel} ${rotate.posX} ${rotate.posY})"`
}
+2 -2
View File
@@ -22,13 +22,13 @@ export interface LineToCommand extends PathBaseCommand {
/** Horizontal Line-To */
export interface HorizontalLineToCommand extends PathBaseCommand {
type: "H";
type: "H" | "h";
x: number;
}
/** Vertical Line-To */
export interface VerticalLineToCommand extends PathBaseCommand {
type: "V";
type: "V" | "v";
y: number;
}