Z Wikipédie
Deck of Playing cards in SVG
[edit] Summary
The kings, queens and jacks are based on the french representation. You can access each either by rendering the file into a pixmap and clipping each card or by using their name with a DOM interface. All cards are inside a SVG group.
Example : the king of spade is inside this group :
<g id="king_spade"> ... </g>
Names are the following :
black_joker....:) red_joker back {king,queen,jack}_{club,diamond,heart,spade} {1,2,3,4,5,6,7,8,9,10}_{club,diamond,heart,spade}
Examples : - the ace of club is 1_club - the queen of diamond is queen_diamond
and so on...
These cards have been made with GNOME games in mind and have been succesfully tested with Nautilus, Eye of Gnome (both of them use librsvg) and Inkscape.
Author: David Bellot Berkeley, CA, USA 08/12/2005
[edit] Source
[1]
[edit] Licensing
Odkazy na obrázok
Na tento obrázok odkazujú nasledujúce články: