motiz88
3cc596f34c
hsl/hsla color parsing + rebeccapurple
hsl() and hsla() color values are now supported, with corresponding unit tests.
Also added rebeccapurple (from CSS Color Level 4) to the named color list.
10 years ago
Thaddee Tyl
79f1d42fb5
Offer SVG output.
11 years ago
Enno Boland
bee3774333
export canvas.CanvasPixelArray instead of canvas.PixelArray which is undefined
11 years ago
TJ Holowaychuk
bee4f655e6
comment out font parsing tests for now
12 years ago
Brian White
96025d0adf
Remove duplicate require()
13 years ago
TJ Holowaychuk
03d1cacf9c
Added `Canvas#type` getter
13 years ago
Robert Sköld
46bda423f8
Added a test (and fix) for a regression with gradients
13 years ago
Robert Sköld
9927a3f01c
Added a test for ctx.createPattern(Image)
13 years ago
Robert Sköld
a1840301c3
Update ctx#createPattern() test to loop through all pixels.
13 years ago
Robert Sköld
559bd9d572
Started on ctx.createPattern() support.
13 years ago
Tj Holowaychuk
8af3486cf6
removed sys require
13 years ago
Tj Holowaychuk
078a8572d3
expresso -> mocha
13 years ago
Tj Holowaychuk
46d57fb1e2
fixed tests
13 years ago
Tj Holowaychuk
f65f60aec1
Fixed measureText().width. Closes #126
13 years ago
Tj Holowaychuk
b31343b7f5
more tests
13 years ago
Tj Holowaychuk
85fd07913b
Added failing measureText() test
13 years ago
Tj Holowaychuk
d8c87a03e5
upgraded expresso
14 years ago
atomizer
c941f94a10
wait. that passes, dammit
Signed-off-by: Tj Holowaychuk <tj@vision-media.ca>
14 years ago
atomizer
a9c6d318fd
some clamping tests
Signed-off-by: Tj Holowaychuk <tj@vision-media.ca>
14 years ago
Tj Holowaychuk
ba80473d34
output versions in `make test`
14 years ago
Tj Holowaychuk
cdc7aca71a
Fixed font tests
14 years ago
Tj Holowaychuk
c10bbcb872
Fixed font size growing issue after successive calls. Closes #70
14 years ago
Tj Holowaychuk
239013c7d1
Added patternQuality unit test
14 years ago
Tj Holowaychuk
e707a91c38
more color parser tests
14 years ago
Tj Holowaychuk
c157041df5
Added more color parser tests
14 years ago
Tj Holowaychuk
f4cd85ad05
lowercase rgba_to_string res for hex
14 years ago
Tj Holowaychuk
4e501aa017
removed parseColor() from tests
14 years ago
Tj Holowaychuk
4d4eed0e08
removed hsl tests for now
14 years ago
Tj Holowaychuk
afbb703c94
Added width/height Canvas initialization test
14 years ago
Tom Carden
f6dbf624c9
hsl and hsla support plus initial tests
14 years ago
Tj Holowaychuk
7e17bfb8c1
More tests
14 years ago
Tj Holowaychuk
5793f2d1b1
Added test for createImageData(ImageData)
14 years ago
Tj Holowaychuk
2c00a3cad8
Added test for createImageData(w,h)
14 years ago
Tj Holowaychuk
7121dc41fa
Clamping tests
14 years ago
Tj Holowaychuk
44bf239b0a
More tests
14 years ago
Tj Holowaychuk
52d9401112
Added getImageData() unit test
14 years ago
Tj Holowaychuk
fdb626da57
Fixed getter bug preventing patterns from being returned via fillStyle etc
14 years ago
Tj Holowaychuk
12e26814bb
Added Context2d#antialias=
14 years ago
Tj Holowaychuk
d0a31df572
fixed some tests
14 years ago
Tj Holowaychuk
5146c27886
Added async toDataURL() support
14 years ago
Tj Holowaychuk
8dcc42c5f7
Added new async toBuffer() tests
14 years ago
Tj Holowaychuk
2c7a7b7057
Misc font parser refactoring
14 years ago
Tj Holowaychuk
4538b9f5ca
Added single quote string support to font parser
14 years ago
Tj Holowaychuk
d22afadec8
Cleaning up lib structure
14 years ago
Tj Holowaychuk
c2d3ecef90
Removed visual tests from `make test`
14 years ago
Tj Holowaychuk
1d2394a536
Using Arial in tests instead of Impact
14 years ago
Tj Holowaychuk
0a19decdbe
Added cairoVersion test
14 years ago
Tj Holowaychuk
8666b4cd11
Added new fillText() test
14 years ago
Tj Holowaychuk
7c179dc619
Fixed measureText() test from height removal
14 years ago
Tj Holowaychuk
1ccd0f1e4a
Added textAlign setter tests
14 years ago