atomizer
|
00120a885b
|
make v8 more aware of memory allocations
|
14 years ago |
atomizer
|
d97748e9b6
|
clamp r,g,b to 0..255, alpha to 0..1 (assuming everything is >= 0)
Signed-off-by: Tj Holowaychuk <tj@vision-media.ca>
|
14 years ago |
Tj Holowaychuk
|
5ec4a8f52b
|
misc refactoring
|
14 years ago |
atomizer
|
24c327ac5e
|
special case of zero-width rectangle
Signed-off-by: Tj Holowaychuk <tj@vision-media.ca>
|
14 years ago |
atomizer
|
11c5d3d45e
|
do not clamp arguments to integer values
Signed-off-by: Tj Holowaychuk <tj@vision-media.ca>
|
14 years ago |
atomizer
|
c8b82ae4ea
|
... and clearRect()
Signed-off-by: Tj Holowaychuk <tj@vision-media.ca>
|
14 years ago |
atomizer
|
5ae1c46070
|
preserve current path during fillRect() and strokeRect()
Signed-off-by: Tj Holowaychuk <tj@vision-media.ca>
|
14 years ago |
atomizer
|
9963f71796
|
restorePath(): clear current path before appending
Signed-off-by: Tj Holowaychuk <tj@vision-media.ca>
|
14 years ago |
Tj Holowaychuk
|
7da4a36893
|
clamp image bounds in PixelArray::PixelArray() [marcello3d]
|
14 years ago |
Tj Holowaychuk
|
89af08d30d
|
Fixed (kinda) img.src= error handling
|
14 years ago |
Tj Holowaychuk
|
b86c3cd321
|
move closure.h down. Closes #80
|
14 years ago |
Tj Holowaychuk
|
2663ce0b74
|
refactored toBuffer()
|
14 years ago |
Tj Holowaychuk
|
35696ee151
|
misc
|
14 years ago |
Tj Holowaychuk
|
4981111190
|
added closure_init()
|
14 years ago |
Tj Holowaychuk
|
3a74a43351
|
revert toBuffer() changes
|
14 years ago |
Tj Holowaychuk
|
d8a1c91ec3
|
states already free()d...
|
14 years ago |
Tj Holowaychuk
|
a6271b3243
|
todo
|
14 years ago |
Tj Holowaychuk
|
6527e3c4ba
|
refactoring Image
|
14 years ago |
Tj Holowaychuk
|
3a5c0d8ada
|
Image test refactoring
|
14 years ago |
Tj Holowaychuk
|
bef75cc54f
|
CAIRO_OPERATOR_SATURATE and some others are available in cairo 1.8.x
|
14 years ago |
Tj Holowaychuk
|
3dc34e41e5
|
misc fixes
|
14 years ago |
Tj Holowaychuk
|
39e4b1f07e
|
ensure Image::extension() cstr has valid length
|
14 years ago |
Tj Holowaychuk
|
3d9e2b6b88
|
Fixed more HandleScopes
|
14 years ago |
Tj Holowaychuk
|
4bf1f611f6
|
text alignment / baseline fixes by Olaf
|
14 years ago |
Tj Holowaychuk
|
780148ebcf
|
Fixed more HandleScopes
|
14 years ago |
Tj Holowaychuk
|
3ec1dcff9a
|
Fixed more HandleScopes
|
14 years ago |
Tj Holowaychuk
|
d796546c63
|
Fixed GetPatternQuality() HandleScope
|
14 years ago |
Tj Holowaychuk
|
f69958eaf3
|
Added several more operators (color-dodge, color-burn, difference, etc)
|
14 years ago |
Tj Holowaychuk
|
b63b4c8be9
|
Fixed SetGlobalAlpha() HandleScope
|
14 years ago |
Tj Holowaychuk
|
a9f860ded3
|
Apply patch from Olaf to free state on Context2d::restoreState()
|
14 years ago |
Tj Holowaychuk
|
0ad1a9aeaa
|
Apply refactored patch from Olaf to free Context2d states
|
14 years ago |
Tj Holowaychuk
|
05708b7657
|
HandleScope fixes
|
14 years ago |
Tj Holowaychuk
|
79361a5e4d
|
misc
|
14 years ago |
Tj Holowaychuk
|
1c6cfd3c48
|
zero closure
|
14 years ago |
Tj Holowaychuk
|
fde7404e08
|
Added closure_destroy(), and implemented some ToBuffer() fixes by Olaf
|
14 years ago |
Tj Holowaychuk
|
109efafedf
|
hint v8 at Image surface
|
14 years ago |
Tj Holowaychuk
|
52e24d893f
|
free data if src malloc() fails
|
14 years ago |
Tj Holowaychuk
|
157d93e68c
|
space
|
14 years ago |
Tj Holowaychuk
|
d7f6caae9b
|
changed image format exception message
|
14 years ago |
Tj Holowaychuk
|
a91a44c9ed
|
Fixed errors thrown in .onerror
|
14 years ago |
Tj Holowaychuk
|
00df2707e9
|
Fixed Image::error(), reports FatalException() unless .onerror is present
|
14 years ago |
Tj Holowaychuk
|
b7c810f44e
|
Removed BUFFER_DATA macro
|
14 years ago |
Tj Holowaychuk
|
a1ccbd5c72
|
Removed buffer compat, going for 0.4.x only
|
14 years ago |
Tj Holowaychuk
|
dfa3c4fee8
|
Added buffer_compat.{h,cc}
|
14 years ago |
Tj Holowaychuk
|
0d5d9c9677
|
Fixed font family dereferencing. Closes #72
|
14 years ago |
Tj Holowaychuk
|
83687febc2
|
Removed sans-serif default of Arial
|
14 years ago |
Tj Holowaychuk
|
86853935af
|
Fixed; toString() first argument of {fill,stroke}Text(). Closes #68
|
14 years ago |
Tj Holowaychuk
|
30c2f2c558
|
Added drawImage(canvas) support. Closes #67
|
14 years ago |
Tj Holowaychuk
|
68a2152f5e
|
fill / stroke patterns influenced by patternQuality
|
14 years ago |
Tj Holowaychuk
|
ca5a58908f
|
Added CanvasRenderingContext2d#patternQuality accessor (non-standard)
|
14 years ago |