// SPDX-FileCopyrightText: 2026 Jandira Technologies, LLC
//
// SPDX-License-Identifier: Apache-2.0
//! Text rectangles (`a:rect`) of the DrawingML presets, with the adjust
//! values and guides each one needs, as listed in ECMA-376 Part 1
//! presetShapeDefinitions.xml. Generated from that file; presets whose
//! text rectangle is the whole box are left out. See `preset_geom.rs`.
//!
//! Hand fixes over the generated table, both measured in live Word:
//! - `pie`: the file lists `l="il" t="ir" r="it" b="ib"`, which is empty for
//! a square; Word sets pie text in `il it ir ib`, as for an ellipse.
//! - `gear6`, `gear9`: their guides redefine `a1`/`a2`, and the generator
//! dropped the `adj1`/`adj2` defaults the first definitions read.
use super::preset_geom::TextRect;
#[rustfmt::skip]
pub(super) static TEXT_RECTS: &[(&str, TextRect)] = &[
("arc", TextRect { av: &[("adj1", "val 16200000"), ("adj2", "val 0")], gd: &[("stAng", "pin 0 adj1 21599999"), ("enAng", "pin 0 adj2 21599999"), ("sw11", "+- enAng 0 stAng"), ("sw12", "+- sw11 21600000 0"), ("swAng", "?: sw11 sw11 sw12"), ("wt1", "sin wd2 stAng"), ("ht1", "cos hd2 stAng"), ("dx1", "cat2 wd2 ht1 wt1"), ("dy1", "sat2 hd2 ht1 wt1"), ("wt2", "sin wd2 enAng"), ("ht2", "cos hd2 enAng"), ("dx2", "cat2 wd2 ht2 wt2"), ("dy2", "sat2 hd2 ht2 wt2"), ("x1", "+- hc dx1 0"), ("y1", "+- vc dy1 0"), ("x2", "+- hc dx2 0"), ("y2", "+- vc dy2 0"), ("sw0", "+- 21600000 0 stAng"), ("da1", "+- swAng 0 sw0"), ("g1", "max x1 x2"), ("ir", "?: da1 r g1"), ("sw1", "+- cd4 0 stAng"), ("sw2", "+- 27000000 0 stAng"), ("sw3", "?: sw1 sw1 sw2"), ("da2", "+- swAng 0 sw3"), ("g5", "max y1 y2"), ("ib", "?: da2 b g5"), ("sw4", "+- cd2 0 stAng"), ("sw5", "+- 32400000 0 stAng"), ("sw6", "?: sw4 sw4 sw5"), ("da3", "+- swAng 0 sw6"), ("g9", "min x1 x2"), ("il", "?: da3 l g9"), ("sw7", "+- 3cd4 0 stAng"), ("sw8", "+- 37800000 0 stAng"), ("sw9", "?: sw7 sw7 sw8"), ("da4", "+- swAng 0 sw9"), ("g13", "min y1 y2"), ("it", "?: da4 t g13")], rect: ["il", "it", "ir", "ib"] }),
("bentUpArrow", TextRect { av: &[("adj1", "val 25000"), ("adj2", "val 25000")], gd: &[("a1", "pin 0 adj1 50000"), ("a2", "pin 0 adj2 50000"), ("dx3", "*/ ss a2 100000"), ("x3", "+- r 0 dx3"), ("dx2", "*/ ss a1 200000"), ("x4", "+- x3 dx2 0"), ("dy2", "*/ ss a1 100000"), ("y2", "+- b 0 dy2")], rect: ["l", "y2", "x4", "b"] }),
("bevel", TextRect { av: &[("adj", "val 12500")], gd: &[("a", "pin 0 adj 50000"), ("x1", "*/ ss a 100000"), ("x2", "+- r 0 x1"), ("y2", "+- b 0 x1")], rect: ["x1", "x1", "x2", "y2"] }),
("blockArc", TextRect { av: &[("adj1", "val 10800000"), ("adj2", "val 0"), ("adj3", "val 25000")], gd: &[("stAng", "pin 0 adj1 21599999"), ("istAng", "pin 0 adj2 21599999"), ("a3", "pin 0 adj3 50000"), ("sw11", "+- istAng 0 stAng"), ("sw12", "+- sw11 21600000 0"), ("swAng", "?: sw11 sw11 sw12"), ("wt1", "sin wd2 stAng"), ("ht1", "cos hd2 stAng"), ("wt3", "sin wd2 istAng"), ("ht3", "cos hd2 istAng"), ("dx1", "cat2 wd2 ht1 wt1"), ("dy1", "sat2 hd2 ht1 wt1"), ("dx3", "cat2 wd2 ht3 wt3"), ("dy3", "sat2 hd2 ht3 wt3"), ("x1", "+- hc dx1 0"), ("y1", "+- vc dy1 0"), ("x3", "+- hc dx3 0"), ("y3", "+- vc dy3 0"), ("dr", "*/ ss a3 100000"), ("iwd2", "+- wd2 0 dr"), ("ihd2", "+- hd2 0 dr"), ("wt2", "sin iwd2 istAng"), ("ht2", "cos ihd2 istAng"), ("wt4", "sin iwd2 stAng"), ("ht4", "cos ihd2 stAng"), ("dx2", "cat2 iwd2 ht2 wt2"), ("dy2", "sat2 ihd2 ht2 wt2"), ("dx4", "cat2 iwd2 ht4 wt4"), ("dy4", "sat2 ihd2 ht4 wt4"), ("x2", "+- hc dx2 0"), ("y2", "+- vc dy2 0"), ("x4", "+- hc dx4 0"), ("y4", "+- vc dy4 0"), ("sw0", "+- 21600000 0 stAng"), ("da1", "+- swAng 0 sw0"), ("g1", "max x1 x2"), ("g2", "max x3 x4"), ("g3", "max g1 g2"), ("ir", "?: da1 r g3"), ("sw1", "+- cd4 0 stAng"), ("sw2", "+- 27000000 0 stAng"), ("sw3", "?: sw1 sw1 sw2"), ("da2", "+- swAng 0 sw3"), ("g5", "max y1 y2"), ("g6", "max y3 y4"), ("g7", "max g5 g6"), ("ib", "?: da2 b g7"), ("sw4", "+- cd2 0 stAng"), ("sw5", "+- 32400000 0 stAng"), ("sw6", "?: sw4 sw4 sw5"), ("da3", "+- swAng 0 sw6"), ("g9", "min x1 x2"), ("g10", "min x3 x4"), ("g11", "min g9 g10"), ("il", "?: da3 l g11"), ("sw7", "+- 3cd4 0 stAng"), ("sw8", "+- 37800000 0 stAng"), ("sw9", "?: sw7 sw7 sw8"), ("da4", "+- swAng 0 sw9"), ("g13", "min y1 y2"), ("g14", "min y3 y4"), ("g15", "min g13 g14"), ("it", "?: da4 t g15")], rect: ["il", "it", "ir", "ib"] }),
("bracePair", TextRect { av: &[("adj", "val 8333")], gd: &[("a", "pin 0 adj 25000"), ("x1", "*/ ss a 100000"), ("it", "*/ x1 29289 100000"), ("il", "+- x1 it 0"), ("ir", "+- r 0 il"), ("ib", "+- b 0 it")], rect: ["il", "il", "ir", "ib"] }),
("bracketPair", TextRect { av: &[("adj", "val 16667")], gd: &[("a", "pin 0 adj 50000"), ("x1", "*/ ss a 100000"), ("il", "*/ x1 29289 100000"), ("ir", "+- r 0 il"), ("ib", "+- b 0 il")], rect: ["il", "il", "ir", "ib"] }),
("can", TextRect { av: &[("adj", "val 25000")], gd: &[("maxAdj", "*/ 50000 h ss"), ("a", "pin 0 adj maxAdj"), ("y1", "*/ ss a 200000"), ("y2", "+- y1 y1 0"), ("y3", "+- b 0 y1")], rect: ["l", "y2", "r", "y3"] }),
("chevron", TextRect { av: &[("adj", "val 50000")], gd: &[("maxAdj", "*/ 100000 w ss"), ("a", "pin 0 adj maxAdj"), ("x1", "*/ ss a 100000"), ("x2", "+- r 0 x1"), ("dx", "+- x2 0 x1"), ("il", "?: dx x1 l"), ("ir", "?: dx x2 r")], rect: ["il", "t", "ir", "b"] }),
("chord", TextRect { av: &[], gd: &[("idx", "cos wd2 2700000"), ("idy", "sin hd2 2700000"), ("il", "+- hc 0 idx"), ("ir", "+- hc idx 0"), ("it", "+- vc 0 idy"), ("ib", "+- vc idy 0")], rect: ["il", "it", "ir", "ib"] }),
("circularArrow", TextRect { av: &[("adj1", "val 12500"), ("adj5", "val 12500")], gd: &[("a5", "pin 0 adj5 25000"), ("maxAdj1", "*/ a5 2 1"), ("a1", "pin 0 adj1 maxAdj1"), ("th", "*/ ss a1 100000"), ("thh", "*/ ss a5 100000"), ("th2", "*/ th 1 2"), ("rw1", "+- wd2 th2 thh"), ("rh1", "+- hd2 th2 thh"), ("idx", "cos rw1 2700000"), ("idy", "sin rh1 2700000"), ("il", "+- hc 0 idx"), ("ir", "+- hc idx 0"), ("it", "+- vc 0 idy"), ("ib", "+- vc idy 0")], rect: ["il", "it", "ir", "ib"] }),
("cloud", TextRect { av: &[], gd: &[("il", "*/ w 2977 21600"), ("it", "*/ h 3262 21600"), ("ir", "*/ w 17087 21600"), ("ib", "*/ h 17337 21600")], rect: ["il", "it", "ir", "ib"] }),
("cloudCallout", TextRect { av: &[], gd: &[("il", "*/ w 2977 21600"), ("it", "*/ h 3262 21600"), ("ir", "*/ w 17087 21600"), ("ib", "*/ h 17337 21600")], rect: ["il", "it", "ir", "ib"] }),
("corner", TextRect { av: &[("adj1", "val 50000"), ("adj2", "val 50000")], gd: &[("maxAdj1", "*/ 100000 h ss"), ("maxAdj2", "*/ 100000 w ss"), ("a1", "pin 0 adj1 maxAdj1"), ("a2", "pin 0 adj2 maxAdj2"), ("x1", "*/ ss a2 100000"), ("dy1", "*/ ss a1 100000"), ("y1", "+- b 0 dy1"), ("d", "+- w 0 h"), ("it", "?: d y1 t"), ("ir", "?: d r x1")], rect: ["l", "it", "ir", "b"] }),
("cornerTabs", TextRect { av: &[], gd: &[("md", "mod w h 0"), ("dx", "*/ 1 md 20"), ("y1", "+- 0 b dx"), ("x1", "+- 0 r dx")], rect: ["dx", "dx", "x1", "y1"] }),
("cube", TextRect { av: &[("adj", "val 25000")], gd: &[("a", "pin 0 adj 100000"), ("y1", "*/ ss a 100000"), ("x4", "+- r 0 y1")], rect: ["l", "y1", "x4", "b"] }),
("decagon", TextRect { av: &[("vf", "val 105146")], gd: &[("shd2", "*/ hd2 vf 100000"), ("dx1", "cos wd2 2160000"), ("x1", "+- hc 0 dx1"), ("x4", "+- hc dx1 0"), ("dy2", "sin shd2 2160000"), ("y2", "+- vc 0 dy2"), ("y3", "+- vc dy2 0")], rect: ["x1", "y2", "x4", "y3"] }),
("diagStripe", TextRect { av: &[("adj", "val 50000")], gd: &[("a", "pin 0 adj 100000"), ("x2", "*/ w a 100000"), ("x3", "+/ x2 r 2"), ("y2", "*/ h a 100000"), ("y3", "+/ y2 b 2")], rect: ["l", "t", "x3", "y3"] }),
("diamond", TextRect { av: &[], gd: &[("ir", "*/ w 3 4"), ("ib", "*/ h 3 4")], rect: ["wd4", "hd4", "ir", "ib"] }),
("dodecagon", TextRect { av: &[], gd: &[("x1", "*/ w 2894 21600"), ("x4", "*/ w 18706 21600"), ("y1", "*/ h 2894 21600"), ("y4", "*/ h 18706 21600")], rect: ["x1", "y1", "x4", "y4"] }),
("donut", TextRect { av: &[], gd: &[("idx", "cos wd2 2700000"), ("idy", "sin hd2 2700000"), ("il", "+- hc 0 idx"), ("ir", "+- hc idx 0"), ("it", "+- vc 0 idy"), ("ib", "+- vc idy 0")], rect: ["il", "it", "ir", "ib"] }),
("doubleWave", TextRect { av: &[("adj1", "val 6250"), ("adj2", "val 0")], gd: &[("a1", "pin 0 adj1 12500"), ("a2", "pin -10000 adj2 10000"), ("of2", "*/ w a2 50000"), ("dx2", "?: of2 0 of2"), ("x2", "+- l 0 dx2"), ("dx8", "?: of2 of2 0"), ("x8", "+- r 0 dx8"), ("x9", "+- l dx8 0"), ("x15", "+- r dx2 0"), ("il", "max x2 x9"), ("ir", "min x8 x15"), ("it", "*/ h a1 50000"), ("ib", "+- b 0 it")], rect: ["il", "it", "ir", "ib"] }),
("downArrow", TextRect { av: &[("adj1", "val 50000"), ("adj2", "val 50000")], gd: &[("maxAdj2", "*/ 100000 h ss"), ("a1", "pin 0 adj1 100000"), ("a2", "pin 0 adj2 maxAdj2"), ("dy1", "*/ ss a2 100000"), ("y1", "+- b 0 dy1"), ("dx1", "*/ w a1 200000"), ("x1", "+- hc 0 dx1"), ("x2", "+- hc dx1 0"), ("dy2", "*/ x1 dy1 wd2"), ("y2", "+- y1 dy2 0")], rect: ["x1", "t", "x2", "y2"] }),
("downArrowCallout", TextRect { av: &[("adj3", "val 25000"), ("adj4", "val 64977")], gd: &[("maxAdj3", "*/ 100000 h ss"), ("a3", "pin 0 adj3 maxAdj3"), ("q2", "*/ a3 ss h"), ("maxAdj4", "+- 100000 0 q2"), ("a4", "pin 0 adj4 maxAdj4"), ("y2", "*/ h a4 100000")], rect: ["l", "t", "r", "y2"] }),
("ellipse", TextRect { av: &[], gd: &[("idx", "cos wd2 2700000"), ("idy", "sin hd2 2700000"), ("il", "+- hc 0 idx"), ("ir", "+- hc idx 0"), ("it", "+- vc 0 idy"), ("ib", "+- vc idy 0")], rect: ["il", "it", "ir", "ib"] }),
("ellipseRibbon", TextRect { av: &[("adj1", "val 25000"), ("adj2", "val 50000"), ("adj3", "val 12500")], gd: &[("a1", "pin 0 adj1 100000"), ("a2", "pin 25000 adj2 75000"), ("q10", "+- 100000 0 a1"), ("q11", "*/ q10 1 2"), ("q12", "+- a1 0 q11"), ("minAdj3", "max 0 q12"), ("a3", "pin minAdj3 adj3 a1"), ("dx2", "*/ w a2 200000"), ("x2", "+- hc 0 dx2"), ("x5", "+- r 0 x2"), ("dy1", "*/ h a3 100000"), ("f1", "*/ 4 dy1 w"), ("q1", "*/ x3 x3 w"), ("q1", "*/ h a1 100000"), ("dy3", "+- q1 0 dy1"), ("q3", "*/ x2 x2 w"), ("q4", "+- x2 0 q3"), ("q5", "*/ f1 q4 1"), ("y3", "+- q5 dy3 0"), ("rh", "+- b 0 q1"), ("y6", "+- y3 rh 0")], rect: ["x2", "q1", "x5", "y6"] }),
("ellipseRibbon2", TextRect { av: &[("adj1", "val 25000"), ("adj2", "val 50000"), ("adj3", "val 12500")], gd: &[("a1", "pin 0 adj1 100000"), ("a2", "pin 25000 adj2 75000"), ("q10", "+- 100000 0 a1"), ("q11", "*/ q10 1 2"), ("q12", "+- a1 0 q11"), ("minAdj3", "max 0 q12"), ("a3", "pin minAdj3 adj3 a1"), ("dx2", "*/ w a2 200000"), ("x2", "+- hc 0 dx2"), ("x5", "+- r 0 x2"), ("dy1", "*/ h a3 100000"), ("f1", "*/ 4 dy1 w"), ("q1", "*/ x3 x3 w"), ("q1", "*/ h a1 100000"), ("dy3", "+- q1 0 dy1"), ("q3", "*/ x2 x2 w"), ("q4", "+- x2 0 q3"), ("q5", "*/ f1 q4 1"), ("u3", "+- q5 dy3 0"), ("rh", "+- b 0 q1"), ("u6", "+- u3 rh 0"), ("y6", "+- b 0 u6")], rect: ["x2", "y6", "x5", "rh"] }),
("flowChartAlternateProcess", TextRect { av: &[], gd: &[("il", "*/ ssd6 29289 100000"), ("ir", "+- r 0 il"), ("ib", "+- b 0 il")], rect: ["il", "il", "ir", "ib"] }),
("flowChartCollate", TextRect { av: &[], gd: &[("ir", "*/ w 3 4"), ("ib", "*/ h 3 4")], rect: ["wd4", "hd4", "ir", "ib"] }),
("flowChartConnector", TextRect { av: &[], gd: &[("idx", "cos wd2 2700000"), ("idy", "sin hd2 2700000"), ("il", "+- hc 0 idx"), ("ir", "+- hc idx 0"), ("it", "+- vc 0 idy"), ("ib", "+- vc idy 0")], rect: ["il", "it", "ir", "ib"] }),
("flowChartDecision", TextRect { av: &[], gd: &[("ir", "*/ w 3 4"), ("ib", "*/ h 3 4")], rect: ["wd4", "hd4", "ir", "ib"] }),
("flowChartDelay", TextRect { av: &[], gd: &[("idx", "cos wd2 2700000"), ("idy", "sin hd2 2700000"), ("ir", "+- hc idx 0"), ("it", "+- vc 0 idy"), ("ib", "+- vc idy 0")], rect: ["l", "it", "ir", "ib"] }),
("flowChartDisplay", TextRect { av: &[], gd: &[("x2", "*/ w 5 6")], rect: ["wd6", "t", "x2", "b"] }),
("flowChartDocument", TextRect { av: &[], gd: &[("y1", "*/ h 17322 21600")], rect: ["l", "t", "r", "y1"] }),
("flowChartExtract", TextRect { av: &[], gd: &[("x2", "*/ w 3 4")], rect: ["wd4", "vc", "x2", "b"] }),
("flowChartInputOutput", TextRect { av: &[], gd: &[("x5", "*/ w 4 5")], rect: ["wd5", "t", "x5", "b"] }),
("flowChartInternalStorage", TextRect { av: &[], gd: &[], rect: ["wd8", "hd8", "r", "b"] }),
("flowChartMagneticDisk", TextRect { av: &[], gd: &[("y3", "*/ h 5 6")], rect: ["l", "hd3", "r", "y3"] }),
("flowChartMagneticDrum", TextRect { av: &[], gd: &[("x2", "*/ w 2 3")], rect: ["wd6", "t", "x2", "b"] }),
("flowChartMagneticTape", TextRect { av: &[], gd: &[("idx", "cos wd2 2700000"), ("idy", "sin hd2 2700000"), ("il", "+- hc 0 idx"), ("ir", "+- hc idx 0"), ("it", "+- vc 0 idy"), ("ib", "+- vc idy 0")], rect: ["il", "it", "ir", "ib"] }),
("flowChartManualInput", TextRect { av: &[], gd: &[], rect: ["l", "hd5", "r", "b"] }),
("flowChartManualOperation", TextRect { av: &[], gd: &[("x3", "*/ w 4 5")], rect: ["wd5", "t", "x3", "b"] }),
("flowChartMerge", TextRect { av: &[], gd: &[("x2", "*/ w 3 4")], rect: ["wd4", "t", "x2", "vc"] }),
("flowChartMultidocument", TextRect { av: &[], gd: &[("y2", "*/ h 3675 21600"), ("y8", "*/ h 20782 21600"), ("x5", "*/ w 18595 21600")], rect: ["l", "y2", "x5", "y8"] }),
("flowChartOfflineStorage", TextRect { av: &[], gd: &[("x4", "*/ w 3 4")], rect: ["wd4", "t", "x4", "vc"] }),
("flowChartOffpageConnector", TextRect { av: &[], gd: &[("y1", "*/ h 4 5")], rect: ["l", "t", "r", "y1"] }),
("flowChartOnlineStorage", TextRect { av: &[], gd: &[("x2", "*/ w 5 6")], rect: ["wd6", "t", "x2", "b"] }),
("flowChartOr", TextRect { av: &[], gd: &[("idx", "cos wd2 2700000"), ("idy", "sin hd2 2700000"), ("il", "+- hc 0 idx"), ("ir", "+- hc idx 0"), ("it", "+- vc 0 idy"), ("ib", "+- vc idy 0")], rect: ["il", "it", "ir", "ib"] }),
("flowChartPredefinedProcess", TextRect { av: &[], gd: &[("x2", "*/ w 7 8")], rect: ["wd8", "t", "x2", "b"] }),
("flowChartPreparation", TextRect { av: &[], gd: &[("x2", "*/ w 4 5")], rect: ["wd5", "t", "x2", "b"] }),
("flowChartPunchedCard", TextRect { av: &[], gd: &[], rect: ["l", "hd5", "r", "b"] }),
("flowChartPunchedTape", TextRect { av: &[], gd: &[("ib", "*/ h 4 5")], rect: ["l", "hd5", "r", "ib"] }),
("flowChartSort", TextRect { av: &[], gd: &[("ir", "*/ w 3 4"), ("ib", "*/ h 3 4")], rect: ["wd4", "hd4", "ir", "ib"] }),
("flowChartSummingJunction", TextRect { av: &[], gd: &[("idx", "cos wd2 2700000"), ("idy", "sin hd2 2700000"), ("il", "+- hc 0 idx"), ("ir", "+- hc idx 0"), ("it", "+- vc 0 idy"), ("ib", "+- vc idy 0")], rect: ["il", "it", "ir", "ib"] }),
("flowChartTerminator", TextRect { av: &[], gd: &[("il", "*/ w 1018 21600"), ("ir", "*/ w 20582 21600"), ("it", "*/ h 3163 21600"), ("ib", "*/ h 18437 21600")], rect: ["il", "it", "ir", "ib"] }),
("foldedCorner", TextRect { av: &[("adj", "val 16667")], gd: &[("a", "pin 0 adj 50000"), ("dy2", "*/ ss a 100000"), ("y2", "+- b 0 dy2")], rect: ["l", "t", "r", "y2"] }),
("frame", TextRect { av: &[("adj1", "val 12500")], gd: &[("a1", "pin 0 adj1 50000"), ("x1", "*/ ss a1 100000"), ("x4", "+- r 0 x1"), ("y4", "+- b 0 x1")], rect: ["x1", "x1", "x4", "y4"] }),
("gear6", TextRect { av: &[("adj1", "val 15000"), ("adj2", "val 3526")], gd: &[("a1", "pin 0 adj1 20000"), ("a2", "pin 0 adj2 5358"), ("th", "*/ ss a1 100000"), ("lFD", "*/ ss a2 100000"), ("th2", "*/ th 1 2"), ("l2", "*/ lFD 1 2"), ("l3", "+- th2 l2 0"), ("rh", "+- hd2 0 th"), ("rw", "+- wd2 0 th"), ("dr", "+- rw 0 rh"), ("maxr", "?: dr rh rw"), ("ha", "at2 maxr l3"), ("aA1", "+- 19800000 0 ha"), ("aD1", "+- 19800000 ha 0"), ("ta11", "cos rw aA1"), ("ta12", "sin rh aA1"), ("bA1", "at2 ta11 ta12"), ("cta1", "cos rh bA1"), ("sta1", "sin rw bA1"), ("ma1", "mod cta1 sta1 0"), ("na1", "*/ rw rh ma1"), ("dxa1", "cos na1 bA1"), ("dya1", "sin na1 bA1"), ("xA1", "+- hc dxa1 0"), ("yA1", "+- vc dya1 0"), ("td11", "cos rw aD1"), ("td12", "sin rh aD1"), ("bD1", "at2 td11 td12"), ("ctd1", "cos rh bD1"), ("std1", "sin rw bD1"), ("md1", "mod ctd1 std1 0"), ("nd1", "*/ rw rh md1"), ("dxd1", "cos nd1 bD1"), ("dyd1", "sin nd1 bD1"), ("xD1", "+- hc dxd1 0"), ("yD1", "+- vc dyd1 0"), ("xAD1", "+- xA1 0 xD1"), ("yAD1", "+- yA1 0 yD1"), ("a1", "at2 yAD1 xAD1"), ("yD2", "+- h 0 yA1"), ("xD5", "+- w 0 xA1")], rect: ["xD5", "yA1", "xA1", "yD2"] }),
("gear9", TextRect { av: &[("adj1", "val 10000"), ("adj2", "val 1763")], gd: &[("a1", "pin 0 adj1 20000"), ("a2", "pin 0 adj2 2679"), ("th", "*/ ss a1 100000"), ("lFD", "*/ ss a2 100000"), ("th2", "*/ th 1 2"), ("l2", "*/ lFD 1 2"), ("l3", "+- th2 l2 0"), ("rh", "+- hd2 0 th"), ("rw", "+- wd2 0 th"), ("dr", "+- rw 0 rh"), ("maxr", "?: dr rh rw"), ("ha", "at2 maxr l3"), ("aA1", "+- 18600000 0 ha"), ("aD1", "+- 18600000 ha 0"), ("ta11", "cos rw aA1"), ("ta12", "sin rh aA1"), ("bA1", "at2 ta11 ta12"), ("cta1", "cos rh bA1"), ("sta1", "sin rw bA1"), ("ma1", "mod cta1 sta1 0"), ("na1", "*/ rw rh ma1"), ("dxa1", "cos na1 bA1"), ("dya1", "sin na1 bA1"), ("xA1", "+- hc dxa1 0"), ("yA1", "+- vc dya1 0"), ("td11", "cos rw aD1"), ("td12", "sin rh aD1"), ("bD1", "at2 td11 td12"), ("ctd1", "cos rh bD1"), ("std1", "sin rw bD1"), ("md1", "mod ctd1 std1 0"), ("nd1", "*/ rw rh md1"), ("dxd1", "cos nd1 bD1"), ("dyd1", "sin nd1 bD1"), ("xD1", "+- hc dxd1 0"), ("yD1", "+- vc dyd1 0"), ("xAD1", "+- xA1 0 xD1"), ("yAD1", "+- yA1 0 yD1"), ("a1", "at2 yAD1 xAD1"), ("aA2", "+- 21000000 0 ha"), ("aD2", "+- 21000000 ha 0"), ("ta21", "cos rw aA2"), ("ta22", "sin rh aA2"), ("bA2", "at2 ta21 ta22"), ("cta2", "cos rh bA2"), ("sta2", "sin rw bA2"), ("ma2", "mod cta2 sta2 0"), ("na2", "*/ rw rh ma2"), ("dxa2", "cos na2 bA2"), ("dya2", "sin na2 bA2"), ("xA2", "+- hc dxa2 0"), ("yA2", "+- vc dya2 0"), ("td21", "cos rw aD2"), ("td22", "sin rh aD2"), ("bD2", "at2 td21 td22"), ("ctd2", "cos rh bD2"), ("std2", "sin rw bD2"), ("md2", "mod ctd2 std2 0"), ("nd2", "*/ rw rh md2"), ("dxd2", "cos nd2 bD2"), ("dyd2", "sin nd2 bD2"), ("xD2", "+- hc dxd2 0"), ("yD2", "+- vc dyd2 0"), ("xAD2", "+- xA2 0 xD2"), ("yAD2", "+- yA2 0 yD2"), ("a2", "at2 yAD2 xAD2"), ("aD3", "+- 1800000 ha 0"), ("td31", "cos rw aD3"), ("td32", "sin rh aD3"), ("bD3", "at2 td31 td32"), ("ctd3", "cos rh bD3"), ("std3", "sin rw bD3"), ("md3", "mod ctd3 std3 0"), ("nd3", "*/ rw rh md3"), ("dyd3", "sin nd3 bD3"), ("yD3", "+- vc dyd3 0"), ("xA8", "+- w 0 xD1")], rect: ["xA8", "yD1", "xD1", "yD3"] }),
("heart", TextRect { av: &[], gd: &[("il", "*/ w 1 6"), ("ir", "*/ w 5 6"), ("ib", "*/ h 2 3")], rect: ["il", "hd4", "ir", "ib"] }),
("heptagon", TextRect { av: &[("hf", "val 102572"), ("vf", "val 105210")], gd: &[("swd2", "*/ wd2 hf 100000"), ("shd2", "*/ hd2 vf 100000"), ("svc", "*/ vc vf 100000"), ("dx2", "*/ swd2 78183 100000"), ("dy1", "*/ shd2 62349 100000"), ("x2", "+- hc 0 dx2"), ("x5", "+- hc dx2 0"), ("y1", "+- svc 0 dy1"), ("ib", "+- b 0 y1")], rect: ["x2", "y1", "x5", "ib"] }),
("hexagon", TextRect { av: &[("adj", "val 25000")], gd: &[("maxAdj", "*/ 50000 w ss"), ("a", "pin 0 adj maxAdj"), ("q1", "*/ maxAdj -1 2"), ("q2", "+- a q1 0"), ("q3", "?: q2 4 2"), ("q4", "?: q2 3 2"), ("q5", "?: q2 q1 0"), ("q6", "+/ a q5 q1"), ("q7", "*/ q6 q4 -1"), ("q8", "+- q3 q7 0"), ("il", "*/ w q8 24"), ("it", "*/ h q8 24"), ("ir", "+- r 0 il"), ("ib", "+- b 0 it")], rect: ["il", "it", "ir", "ib"] }),
("homePlate", TextRect { av: &[("adj", "val 50000")], gd: &[("maxAdj", "*/ 100000 w ss"), ("a", "pin 0 adj maxAdj"), ("dx1", "*/ ss a 100000"), ("x1", "+- r 0 dx1"), ("ir", "+/ x1 r 2")], rect: ["l", "t", "ir", "b"] }),
("horizontalScroll", TextRect { av: &[("adj", "val 12500")], gd: &[("a", "pin 0 adj 25000"), ("ch", "*/ ss a 100000"), ("ch2", "*/ ch 1 2"), ("y6", "+- b 0 ch"), ("x4", "+- r 0 ch2")], rect: ["ch", "ch", "x4", "y6"] }),
("irregularSeal1", TextRect { av: &[], gd: &[("x5", "*/ w 4627 21600"), ("x21", "*/ w 16702 21600"), ("y3", "*/ h 6320 21600"), ("y9", "*/ h 13937 21600")], rect: ["x5", "y3", "x21", "y9"] }),
("irregularSeal2", TextRect { av: &[], gd: &[("x5", "*/ w 5372 21600"), ("x19", "*/ w 14640 21600"), ("y3", "*/ h 6382 21600"), ("y17", "*/ h 15935 21600")], rect: ["x5", "y3", "x19", "y17"] }),
("leftArrow", TextRect { av: &[("adj1", "val 50000"), ("adj2", "val 50000")], gd: &[("maxAdj2", "*/ 100000 w ss"), ("a1", "pin 0 adj1 100000"), ("a2", "pin 0 adj2 maxAdj2"), ("dx2", "*/ ss a2 100000"), ("x2", "+- l dx2 0"), ("dy1", "*/ h a1 200000"), ("y1", "+- vc 0 dy1"), ("y2", "+- vc dy1 0"), ("dx1", "*/ y1 dx2 hd2"), ("x1", "+- x2 0 dx1")], rect: ["x1", "y1", "r", "y2"] }),
("leftArrowCallout", TextRect { av: &[("adj3", "val 25000"), ("adj4", "val 64977")], gd: &[("maxAdj3", "*/ 100000 w ss"), ("a3", "pin 0 adj3 maxAdj3"), ("q2", "*/ a3 ss w"), ("maxAdj4", "+- 100000 0 q2"), ("a4", "pin 0 adj4 maxAdj4"), ("dx2", "*/ w a4 100000"), ("x2", "+- r 0 dx2")], rect: ["x2", "t", "r", "b"] }),
("leftBrace", TextRect { av: &[("adj1", "val 8333"), ("adj2", "val 50000")], gd: &[("a2", "pin 0 adj2 100000"), ("q1", "+- 100000 0 a2"), ("q2", "min q1 a2"), ("q3", "*/ q2 1 2"), ("maxAdj1", "*/ q3 h ss"), ("a1", "pin 0 adj1 maxAdj1"), ("y1", "*/ ss a1 100000"), ("dx1", "cos wd2 2700000"), ("dy1", "sin y1 2700000"), ("il", "+- r 0 dx1"), ("it", "+- y1 0 dy1"), ("ib", "+- b dy1 y1")], rect: ["il", "it", "r", "ib"] }),
("leftBracket", TextRect { av: &[("adj", "val 8333")], gd: &[("maxAdj", "*/ 50000 h ss"), ("a", "pin 0 adj maxAdj"), ("y1", "*/ ss a 100000"), ("dx1", "cos w 2700000"), ("dy1", "sin y1 2700000"), ("il", "+- r 0 dx1"), ("it", "+- y1 0 dy1"), ("ib", "+- b dy1 y1")], rect: ["il", "it", "r", "ib"] }),
("leftCircularArrow", TextRect { av: &[("adj1", "val 12500"), ("adj5", "val 12500")], gd: &[("a5", "pin 0 adj5 25000"), ("maxAdj1", "*/ a5 2 1"), ("a1", "pin 0 adj1 maxAdj1"), ("th", "*/ ss a1 100000"), ("thh", "*/ ss a5 100000"), ("th2", "*/ th 1 2"), ("rw1", "+- wd2 th2 thh"), ("rh1", "+- hd2 th2 thh"), ("idx", "cos rw1 2700000"), ("idy", "sin rh1 2700000"), ("il", "+- hc 0 idx"), ("ir", "+- hc idx 0"), ("it", "+- vc 0 idy"), ("ib", "+- vc idy 0")], rect: ["il", "it", "ir", "ib"] }),
("leftRightArrow", TextRect { av: &[("adj1", "val 50000"), ("adj2", "val 50000")], gd: &[("maxAdj2", "*/ 50000 w ss"), ("a1", "pin 0 adj1 100000"), ("a2", "pin 0 adj2 maxAdj2"), ("x2", "*/ ss a2 100000"), ("x3", "+- r 0 x2"), ("dy", "*/ h a1 200000"), ("y1", "+- vc 0 dy"), ("y2", "+- vc dy 0"), ("dx1", "*/ y1 x2 hd2"), ("x1", "+- x2 0 dx1"), ("x4", "+- x3 dx1 0")], rect: ["x1", "y1", "x4", "y2"] }),
("leftRightArrowCallout", TextRect { av: &[("adj3", "val 25000"), ("adj4", "val 48123")], gd: &[("maxAdj3", "*/ 50000 w ss"), ("a3", "pin 0 adj3 maxAdj3"), ("q2", "*/ a3 ss wd2"), ("maxAdj4", "+- 100000 0 q2"), ("a4", "pin 0 adj4 maxAdj4"), ("dx2", "*/ w a4 200000"), ("x2", "+- hc 0 dx2"), ("x3", "+- hc dx2 0")], rect: ["x2", "t", "x3", "b"] }),
("leftRightCircularArrow", TextRect { av: &[("adj1", "val 12500"), ("adj5", "val 12500")], gd: &[("a5", "pin 0 adj5 25000"), ("maxAdj1", "*/ a5 2 1"), ("a1", "pin 0 adj1 maxAdj1"), ("th", "*/ ss a1 100000"), ("thh", "*/ ss a5 100000"), ("th2", "*/ th 1 2"), ("rw1", "+- wd2 th2 thh"), ("rh1", "+- hd2 th2 thh"), ("idx", "cos rw1 2700000"), ("idy", "sin rh1 2700000"), ("il", "+- hc 0 idx"), ("ir", "+- hc idx 0"), ("it", "+- vc 0 idy"), ("ib", "+- vc idy 0")], rect: ["il", "it", "ir", "ib"] }),
("leftRightRibbon", TextRect { av: &[("adj1", "val 50000"), ("adj2", "val 50000"), ("adj3", "val 16667")], gd: &[("a3", "pin 0 adj3 33333"), ("maxAdj1", "+- 100000 0 a3"), ("a1", "pin 0 adj1 maxAdj1"), ("w1", "+- wd2 0 wd32"), ("maxAdj2", "*/ 100000 w1 ss"), ("a2", "pin 0 adj2 maxAdj2"), ("x1", "*/ ss a2 100000"), ("x4", "+- r 0 x1"), ("dy1", "*/ h a1 200000"), ("dy2", "*/ h a3 -200000"), ("ly1", "+- vc dy2 dy1"), ("ry4", "+- vc dy1 dy2")], rect: ["x1", "ly1", "x4", "ry4"] }),
("leftRightUpArrow", TextRect { av: &[("adj1", "val 25000"), ("adj2", "val 25000"), ("adj3", "val 25000")], gd: &[("a2", "pin 0 adj2 50000"), ("maxAdj1", "*/ a2 2 1"), ("a1", "pin 0 adj1 maxAdj1"), ("q1", "+- 100000 0 maxAdj1"), ("maxAdj3", "*/ q1 1 2"), ("a3", "pin 0 adj3 maxAdj3"), ("x1", "*/ ss a3 100000"), ("dx2", "*/ ss a2 100000"), ("dx3", "*/ ss a1 200000"), ("y4", "+- b 0 dx2"), ("y3", "+- y4 0 dx3"), ("y5", "+- y4 dx3 0"), ("il", "*/ dx3 x1 dx2"), ("ir", "+- r 0 il")], rect: ["il", "y3", "ir", "y5"] }),
("leftUpArrow", TextRect { av: &[("adj1", "val 25000"), ("adj2", "val 25000"), ("adj3", "val 25000")], gd: &[("a2", "pin 0 adj2 50000"), ("maxAdj1", "*/ a2 2 1"), ("a1", "pin 0 adj1 maxAdj1"), ("maxAdj3", "+- 100000 0 maxAdj1"), ("a3", "pin 0 adj3 maxAdj3"), ("x1", "*/ ss a3 100000"), ("dx4", "*/ ss a2 100000"), ("x4", "+- r 0 dx4"), ("y4", "+- b 0 dx4"), ("dx3", "*/ ss a1 200000"), ("y3", "+- y4 0 dx3"), ("y5", "+- y4 dx3 0"), ("il", "*/ dx3 x1 dx4")], rect: ["il", "y3", "x4", "y5"] }),
("lightningBolt", TextRect { av: &[], gd: &[("x4", "*/ w 8757 21600"), ("x9", "*/ w 13917 21600"), ("y4", "*/ h 7437 21600"), ("y10", "*/ h 14277 21600")], rect: ["x4", "y4", "x9", "y10"] }),
("mathDivide", TextRect { av: &[("adj1", "val 23520")], gd: &[("a1", "pin 1000 adj1 36745"), ("dy1", "*/ h a1 200000"), ("dx1", "*/ w 73490 200000"), ("y3", "+- vc 0 dy1"), ("y4", "+- vc dy1 0"), ("x1", "+- hc 0 dx1"), ("x3", "+- hc dx1 0")], rect: ["x1", "y3", "x3", "y4"] }),
("mathEqual", TextRect { av: &[("adj1", "val 23520"), ("adj2", "val 11760")], gd: &[("a1", "pin 0 adj1 36745"), ("2a1", "*/ a1 2 1"), ("mAdj2", "+- 100000 0 2a1"), ("a2", "pin 0 adj2 mAdj2"), ("dy1", "*/ h a1 100000"), ("dy2", "*/ h a2 200000"), ("dx1", "*/ w 73490 200000"), ("y2", "+- vc 0 dy2"), ("y3", "+- vc dy2 0"), ("y1", "+- y2 0 dy1"), ("y4", "+- y3 dy1 0"), ("x1", "+- hc 0 dx1"), ("x2", "+- hc dx1 0")], rect: ["x1", "y1", "x2", "y4"] }),
("mathMinus", TextRect { av: &[("adj1", "val 23520")], gd: &[("a1", "pin 0 adj1 100000"), ("dy1", "*/ h a1 200000"), ("dx1", "*/ w 73490 200000"), ("y1", "+- vc 0 dy1"), ("y2", "+- vc dy1 0"), ("x1", "+- hc 0 dx1"), ("x2", "+- hc dx1 0")], rect: ["x1", "y1", "x2", "y2"] }),
("mathMultiply", TextRect { av: &[("adj1", "val 23520")], gd: &[("a1", "pin 0 adj1 51965"), ("th", "*/ ss a1 100000"), ("a", "at2 w h"), ("sa", "sin 1 a"), ("ca", "cos 1 a"), ("dl", "mod w h 0"), ("rw", "*/ dl 51965 100000"), ("lM", "+- dl 0 rw"), ("xM", "*/ ca lM 2"), ("yM", "*/ sa lM 2"), ("dxAM", "*/ sa th 2"), ("dyAM", "*/ ca th 2"), ("xA", "+- xM 0 dxAM"), ("yB", "+- yM 0 dyAM"), ("xE", "+- r 0 xA"), ("yH", "+- b 0 yB")], rect: ["xA", "yB", "xE", "yH"] }),
("mathNotEqual", TextRect { av: &[("adj1", "val 23520"), ("adj3", "val 11760")], gd: &[("a1", "pin 0 adj1 50000"), ("2a1", "*/ a1 2 1"), ("maxAdj3", "+- 100000 0 2a1"), ("a3", "pin 0 adj3 maxAdj3"), ("dy1", "*/ h a1 100000"), ("dy2", "*/ h a3 200000"), ("dx1", "*/ w 73490 200000"), ("x1", "+- hc 0 dx1"), ("x8", "+- hc dx1 0"), ("y2", "+- vc 0 dy2"), ("y3", "+- vc dy2 0"), ("y1", "+- y2 0 dy1"), ("y4", "+- y3 dy1 0")], rect: ["x1", "y1", "x8", "y4"] }),
("mathPlus", TextRect { av: &[("adj1", "val 23520")], gd: &[("a1", "pin 0 adj1 73490"), ("dx1", "*/ w 73490 200000"), ("dx2", "*/ ss a1 200000"), ("x1", "+- hc 0 dx1"), ("x4", "+- hc dx1 0"), ("y2", "+- vc 0 dx2"), ("y3", "+- vc dx2 0")], rect: ["x1", "y2", "x4", "y3"] }),
("moon", TextRect { av: &[("adj", "val 50000")], gd: &[("a", "pin 0 adj 87500"), ("g0", "*/ ss a 100000"), ("g0w", "*/ g0 w ss"), ("g12", "*/ g0 9598 32768"), ("g12w", "*/ g12 w ss"), ("g13", "+- ss 0 g12"), ("q1", "*/ ss ss 1"), ("q2", "*/ g13 g13 1"), ("q3", "+- q1 0 q2"), ("q4", "sqrt q3"), ("dy4", "*/ q4 hd2 ss"), ("g15h", "+- vc 0 dy4"), ("g16h", "+- vc dy4 0")], rect: ["g12w", "g15h", "g0w", "g16h"] }),
("nonIsoscelesTrapezoid", TextRect { av: &[("adj1", "val 25000"), ("adj2", "val 25000")], gd: &[("maxAdj", "*/ 50000 w ss"), ("a1", "pin 0 adj1 maxAdj"), ("a2", "pin 0 adj2 maxAdj"), ("il", "*/ wd3 a1 maxAdj"), ("adjm", "max a1 a2"), ("it", "*/ hd3 adjm maxAdj"), ("irt", "*/ wd3 a2 maxAdj"), ("ir", "+- r 0 irt")], rect: ["il", "it", "ir", "b"] }),
("noSmoking", TextRect { av: &[], gd: &[("idx", "cos wd2 2700000"), ("idy", "sin hd2 2700000"), ("il", "+- hc 0 idx"), ("ir", "+- hc idx 0"), ("it", "+- vc 0 idy"), ("ib", "+- vc idy 0")], rect: ["il", "it", "ir", "ib"] }),
("notchedRightArrow", TextRect { av: &[("adj1", "val 50000"), ("adj2", "val 50000")], gd: &[("maxAdj2", "*/ 100000 w ss"), ("a1", "pin 0 adj1 100000"), ("a2", "pin 0 adj2 maxAdj2"), ("dx2", "*/ ss a2 100000"), ("dy1", "*/ h a1 200000"), ("y1", "+- vc 0 dy1"), ("y2", "+- vc dy1 0"), ("x1", "*/ dy1 dx2 hd2"), ("x3", "+- r 0 x1")], rect: ["x1", "y1", "x3", "y2"] }),
("octagon", TextRect { av: &[("adj", "val 29289")], gd: &[("a", "pin 0 adj 50000"), ("x1", "*/ ss a 100000"), ("il", "*/ x1 1 2"), ("ir", "+- r 0 il"), ("ib", "+- b 0 il")], rect: ["il", "il", "ir", "ib"] }),
("parallelogram", TextRect { av: &[("adj", "val 25000")], gd: &[("maxAdj", "*/ 100000 w ss"), ("a", "pin 0 adj maxAdj"), ("il", "*/ wd2 a maxAdj"), ("q1", "*/ 5 a maxAdj"), ("q2", "+/ 1 q1 12"), ("il", "*/ q2 w 1"), ("it", "*/ q2 h 1"), ("ir", "+- r 0 il"), ("ib", "+- b 0 it")], rect: ["il", "it", "ir", "ib"] }),
("pentagon", TextRect { av: &[("hf", "val 105146"), ("vf", "val 110557")], gd: &[("swd2", "*/ wd2 hf 100000"), ("shd2", "*/ hd2 vf 100000"), ("svc", "*/ vc vf 100000"), ("dx1", "cos swd2 1080000"), ("dx2", "cos swd2 18360000"), ("dy1", "sin shd2 1080000"), ("dy2", "sin shd2 18360000"), ("x2", "+- hc 0 dx2"), ("x3", "+- hc dx2 0"), ("y1", "+- svc 0 dy1"), ("y2", "+- svc 0 dy2"), ("it", "*/ y1 dx2 dx1")], rect: ["x2", "it", "x3", "y2"] }),
("pie", TextRect { av: &[], gd: &[("idx", "cos wd2 2700000"), ("idy", "sin hd2 2700000"), ("il", "+- hc 0 idx"), ("ir", "+- hc idx 0"), ("it", "+- vc 0 idy"), ("ib", "+- vc idy 0")], rect: ["il", "it", "ir", "ib"] }),
("pieWedge", TextRect { av: &[], gd: &[("g1", "cos w 13500000"), ("g2", "sin h 13500000"), ("x1", "+- r g1 0"), ("y1", "+- b g2 0")], rect: ["x1", "y1", "r", "b"] }),
("plaque", TextRect { av: &[("adj", "val 16667")], gd: &[("a", "pin 0 adj 50000"), ("x1", "*/ ss a 100000"), ("il", "*/ x1 70711 100000"), ("ir", "+- r 0 il"), ("ib", "+- b 0 il")], rect: ["il", "il", "ir", "ib"] }),
("plaqueTabs", TextRect { av: &[], gd: &[("md", "mod w h 0"), ("dx", "*/ 1 md 20"), ("y1", "+- 0 b dx"), ("x1", "+- 0 r dx")], rect: ["dx", "dx", "x1", "y1"] }),
("plus", TextRect { av: &[("adj", "val 25000")], gd: &[("a", "pin 0 adj 50000"), ("x1", "*/ ss a 100000"), ("x2", "+- r 0 x1"), ("y2", "+- b 0 x1"), ("d", "+- w 0 h"), ("il", "?: d l x1"), ("ir", "?: d r x2"), ("it", "?: d x1 t"), ("ib", "?: d y2 b")], rect: ["il", "it", "ir", "ib"] }),
("quadArrow", TextRect { av: &[("adj1", "val 22500"), ("adj2", "val 22500"), ("adj3", "val 22500")], gd: &[("a2", "pin 0 adj2 50000"), ("maxAdj1", "*/ a2 2 1"), ("a1", "pin 0 adj1 maxAdj1"), ("q1", "+- 100000 0 maxAdj1"), ("maxAdj3", "*/ q1 1 2"), ("a3", "pin 0 adj3 maxAdj3"), ("x1", "*/ ss a3 100000"), ("dx2", "*/ ss a2 100000"), ("dx3", "*/ ss a1 200000"), ("y3", "+- vc 0 dx3"), ("y4", "+- vc dx3 0"), ("il", "*/ dx3 x1 dx2"), ("ir", "+- r 0 il")], rect: ["il", "y3", "ir", "y4"] }),
("quadArrowCallout", TextRect { av: &[("adj1", "val 18515"), ("adj2", "val 18515"), ("adj3", "val 18515"), ("adj4", "val 48123")], gd: &[("a2", "pin 0 adj2 50000"), ("maxAdj1", "*/ a2 2 1"), ("a1", "pin 0 adj1 maxAdj1"), ("maxAdj3", "+- 50000 0 a2"), ("a3", "pin 0 adj3 maxAdj3"), ("q2", "*/ a3 2 1"), ("maxAdj4", "+- 100000 0 q2"), ("a4", "pin a1 adj4 maxAdj4"), ("dx1", "*/ w a4 200000"), ("dy1", "*/ h a4 200000"), ("x2", "+- hc 0 dx1"), ("x7", "+- hc dx1 0"), ("y2", "+- vc 0 dy1"), ("y7", "+- vc dy1 0")], rect: ["x2", "y2", "x7", "y7"] }),
("ribbon", TextRect { av: &[("adj1", "val 16667"), ("adj2", "val 50000")], gd: &[("a1", "pin 0 adj1 33333"), ("a2", "pin 25000 adj2 75000"), ("dx2", "*/ w a2 200000"), ("x2", "+- hc 0 dx2"), ("x9", "+- hc dx2 0"), ("y2", "*/ h a1 100000")], rect: ["x2", "y2", "x9", "b"] }),
("ribbon2", TextRect { av: &[("adj1", "val 16667"), ("adj2", "val 50000")], gd: &[("a1", "pin 0 adj1 33333"), ("a2", "pin 25000 adj2 75000"), ("dx2", "*/ w a2 200000"), ("x2", "+- hc 0 dx2"), ("x9", "+- hc dx2 0"), ("dy2", "*/ h a1 100000"), ("y2", "+- b 0 dy2")], rect: ["x2", "t", "x9", "y2"] }),
("rightArrow", TextRect { av: &[("adj1", "val 50000"), ("adj2", "val 50000")], gd: &[("maxAdj2", "*/ 100000 w ss"), ("a1", "pin 0 adj1 100000"), ("a2", "pin 0 adj2 maxAdj2"), ("dx1", "*/ ss a2 100000"), ("x1", "+- r 0 dx1"), ("dy1", "*/ h a1 200000"), ("y1", "+- vc 0 dy1"), ("y2", "+- vc dy1 0"), ("dx2", "*/ y1 dx1 hd2"), ("x2", "+- x1 dx2 0")], rect: ["l", "y1", "x2", "y2"] }),
("rightArrowCallout", TextRect { av: &[("adj3", "val 25000"), ("adj4", "val 64977")], gd: &[("maxAdj3", "*/ 100000 w ss"), ("a3", "pin 0 adj3 maxAdj3"), ("q2", "*/ a3 ss w"), ("maxAdj4", "+- 100000 0 q2"), ("a4", "pin 0 adj4 maxAdj4"), ("x2", "*/ w a4 100000")], rect: ["l", "t", "x2", "b"] }),
("rightBrace", TextRect { av: &[("adj1", "val 8333"), ("adj2", "val 50000")], gd: &[("a2", "pin 0 adj2 100000"), ("q1", "+- 100000 0 a2"), ("q2", "min q1 a2"), ("q3", "*/ q2 1 2"), ("maxAdj1", "*/ q3 h ss"), ("a1", "pin 0 adj1 maxAdj1"), ("y1", "*/ ss a1 100000"), ("dx1", "cos wd2 2700000"), ("dy1", "sin y1 2700000"), ("ir", "+- l dx1 0"), ("it", "+- y1 0 dy1"), ("ib", "+- b dy1 y1")], rect: ["l", "it", "ir", "ib"] }),
("rightBracket", TextRect { av: &[("adj", "val 8333")], gd: &[("maxAdj", "*/ 50000 h ss"), ("a", "pin 0 adj maxAdj"), ("y1", "*/ ss a 100000"), ("dx1", "cos w 2700000"), ("dy1", "sin y1 2700000"), ("ir", "+- l dx1 0"), ("it", "+- y1 0 dy1"), ("ib", "+- b dy1 y1")], rect: ["l", "it", "ir", "ib"] }),
("round1Rect", TextRect { av: &[("adj", "val 16667")], gd: &[("a", "pin 0 adj 50000"), ("dx1", "*/ ss a 100000"), ("idx", "*/ dx1 29289 100000"), ("ir", "+- r 0 idx")], rect: ["l", "t", "ir", "b"] }),
("round2DiagRect", TextRect { av: &[("adj1", "val 16667"), ("adj2", "val 0")], gd: &[("a1", "pin 0 adj1 50000"), ("a2", "pin 0 adj2 50000"), ("x1", "*/ ss a1 100000"), ("a", "*/ ss a2 100000"), ("dx1", "*/ x1 29289 100000"), ("dx2", "*/ a 29289 100000"), ("d", "+- dx1 0 dx2"), ("dx", "?: d dx1 dx2"), ("ir", "+- r 0 dx"), ("ib", "+- b 0 dx")], rect: ["dx", "dx", "ir", "ib"] }),
("round2SameRect", TextRect { av: &[("adj1", "val 16667"), ("adj2", "val 0")], gd: &[("a1", "pin 0 adj1 50000"), ("a2", "pin 0 adj2 50000"), ("tx1", "*/ ss a1 100000"), ("bx1", "*/ ss a2 100000"), ("d", "+- tx1 0 bx1"), ("tdx", "*/ tx1 29289 100000"), ("bdx", "*/ bx1 29289 100000"), ("il", "?: d tdx bdx"), ("ir", "+- r 0 il"), ("ib", "+- b 0 bdx")], rect: ["il", "tdx", "ir", "ib"] }),
("roundRect", TextRect { av: &[("adj", "val 16667")], gd: &[("a", "pin 0 adj 50000"), ("x1", "*/ ss a 100000"), ("il", "*/ x1 29289 100000"), ("ir", "+- r 0 il"), ("ib", "+- b 0 il")], rect: ["il", "il", "ir", "ib"] }),
("rtTriangle", TextRect { av: &[], gd: &[("it", "*/ h 7 12"), ("ir", "*/ w 7 12"), ("ib", "*/ h 11 12")], rect: ["wd12", "it", "ir", "ib"] }),
("smileyFace", TextRect { av: &[], gd: &[("idx", "cos wd2 2700000"), ("idy", "sin hd2 2700000"), ("il", "+- hc 0 idx"), ("ir", "+- hc idx 0"), ("it", "+- vc 0 idy"), ("ib", "+- vc idy 0")], rect: ["il", "it", "ir", "ib"] }),
("snip1Rect", TextRect { av: &[("adj", "val 16667")], gd: &[("a", "pin 0 adj 50000"), ("dx1", "*/ ss a 100000"), ("x1", "+- r 0 dx1"), ("it", "*/ dx1 1 2"), ("ir", "+/ x1 r 2")], rect: ["l", "it", "ir", "b"] }),
("snip2DiagRect", TextRect { av: &[("adj1", "val 0"), ("adj2", "val 16667")], gd: &[("a1", "pin 0 adj1 50000"), ("a2", "pin 0 adj2 50000"), ("lx1", "*/ ss a1 100000"), ("rx1", "*/ ss a2 100000"), ("d", "+- lx1 0 rx1"), ("dx", "?: d lx1 rx1"), ("il", "*/ dx 1 2"), ("ir", "+- r 0 il"), ("ib", "+- b 0 il")], rect: ["il", "il", "ir", "ib"] }),
("snip2SameRect", TextRect { av: &[("adj1", "val 16667"), ("adj2", "val 0")], gd: &[("a1", "pin 0 adj1 50000"), ("a2", "pin 0 adj2 50000"), ("tx1", "*/ ss a1 100000"), ("bx1", "*/ ss a2 100000"), ("by1", "+- b 0 bx1"), ("d", "+- tx1 0 bx1"), ("dx", "?: d tx1 bx1"), ("il", "*/ dx 1 2"), ("ir", "+- r 0 il"), ("it", "*/ tx1 1 2"), ("ib", "+/ by1 b 2")], rect: ["il", "it", "ir", "ib"] }),
("snipRoundRect", TextRect { av: &[("adj1", "val 16667"), ("adj2", "val 16667")], gd: &[("a1", "pin 0 adj1 50000"), ("a2", "pin 0 adj2 50000"), ("x1", "*/ ss a1 100000"), ("dx2", "*/ ss a2 100000"), ("x2", "+- r 0 dx2"), ("il", "*/ x1 29289 100000"), ("ir", "+/ x2 r 2")], rect: ["il", "il", "ir", "b"] }),
("squareTabs", TextRect { av: &[], gd: &[("md", "mod w h 0"), ("dx", "*/ 1 md 20"), ("y1", "+- 0 b dx"), ("x1", "+- 0 r dx")], rect: ["dx", "dx", "x1", "y1"] }),
("star10", TextRect { av: &[("adj", "val 42533"), ("hf", "val 105146")], gd: &[("a", "pin 0 adj 50000"), ("swd2", "*/ wd2 hf 100000"), ("iwd2", "*/ swd2 a 50000"), ("ihd2", "*/ hd2 a 50000"), ("sdx1", "*/ iwd2 80902 100000"), ("sdy2", "*/ ihd2 58779 100000"), ("sx2", "+- hc 0 sdx1"), ("sx5", "+- hc sdx1 0"), ("sy2", "+- vc 0 sdy2"), ("sy3", "+- vc sdy2 0")], rect: ["sx2", "sy2", "sx5", "sy3"] }),
("star12", TextRect { av: &[("adj", "val 37500")], gd: &[("a", "pin 0 adj 50000"), ("iwd2", "*/ wd2 a 50000"), ("ihd2", "*/ hd2 a 50000"), ("sdx2", "cos iwd2 2700000"), ("sdy2", "sin ihd2 2700000"), ("sx2", "+- hc 0 sdx2"), ("sx5", "+- hc sdx2 0"), ("sy2", "+- vc 0 sdy2"), ("sy5", "+- vc sdy2 0")], rect: ["sx2", "sy2", "sx5", "sy5"] }),
("star16", TextRect { av: &[("adj", "val 37500")], gd: &[("a", "pin 0 adj 50000"), ("iwd2", "*/ wd2 a 50000"), ("ihd2", "*/ hd2 a 50000"), ("idx", "cos iwd2 2700000"), ("idy", "sin ihd2 2700000"), ("il", "+- hc 0 idx"), ("it", "+- vc 0 idy"), ("ir", "+- hc idx 0"), ("ib", "+- vc idy 0")], rect: ["il", "it", "ir", "ib"] }),
("star24", TextRect { av: &[("adj", "val 37500")], gd: &[("a", "pin 0 adj 50000"), ("iwd2", "*/ wd2 a 50000"), ("ihd2", "*/ hd2 a 50000"), ("idx", "cos iwd2 2700000"), ("idy", "sin ihd2 2700000"), ("il", "+- hc 0 idx"), ("it", "+- vc 0 idy"), ("ir", "+- hc idx 0"), ("ib", "+- vc idy 0")], rect: ["il", "it", "ir", "ib"] }),
("star32", TextRect { av: &[("adj", "val 37500")], gd: &[("a", "pin 0 adj 50000"), ("iwd2", "*/ wd2 a 50000"), ("ihd2", "*/ hd2 a 50000"), ("idx", "cos iwd2 2700000"), ("idy", "sin ihd2 2700000"), ("il", "+- hc 0 idx"), ("it", "+- vc 0 idy"), ("ir", "+- hc idx 0"), ("ib", "+- vc idy 0")], rect: ["il", "it", "ir", "ib"] }),
("star4", TextRect { av: &[("adj", "val 12500")], gd: &[("a", "pin 0 adj 50000"), ("iwd2", "*/ wd2 a 50000"), ("ihd2", "*/ hd2 a 50000"), ("sdx", "cos iwd2 2700000"), ("sdy", "sin ihd2 2700000"), ("sx1", "+- hc 0 sdx"), ("sx2", "+- hc sdx 0"), ("sy1", "+- vc 0 sdy"), ("sy2", "+- vc sdy 0")], rect: ["sx1", "sy1", "sx2", "sy2"] }),
("star5", TextRect { av: &[("adj", "val 19098"), ("hf", "val 105146"), ("vf", "val 110557")], gd: &[("a", "pin 0 adj 50000"), ("swd2", "*/ wd2 hf 100000"), ("shd2", "*/ hd2 vf 100000"), ("svc", "*/ vc vf 100000"), ("iwd2", "*/ swd2 a 50000"), ("ihd2", "*/ shd2 a 50000"), ("sdx1", "cos iwd2 20520000"), ("sdy1", "sin ihd2 3240000"), ("sx1", "+- hc 0 sdx1"), ("sx4", "+- hc sdx1 0"), ("sy1", "+- svc 0 sdy1"), ("sy3", "+- svc ihd2 0")], rect: ["sx1", "sy1", "sx4", "sy3"] }),
("star6", TextRect { av: &[("adj", "val 28868"), ("hf", "val 115470")], gd: &[("a", "pin 0 adj 50000"), ("swd2", "*/ wd2 hf 100000"), ("iwd2", "*/ swd2 a 50000"), ("ihd2", "*/ hd2 a 50000"), ("sx1", "+- hc 0 iwd2"), ("sx4", "+- hc iwd2 0"), ("sdy1", "sin ihd2 3600000"), ("sy1", "+- vc 0 sdy1"), ("sy2", "+- vc sdy1 0")], rect: ["sx1", "sy1", "sx4", "sy2"] }),
("star7", TextRect { av: &[("adj", "val 34601"), ("hf", "val 102572"), ("vf", "val 105210")], gd: &[("a", "pin 0 adj 50000"), ("swd2", "*/ wd2 hf 100000"), ("shd2", "*/ hd2 vf 100000"), ("svc", "*/ vc vf 100000"), ("iwd2", "*/ swd2 a 50000"), ("ihd2", "*/ shd2 a 50000"), ("sdx2", "*/ iwd2 78183 100000"), ("sx2", "+- hc 0 sdx2"), ("sx5", "+- hc sdx2 0"), ("sdy1", "*/ ihd2 90097 100000"), ("sdy3", "*/ ihd2 62349 100000"), ("sy1", "+- svc 0 sdy1"), ("sy3", "+- svc sdy3 0")], rect: ["sx2", "sy1", "sx5", "sy3"] }),
("star8", TextRect { av: &[("adj", "val 37500")], gd: &[("a", "pin 0 adj 50000"), ("iwd2", "*/ wd2 a 50000"), ("ihd2", "*/ hd2 a 50000"), ("sdx1", "*/ iwd2 92388 100000"), ("sdy1", "*/ ihd2 92388 100000"), ("sx1", "+- hc 0 sdx1"), ("sx4", "+- hc sdx1 0"), ("sy1", "+- vc 0 sdy1"), ("sy4", "+- vc sdy1 0")], rect: ["sx1", "sy1", "sx4", "sy4"] }),
("stripedRightArrow", TextRect { av: &[("adj1", "val 50000"), ("adj2", "val 50000")], gd: &[("maxAdj2", "*/ 84375 w ss"), ("a1", "pin 0 adj1 100000"), ("a2", "pin 0 adj2 maxAdj2"), ("x4", "*/ ss 5 32"), ("dx5", "*/ ss a2 100000"), ("dy1", "*/ h a1 200000"), ("y1", "+- vc 0 dy1"), ("y2", "+- vc dy1 0"), ("dx6", "*/ dy1 dx5 hd2"), ("x6", "+- r 0 dx6")], rect: ["x4", "y1", "x6", "y2"] }),
("sun", TextRect { av: &[("adj", "val 25000")], gd: &[("a", "pin 12500 adj 46875"), ("g0", "+- 50000 0 a"), ("g7", "*/ g0 23170 32768"), ("g8", "+- 50000 g7 0"), ("g9", "+- 50000 0 g7"), ("x8", "*/ w g8 100000"), ("x9", "*/ w g9 100000"), ("y8", "*/ h g8 100000"), ("y9", "*/ h g9 100000")], rect: ["x9", "y9", "x8", "y8"] }),
("teardrop", TextRect { av: &[], gd: &[("idx", "cos wd2 2700000"), ("idy", "sin hd2 2700000"), ("il", "+- hc 0 idx"), ("ir", "+- hc idx 0"), ("it", "+- vc 0 idy"), ("ib", "+- vc idy 0")], rect: ["il", "it", "ir", "ib"] }),
("trapezoid", TextRect { av: &[("adj", "val 25000")], gd: &[("maxAdj", "*/ 50000 w ss"), ("a", "pin 0 adj maxAdj"), ("il", "*/ wd3 a maxAdj"), ("it", "*/ hd3 a maxAdj"), ("ir", "+- r 0 il")], rect: ["il", "it", "ir", "b"] }),
("triangle", TextRect { av: &[("adj", "val 50000")], gd: &[("a", "pin 0 adj 100000"), ("x1", "*/ w a 200000"), ("x3", "+- x1 wd2 0")], rect: ["x1", "vc", "x3", "b"] }),
("upArrowCallout", TextRect { av: &[("adj3", "val 25000"), ("adj4", "val 64977")], gd: &[("maxAdj3", "*/ 100000 h ss"), ("a3", "pin 0 adj3 maxAdj3"), ("q2", "*/ a3 ss h"), ("maxAdj4", "+- 100000 0 q2"), ("a4", "pin 0 adj4 maxAdj4"), ("dy2", "*/ h a4 100000"), ("y2", "+- b 0 dy2")], rect: ["l", "y2", "r", "b"] }),
("upDownArrow", TextRect { av: &[("adj1", "val 50000"), ("adj2", "val 50000")], gd: &[("maxAdj2", "*/ 50000 h ss"), ("a1", "pin 0 adj1 100000"), ("a2", "pin 0 adj2 maxAdj2"), ("y2", "*/ ss a2 100000"), ("y3", "+- b 0 y2"), ("dx1", "*/ w a1 200000"), ("x1", "+- hc 0 dx1"), ("x2", "+- hc dx1 0"), ("dy1", "*/ x1 y2 wd2"), ("y1", "+- y2 0 dy1"), ("y4", "+- y3 dy1 0")], rect: ["x1", "y1", "x2", "y4"] }),
("upArrow", TextRect { av: &[("adj1", "val 50000"), ("adj2", "val 50000")], gd: &[("maxAdj2", "*/ 100000 h ss"), ("a1", "pin 0 adj1 100000"), ("a2", "pin 0 adj2 maxAdj2"), ("dy2", "*/ ss a2 100000"), ("y2", "+- t dy2 0"), ("dx1", "*/ w a1 200000"), ("x1", "+- hc 0 dx1"), ("x2", "+- hc dx1 0"), ("dy1", "*/ x1 dy2 wd2"), ("y1", "+- y2 0 dy1")], rect: ["x1", "y1", "x2", "b"] }),
("upDownArrowCallout", TextRect { av: &[("adj3", "val 25000"), ("adj4", "val 48123")], gd: &[("maxAdj3", "*/ 50000 h ss"), ("a3", "pin 0 adj3 maxAdj3"), ("q2", "*/ a3 ss hd2"), ("maxAdj4", "+- 100000 0 q2"), ("a4", "pin 0 adj4 maxAdj4"), ("dy2", "*/ h a4 200000"), ("y2", "+- vc 0 dy2"), ("y3", "+- vc dy2 0")], rect: ["l", "y2", "r", "y3"] }),
("verticalScroll", TextRect { av: &[("adj", "val 12500")], gd: &[("a", "pin 0 adj 25000"), ("ch", "*/ ss a 100000"), ("ch2", "*/ ch 1 2"), ("x6", "+- r 0 ch"), ("y4", "+- b 0 ch2")], rect: ["ch", "ch", "x6", "y4"] }),
("wave", TextRect { av: &[("adj1", "val 12500"), ("adj2", "val 0")], gd: &[("a1", "pin 0 adj1 20000"), ("a2", "pin -10000 adj2 10000"), ("of2", "*/ w a2 50000"), ("dx2", "?: of2 0 of2"), ("x2", "+- l 0 dx2"), ("dx5", "?: of2 of2 0"), ("x5", "+- r 0 dx5"), ("x6", "+- l dx5 0"), ("x10", "+- r dx2 0"), ("il", "max x2 x6"), ("ir", "min x5 x10"), ("it", "*/ h a1 50000"), ("ib", "+- b 0 it")], rect: ["il", "it", "ir", "ib"] }),
("wedgeEllipseCallout", TextRect { av: &[], gd: &[("idx", "cos wd2 2700000"), ("idy", "sin hd2 2700000"), ("il", "+- hc 0 idx"), ("ir", "+- hc idx 0"), ("it", "+- vc 0 idy"), ("ib", "+- vc idy 0")], rect: ["il", "it", "ir", "ib"] }),
("wedgeRoundRectCallout", TextRect { av: &[("adj3", "val 16667")], gd: &[("u1", "*/ ss adj3 100000"), ("il", "*/ u1 29289 100000"), ("ir", "+- r 0 il"), ("ib", "+- b 0 il")], rect: ["il", "il", "ir", "ib"] }),
];