Index: lihata_format/comm_data.lht
===================================================================
--- lihata_format/comm_data.lht (revision 31177)
+++ lihata_format/comm_data.lht (revision 31178)
@@ -122,6 +122,24 @@
sy:hvthr@dup = {/lht_tree_doc/comm/thermal_heavy}
}
}
+ ha:gfx.ID {
+ type=ha
+ ver={>=7}
+ desc={rectangular custom pixmap graphics}
+ li:children {
+ ha:sx = { valtype=coord; desc={visible size, X direction}}
+ ha:sy = { valtype=coord; desc={visible size, Y direction}}
+ ha:cx = { valtype=coord; desc={center, X coord}}
+ ha:cy = { valtype=coord; desc={center, Y coord}}
+ ha:rot = { valtype=angle; desc={rotation angle, CCW}}
+ ha:xmirror = { valtype=ingteger; desc={0 or 1, whether the pixmap should be mirrored (x coord mirror, which means mirror against the y axis}}
+ ha:ymirror = { valtype=ingteger; desc={0 or 1, whether the pixmap should be mirrored (y coord mirror, which means mirror against the x axis}}
+ ha:pixmap_ref = { valtype=ingteger; desc={ID of the pixmap to use from the pixmaps subtree; this pixmap represents the neutral state (no rotation, no mirror) pixmap of the object}}
+ sy:attr@dup = {/lht_tree_doc/comm/attributes}
+ sy:flags@dup = {/lht_tree_doc/comm/flags_arc}
+ sy:hvthr@dup = {/lht_tree_doc/comm/thermal_heavy}
+ }
+ }
ha:polygon.ID {
type=ha
desc={polygon, as drawn (unclipped)}
Index: lihata_format/comm_pixmaps.lht
===================================================================
--- lihata_format/comm_pixmaps.lht (nonexistent)
+++ lihata_format/comm_pixmaps.lht (revision 31178)
@@ -0,0 +1,20 @@
+ha:lht_tree_doc { ha:comm {
+
+ ha:pixmaps {
+ type=ha
+ ver={>=7}
+ desc { Collection of all unique pixmaps used by the board or footprint }
+ li:children {
+ ha:ulzw.ID {
+ type=ha
+ desc { pixmap with payload ulzw-compressed }
+ li:children {
+ ha:sx = { valtype=integer; desc={size in X direction (width), in pixels }}
+ ha:sy = { valtype=integer; desc={size in Y direction (height), in pixels }}
+ ha:transparent = { valtype=string; desc={color of the transparent pixel in #rrggbb form; omit node if there is no transparent pixel in the pixmap }}
+ ha:pixmap = { valtype=string; desc={ base64 encoded version of the ulzw compressed raw pixmap, whih is in 24 bit RGB format, stored row-major }}
+ }
+ }
+ }
+ }
+}}
Index: lihata_format/coraleda-project-v1.svg
===================================================================
--- lihata_format/coraleda-project-v1.svg (revision 31177)
+++ lihata_format/coraleda-project-v1.svg (revision 31178)
@@ -33,17 +33,17 @@
-
+
-dup17_/lht_tree_doc/roots/coraleda-project-v1/children/pcb-rnd-conf-v1
+dup18_/lht_tree_doc/roots/coraleda-project-v1/children/pcb-rnd-conf-v1
pcb-rnd-conf-v1 ->
-
+
-/lht_tree_doc/roots/coraleda-project-v1->dup17_/lht_tree_doc/roots/coraleda-project-v1/children/pcb-rnd-conf-v1
+/lht_tree_doc/roots/coraleda-project-v1->dup18_/lht_tree_doc/roots/coraleda-project-v1/children/pcb-rnd-conf-v1
Index: lihata_format/data.svg
===================================================================
--- lihata_format/data.svg (revision 31177)
+++ lihata_format/data.svg (revision 31178)
@@ -4,17 +4,17 @@
-