find-or-create-pen in pen-list%
Finds a pen of the given specification, or creates one and adds it to the list.
(->senda-pen-listfind-or-create-pencolorwidthstyle)pen%object
color:color%object
width: real number in [0, 255]
style: symbol in'(transparent solid xor hilite dot long-dash short-dash dot-dash xor-dot xor-long-dash xor-short-dash xor-dot-dash)See
pen%.
(->senda-pen-listfind-or-create-pencolor-namewidthstyle)pen%object or#f
color-name: string
width: real number in [0, 255]
style: symbol in'(transparent solid xor hilite dot long-dash short-dash dot-dash xor-dot xor-long-dash xor-short-dash xor-dot-dash)See
pen%.The return value is
#fwhen no color matchingcolor-namecan be found in the color database.