[Cuis-dev] Vector icons?

ken.dickey at whidbey.com ken.dickey at whidbey.com
Sat Apr 24 07:58:22 PDT 2021


On 2021-04-24 12:39, Bernhard Pieber via Cuis-dev wrote:
..

     Are there any examples of vector icons in some package? What ist the
     general idea, will we be using SVG or lower level graphics 
operations?


Just the code..

vvv===vvv===vvv

Feature require: 'SVG'.
Feature require: 'Morphic-Misc1'.
"In a FileList
   install 
<where-ever>/4568-CuisCore-SVGReadSupport-2021Apr11-08h24m-KenD.001.cs.st
   fileIn <wherever>/SVGImagePallet.st
"
SVGIconsPk := (ContentPack new loadContentFrom: '/<where-ever>/SVGIcons' 
asDirectoryEntry ).
SVGIconsPk size.
"=================="
SVGImagePallet fromDictionary: SVGIconsPk imageExtent: 32 at 32.
"This last will open an icon picker. Slow; get a cup of coffee"

^^^===^^^===^^^

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 4568-CuisCore-SVGReadSupport-2021Apr11-08h24m-KenD.001.cs.st
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210424/ddc6f868/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SVGIcons.pck.st
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210424/ddc6f868/attachment-0001.ksh>


More information about the Cuis-dev mailing list