#! /bin/bash
# Last edited on 2025-07-21 20:06:43 by stolfi

source define-points.sh

?? UPDATE annotate-pic.sh: -L,-CL -> -LD,-LC; stroke width, font size
annotate-pic.sh \
    unicamp-12-mymap.png \
    20 Black Yellow \
    \
    -color LightGray -strokewidth 6 \
    -S    4 1201 \
        ${RA[@]} \
        ${RB[@]} \
        633 1115 \
        ${RC[@]} \
        724 1120 \
        815 1148 \
        880 1160 \
        ${RD[@]} \
       1071 1174 \
       1112 1197 \
       1207 1277 \
    \
    -color LightGray -strokewidth 3 \
    -S  ${SS[@]} \
    \
    -color LightGray -strokewidth 3 \
    -S  682 1135 \
        ${RC[@]} \
        ${RE[@]} \
        ${RF[@]} \
    \
    -color LightGray -strokewidth 3 \
    -S  928  908 \
        892  941 \
        809  973 \
        790  972 \
        ${RF[@]} \
        675  971 \
        666  968 \
        656  962 \
        ${RG[@]} \
        528  889 \
    \
    -color LightGray -strokewidth 3 \
    -S  ${RL[@]} \
        110  898 \
        116  893 \
        122  885 \
        ${RN[@]} \
        308  600 \
        339  587 \
    \
    -color LightGray -strokewidth 3 \
    -S  ${RMA[@]} \
        ${ROA[@]} \
    \
    -color LightGray -strokewidth 3 \
    -S  ${RMB[@]} \
        ${ROB[@]} \
    \
    -color LightGray -strokewidth 3 \
    -S  ${ROB[@]} \
        230  524 \
        234  523 \
        240  519 \
        242  514 \
        241  508 \
        240  506 \
        236  503 \
        ${RP[@]} \
        225  508 \
        ${ROA[@]} \
    \
    -color LightGray -strokewidth 3 \
    -S  ${RP[@]} \
        228  475 \
        229  461 \
    \
    -color LightGray -strokewidth 3 \
    -S  225  506 \
        188  405 \
        188  398 \
        191  383 \
        199  378 \
        205  376 \
        193  372 \
        189  367 \
        134  309 \
         92  264 \
    \
    -color LightGray -strokewidth 3 \
    -S  134  309 \
        204  297 \
    \
    -color LightGray -strokewidth 3 \
    -S  506  874 \
        474  853 \
    \
    -color LightGray -strokewidth 3 \
    -S  235  524 \
        239  536 \
        245  550 \
        292  602 \
    \
    -color LightGray -strokewidth 3 \
    -S  303  612 \
        332  648 \
        368  690 \
    \
    -color LightGray -strokewidth 4 \
    -S  541 1304 \
        536 1274 \
        525 1250 \
        485 1193 \
        478 1167 \
        477 1155 \
        ${RB[@]} \
        470 1104 \
        455 1037 \
        436  987 \
        436  975 \
        440  967 \
        499  900 \
        ${RHA[@]} \
        503  879 \
        505  873 \
        ${RJA[@]} \
        ${RIA[@]} \
        534  827 \
        532  821 \
        522  804 \
    \
    -S  470 1104 \
        464 1037 \
        449  987 \
        449  975 \
        452  968 \
        510  900 \
        ${RHB[@]} \
        527  890 \
        529  880 \
        ${RJB[@]} \
        ${RIB[@]} \
        542  834 \
        535  818 \
        524  800 \
    \
    -color LightGray -strokewidth 6 \
    -S  940 1304 \
        944 1276 \
        958 1246 \
        971 1224 \
       1000 1200 \
       1015 1181 \
       ${RD[@]} \
       1050 1130 \
       1063 1107 \
       1079 1058 \
       1097 1018 \
       1141  927 \
       1154  888 \
       1161  846 \
       1157  820 \
       1152  796 \
       1134  760 \
       1067  663 \
       1052  629 \
       1051  599 \
       1059  555 \
       1088  439 \
       1127  286 \
       1149  197 \
       1161  104 \
       1172    5 \
    \
    -color LightGray -strokewidth 6 \
    -S  124 1304 \
         92 1230 \
         83 1209 \
        ${RA[@]} \
         74 1173 \
         70 1149 \
         71 1125 \
        ${RK[@]} \
         54 1020 \
         41  999 \
         19  978 \
          5  970 \
    -color LightGray -strokewidth 4 \
    -S ${RK[@]} \
        67 1014 \
        69  992 \
        74  950 \
        79  927 \
        90  914 \
        ${RL[@]} \
        90  905 \
        84  892 \
        88  871 \
        91  841 \
        79  754 \
        74  726 \
        71  709 \
        ${RMB[@]} \
        ${RMA[@]} \
        48  622 \
        39  585 \
        32  522 \
        32  497 \
        35  463 \
        47  413 \
        79  301 \
        97  255 \
       105  238 \
       125  190 \
       129  164 \
       126  110 \
       110   64 \
        88    5 \
    \
    -color Salmon -strokewidth 4 \
    -S  ${FZ[@]} \
    \
    -color Yellow -strokewidth 4 \
    -S  ${UN[@]} \
    \
    -color DeepSkyBlue -strokewidth 3 \
    -D  ${AT[@]} \
    \
    -color DeepSkyBlue -strokewidth 3 \
    -D  ${BT[@]} \
    \
    -color Magenta -strokewidth 4 \
    -D   229  479 \
    -D   327  591 \
    -D   328  644 \
    -D   369  691 \
    -D   487  862 \
    -D   531  818 \
    -D   530  808 \
    \
    -color Tan -strokewidth 1 \
    -L   264  208   263  207  U2 \
    -L   196  632   195  631  U1 \
    -L   120  794   119  755  BG \
    -L    48   70    47   69  BC \
    -L  1224  656  1223  655  AV \
    -L   636 1006   635 1005  PU \
    -L   728 1074   727 1073  PJ \
    -L   804 1228   803 1230  FC \
    -L   218 1230   217 1240  SG \
    -L  1232  426  1168  430  JM \
    -L  1056 1230  1055 1240  JN \
    -L  1268 1190  1267 1189  PI \
    -L  1032  986  1034  986  RC \
    \
    -color Yellow -strokewidth 1 \
    -L  408  340    300   40  U \
    -L  489  363    350   40  E \
    -L  470  234    400   40  N \
    -L  485  202    450   40  R \
    -L  574  372    500   40  F \
    -L  542  142    600   40  S \
    -L  542  300    600   40  S \
    -L  690  225    600   40  S \
    -L  690  178    650   40  K \
    -L  720  296    700   40  B \
    -L  741  342    750   40  H \
    -L  768  397    900   40  W \
    -L  812  344    950   40  G \
    -L  812  422   1000   40  T \
    -L  879  440   1050   40  C \
    -L  976  411   1100   40  X \
    -L  321  726     40  850  Z \
    -L  345  757     40  900  A \
    -L  435 1234    300 1269  Y \
    -L  813  904   1282  850  P \
    \
    -color Yellow -strokewidth 1 \
    -L  455  394    425  475  I \
    -L  437  401    425  475  I \
    -L  418  428    425  475  I \
    -L  579  426    525  475  O \
    -L  514  537    466  515  M \
    \
  > unicamp-12-mark.png
  
# Guaritas com rotulos:
#   -color LightGreen  -strokewidth 1 \
#     -L   229  479   272  496 a \
#     -L   327  591   323  559 b \
#     -L   328  644   361  620 c \
#     -L   369  691   383  654 d \
#     -L   487  862   454  813 e \
#     -L   531  818   497  796 f \
#     -L   530  808   497  796 f \
# 

# Contorno do Polo de Tecnologia II 
# 
#     -color Magenta -strokewidth 2 \
#     -S   ${CD[@]} \
#     \
