In a previous post I pointed out how similar Initech and VisualWorks's icons were. Humorous as it was - someone in the comments asked me for an SVG version of our icon so that we have something that scales nicely. My initial reaction was, 'yeah right, I'm not a graphics designer'.. but then I thought about some of the other cool things I was able to produce with Cairo graphics.. and I thought this evening "What the heck, it's just a bunch of boxes".
So, if you load up the latest version of CairoGraphics and Gizmo from public store, you can now view the VisualWorks and ObjectStudio icons in Gizmo with:
Gizmos.CincomSmalltalkLogo openVisualWorks
... or ...
Gizmos.CincomSmalltalkLogo openObjectStudio
But that still didn't help me with the SVG problem.. how to make SVG. Well I didn't pick Cairo just because it'd make it easy for me to do it - I picked it because I knew it could output as SVG. I'd never done this before, so I was going with a little bit of faith and my fingers crossed intensely.
Cairo can also output PNG and PDF.. so now without further ado, we can output the VisualWorks and ObjectStudio icons in PNG, PDF and SVG formats from Gizmo, eg:
Gizmos.CincomSmalltalkLogo openVisualWorks saveAsPNG: 'vw.png'.
Gizmos.CincomSmalltalkLogo openVisualWorks saveAsSVG: 'vw.svg'.
Gizmos.CincomSmalltalkLogo openVisualWorks saveAsPDF: 'vw.pdf'.
Gizmos.CincomSmalltalkLogo openObjectStudio saveAsPNG: 'os.png'.
Gizmos.CincomSmalltalkLogo openObjectStudio saveAsSVG: 'os.svg'.
Gizmos.CincomSmalltalkLogo openObjectStudio saveAsPDF: 'os.pdf'
And for those of you who couldn't be bothered loading up Gizmo to output these icons yourself, here are the icons I built with the script above:
VisualWorks: PNG, SVG, PDF
ObjectStudio: PNG, SVG, PDF