c-spencer
18e3edfc28
Add textDrawingMode context property.
13 years ago
TJ Holowaychuk
56d49559de
clean up free()s
13 years ago
TJ Holowaychuk
eb04ff63d6
Fixed Context2d::hasShadow()
13 years ago
TJ Holowaychuk
eb0edf2ce4
Changed: renamed .nextPage() to .addPage()
13 years ago
TJ Holowaychuk
a063907832
Added quick PDF support
need to clean things up, add async support, test images etc. I believe
some guys forked node-canvas to add some kind of image caching
for when an image appears several times within a PDF document, though
that may be out of scope
13 years ago
TJ Holowaychuk
7a28ab4773
Fixed quadratic curve lameness. Closes #155
13 years ago
obarthel
5a8083de17
Added buffer size checks to the rgba_to_string() function
13 years ago
Robert Sköld
46bda423f8
Added a test (and fix) for a regression with gradients
13 years ago
Robert Sköld
559bd9d572
Started on ctx.createPattern() support.
13 years ago
Tj Holowaychuk
c3e9284cfa
ocd
13 years ago
Tharit
3ea435801e
fixed two memory leaks in context2d
13 years ago
Tj Holowaychuk
f65f60aec1
Fixed measureText().width. Closes #126
13 years ago
Tj Holowaychuk
549665dee8
typo
13 years ago
Tj Holowaychuk
82919c9992
Added better lineTo() / moveTo() exception messages
14 years ago
Tj Holowaychuk
10da42f2c0
Changed: prefix some private methods with _
14 years ago
Tj Holowaychuk
8179d4619e
Added Image#src= support. Closes #91
needs refactor
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
d8a1c91ec3
states already free()d...
14 years ago
Tj Holowaychuk
bef75cc54f
CAIRO_OPERATOR_SATURATE and some others are available in cairo 1.8.x
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
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
Tj Holowaychuk
83c86d1c4b
Added drawImage() patternQuality support
14 years ago
Tj Holowaychuk
ab76821787
pre-multiply putImageData() components
14 years ago
Tj Holowaychuk
94514cac00
initialize textBaseline
14 years ago
Tj Holowaychuk
85ae1c931f
Added Context2d::Get{Fill,Stroke}Color()
14 years ago
Tj Holowaychuk
54be6c057a
automatic rgba_to_string()
14 years ago
Tj Holowaychuk
ddeb6f3566
Added rgba_to_string()
14 years ago
Tj Holowaychuk
0ff539c691
setting up shadowColor accessors
14 years ago
Tj Holowaychuk
62fb1299a4
rgba_from_string(const char *str, short *ok)
14 years ago
Tj Holowaychuk
e2a95c9537
implementing color parser
14 years ago
Tj Holowaychuk
82c8d562d6
fixed rgba_create()
14 years ago
Tj Holowaychuk
13e4ecf68c
make g++ stop bitching
14 years ago
Tj Holowaychuk
97c7fe6dbd
prep for c color parser
14 years ago
Tj Holowaychuk
ea4b13e7ef
Added arcTo(). Closes #11
14 years ago