screwdriver_handle="50 44Q56 41 59 45L93 79Q93 93 79 93L44 58Q41 54 45 49"
flat_head="49 45L15 10Q8 1 5 0L0 5Q1 8 10 15L45 49"
these are designed to build an svg image quickly using only a printf()
here is a shell example (c would be similar)
Code: Select all
#!/bin/sh
screwdriver_handle="50 44Q56 41 59 45L93 79Q93 93 79 93L44 58Q41 54 45 49"
flat_head="49 45L15 10Q8 1 5 0L0 5Q1 8 10 15L45 49"
addpath(){ ###### $1=svg-path, $2=fill color, $3=stroke color
echo "<path fill='${2:-#777}' stroke='${3:-#000}' d='M${1}z'/>"
}
startSVG(){ ###### $1=width and height in pixels
echo "<svg width='${1:-96}px' height='${1:-96}px' viewBox='0 0 96 96'>"
}
endSVG(){
echo "</svg>"
}
startSVG 48 > screwit.svg
addpath "$screwdriver_handle" red black >> screwit.svg
addpath "$flat_head" "#777" "#000" >> screwit.svg
endSVG >> screwit.svg
https://www.google.com/design/spec/styl ... pplication
I preferred google's previous icons or plain flat icons for mobile, but the good old Tango icons work great with puppy
Here are the colors in the tango icon theme:
But when indexed by mtpaint to account for alpha, these became
Code: Select all
#2E487A, #32383D, #40649B, #436E10, #4D2609, #5A5A59, #60AA15, #6183B1
#795715, #7A7A7A, #83AB47, #87A6CC, #8C8E8A, #9B1C18, #9F9E9C, #AB7422
#B0D181, #B7B8B6, #BA9F49, #C8CED4, #CA0E09, #D1B810, #DE3630, #DFE0E0
#E86D6B, #EA901E, #EEC854, #F0F0EF, #F3DA81, #F6EABC, #FDFDFD