05-06-2021, 10:26 PM
I was just looking at arrow.scm to change the default size of the arrows and brush so looked at arrow-set-size.scm and the later arrow-set-size-samj.scm produced by Rich2005.
I think that there are errors in the changed script - the order of the options in the SF-OPTION parameters "Length of wings type" and "Brush thickness type" have been swapped to put the absolute pixel values before the ratio-metric settings but the constants FACTOR_RELATIVE_TO_PATH_LENGTH and FACTOR_IN_ABSOLUTE_PIXELS still have the original values (0 and 1 respectively) - this means that the program code will be using ratio-metric values when the UI is indicating that absolute values are being used and vice versa.
The SF-ADJUSTMENT parameters "Length of wings (LoW)" and "Brush thickness (BT)" have had their settings changed but the new values will be used as ratio-metric ones if using the default settings of the script (which I guess wasn't the intent).
I think that there are errors in the changed script - the order of the options in the SF-OPTION parameters "Length of wings type" and "Brush thickness type" have been swapped to put the absolute pixel values before the ratio-metric settings but the constants FACTOR_RELATIVE_TO_PATH_LENGTH and FACTOR_IN_ABSOLUTE_PIXELS still have the original values (0 and 1 respectively) - this means that the program code will be using ratio-metric values when the UI is indicating that absolute values are being used and vice versa.
The SF-ADJUSTMENT parameters "Length of wings (LoW)" and "Brush thickness (BT)" have had their settings changed but the new values will be used as ratio-metric ones if using the default settings of the script (which I guess wasn't the intent).