diff --git a/lib/common/character/mod.dart b/lib/common/character/mod.dart
index 4ff5947..e9c9cc2 100644
--- a/lib/common/character/mod.dart
+++ b/lib/common/character/mod.dart
@@ -111,7 +111,7 @@ class Primary extends Character {
final width = right - left;
return (
'''
-
+
''',
width,
);
diff --git a/lib/common/character/primary/specification.dart b/lib/common/character/primary/specification.dart
index 8de8eff..867acf9 100644
--- a/lib/common/character/primary/specification.dart
+++ b/lib/common/character/primary/specification.dart
@@ -1,29 +1,44 @@
+import 'package:enthrirch/common/utils.dart';
+
enum Specification {
- basic(
+ /// Basic Specification
+ bsc(
path: "M 7.50 -35.00 L 0.00 -27.50 57.50 35.00 65.00 27.50 7.50 -35.00 Z",
- abbr: "BSC",
+ bAnchor: Coord(0, -27.50),
+ dAnchor: Coord(65.00, 27.50),
),
- contential(
+
+ /// Contential Specification
+ cte(
path:
"M 32.50 5.00 L 40.00 -2.50 7.50 -35.00 0.00 -27.50 32.50 5.00 M 15.00 -5.00 L 7.50 2.50 40.00 35.00 47.50 27.50 15.00 -5.00 Z",
- abbr: "CTE",
+ bAnchor: Coord(0, -27.50),
+ dAnchor: Coord(47.50, 27.50),
),
- constitutive(
+
+ /// Constitutive Specification
+ csv(
path:
"M 28.00 8.10 L 35.45 0.60 62.50 35.00 70.00 27.50 42.20 -8.50 34.45 -0.70 7.50 -35.00 0.00 -27.50 28.00 8.10 Z",
- abbr: "CSV",
+ bAnchor: Coord(0, -27.50),
+ dAnchor: Coord(70.00, 27.50),
),
- objective(
+
+ /// Objective Specification
+ obj(
path:
"M 47.50 35.00 L 55.00 27.50 28.10 0.60 35.55 -6.95 7.50 -35.00 0.00 -27.50 26.90 -0.60 19.40 6.90 47.50 35.00 Z",
- abbr: "OBJ",
+ bAnchor: Coord(0, -27.50),
+ dAnchor: Coord(55.00, 27.50),
);
final String path;
- final String abbr;
+ final Coord bAnchor;
+ final Coord dAnchor;
const Specification({
required this.path,
- required this.abbr,
+ required this.bAnchor,
+ required this.dAnchor,
});
}
diff --git a/lib/common/ithkuil_svg.dart b/lib/common/ithkuil_svg.dart
index c00a899..1919fa7 100644
--- a/lib/common/ithkuil_svg.dart
+++ b/lib/common/ithkuil_svg.dart
@@ -69,7 +69,7 @@ class IthkuilSvg extends StatelessWidget {
'''