1 ! Copyright (C) 2009 Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: accessors colors.constants kernel tools.test
4 ui.gadgets.labels ui.pens.caching ui.pens.gradient ;
5 IN: ui.pens.caching.tests
7 SPECIALIZED-ARRAY: float
12 float-array{ 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 }
13 float-array{ 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0 }
15 "hi" <label> { COLOR: white COLOR: black } <gradient>
17 [ last-dim>> ] [ last-vertices>> ] [ last-colors>> ] tri