Second try (was Re: [GOODIE] MacOSXGraphVizGenerator-dd)

Lic. Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Sat Mar 12 11:45:20 UTC 2005


John :
Other thing to agree is coloring scheme.
In my version of GraphViz I saw GraphViz  understand Colores Crayon and how
I have this I share with you and wait opinion

readColoresCrayonFromFile

| file linea valores rgb colorName |
ColoresCrayon := Dictionary new.
    
    file := FileStream oldFileNamed: 'ColoresCrayon.text'.
[file atEnd] whileFalse: [  linea:= file nextLine.
valores := linea findTokens: Character space.
rgb := valores collect: [:each| (each asInteger / 65535) asFloat].
colorName :=  file nextLine.

ColoresCrayon at: colorName put: (Color fromArray: rgb) ].
ColoresCrayon inspect.

Edgar

PD: I also have safe Html and DIC definitions, just in case.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 13700 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20050312/0ce820c6/attachment.obj
-------------- next part --------------
65535 55705 45875
Apricot
0 58982 58982
Aquamarine
55705 19661 0
Bittersweet
19005 19661 51773
Blue
32768 40632 47185
Blue Gray
0 45219 41287
Blue Green
5898 0 21626
Blue Violet
44564 0 0
Brick
32768 9830 0
Brown
38666 16384 0
Burnt Sienna
65535 49151 49151
Carnation
32768 3277 0
Chinese Red
45875 13107 2621
Copper
41942 37355 65535
Cornflower
0 24248 0
Forest Green
65535 52428 0
Gold
65535 49151 13107
Goldenrod
39321 39321 39321
Gray
22937 36700 40632
Gray Blue
0 53739 0
Green
0 39321 41287
Green Yellow
65535 45875 65535
Lavender
65535 65535 19661
Lemon
65535 0 65535
Magenta
46530 16384 0
Mahogany
65535 49151 6554
Maize
51117 0 17039
Maroon
65535 22937 14418 
Melon
0 5243 26214
Midnight
55049 0 30801
Mulberry
0 0 38010
Navy
55049 55049 17694
Olive
65535 39321 0
Orange
65535 6554 0
Orange Red
65535 49151 0
Orange Yellow
65535 32768 65535
Orchid
65535 52428 42598
Peach
45875 45875 55705
Periwinkle
4587 26869 15728
Pine Green
18350 0 26214
Plum
15728 0 21627
Purple
45219 17694 0
Raw Sienna
21627 5243 0
Raw Umber
57671 0 0
Red
65535 16384 0
Red Orange
57015 0 47841
Red Violet
65535 32768 45875
Rose
65535 39321 32768
Salmon
0 65535 26214
Seafoam
30146 9830 13107
Sepia
42598 42598 42598
Silver
47185 60292 65535
Sky
0 65535 0
Spring Green
57015 18350 0
Swamp Fire
47841 25559 0
Tan
0 52428 52428
Turquoise
13107 0 21627
Violet Blue
58982 0 65535
Violet Red
65535 65535 0
Yellow
45875 65535 0
Yellow Green
65535 42598 0
Yellow Orange
52428 52428 65535	0
Green Blue


More information about the Squeak-dev mailing list