mirror of
http://172.20.10.11:3000/gitadmin/INSIGHT-MVP.git
synced 2026-06-25 00:36:39 +02:00
fix: redesign handset icon as solid silhouette with filled crescent handle
Replace disconnected rectangles+stroke with seamless shape: earpiece and mouthpiece blocks connected by filled crescent arc Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0c195dc3a9
commit
c40d768827
1 changed files with 13 additions and 11 deletions
|
|
@ -733,20 +733,22 @@ export class ProfileExportService {
|
||||||
|
|
||||||
private drawHandsetIcon(doc: PDFKit.PDFDocument, x: number, y: number, color: string): void {
|
private drawHandsetIcon(doc: PDFKit.PDFDocument, x: number, y: number, color: string): void {
|
||||||
doc.save();
|
doc.save();
|
||||||
// Klassischer Telefonhörer (Festnetz)
|
// Klassischer Telefonhörer als zusammenhängende Silhouette
|
||||||
// Hörer-Form: oben Ohrmuschel, unten Sprechmuschel, verbunden durch Bogen
|
// Ohrmuschel + Sprechmuschel als Blöcke, Griff als gefüllter Bogen
|
||||||
const cx = x + 4;
|
|
||||||
|
|
||||||
// Ohrmuschel (oben) — abgerundetes Rechteck
|
// Ohrmuschel (oben)
|
||||||
doc.roundedRect(cx - 3.5, y - 0.5, 7, 3, 1.2).fill(color);
|
doc.roundedRect(x, y, 10, 3.5, 1.5).fill(color);
|
||||||
|
|
||||||
// Sprechmuschel (unten) — abgerundetes Rechteck
|
// Sprechmuschel (unten)
|
||||||
doc.roundedRect(cx - 3.5, y + 7, 7, 3, 1.2).fill(color);
|
doc.roundedRect(x, y + 7.5, 10, 3.5, 1.5).fill(color);
|
||||||
|
|
||||||
// Verbindungsbogen (links) zwischen Ohr- und Sprechmuschel
|
// Griff: gefüllte Bogenform (Crescent) — verbindet nahtlos
|
||||||
doc.moveTo(cx - 2, y + 2.5)
|
// Äußerer Bogen (weit nach links)
|
||||||
.bezierCurveTo(cx - 5, y + 4, cx - 5, y + 5.5, cx - 2, y + 7)
|
doc.moveTo(x + 4, y + 3)
|
||||||
.strokeColor(color).lineWidth(2.2).stroke();
|
.bezierCurveTo(x - 2, y + 4, x - 2, y + 7, x + 4, y + 8)
|
||||||
|
// Innerer Bogen (zurück, näher zur Mitte)
|
||||||
|
.bezierCurveTo(x + 1.5, y + 6.5, x + 1.5, y + 4.5, x + 4, y + 3)
|
||||||
|
.fill(color);
|
||||||
|
|
||||||
doc.restore();
|
doc.restore();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue