594 Commits (85aff9e5e492779dd944f4bbfef039bff4653151)

Author SHA1 Message Date
Hussein Jafferjee 85aff9e5e4 improve comment on why the offset is there 9 years ago
Hussein Jafferjee f8368996b8 Change to 1.4 to match chrome 9 years ago
Hussein Jafferjee 4f722ffa53 forgot to destroy context and surface 9 years ago
Hussein Jafferjee 4e9269cc34 implement blur on images (drawImage) 9 years ago
Zach Bjornson 9ad6c41f2b jpegStream: bugfix, tests, simplification with LinusU. Fix #629 9 years ago
Zach Bjornson d4d3b9c724 Update to NAN 2 and node 3+ APIs 10 years ago
Linus Unnebäck 858d79bb4c test: fix up some small issues 10 years ago
Zach Bjornson 7d9286638f Support node <0.12 using kExternalPixelArray. 10 years ago
Zach Bjornson 43c94e43bf Pixels with a=0 should have 0 for RGB; pixels with a=255 should have rgb for RGB. 10 years ago
Zach Bjornson 11f0709ec6 Fix tests "putImageData() 8" and "putImageData() 9". 10 years ago
Zach Bjornson 76580a8199 Optimize Context2d::PutImageData. Benchmarked 53% faster. 10 years ago
Zach Bjornson b4a05d7892 Replace CanvasPixelArray with Uint8ClampedArray to meet spec. 10 years ago
Linus Unnebäck 86d6ec59b7 src: fix include paths for cairo 10 years ago
Nathan Rajlich 3d9f2ac16f Revert "Remove unused variables" 10 years ago
Nathan Rajlich 73d202af40 Revert "Remove unused variables" 10 years ago
Кузнецов Дмитрий 004758c725 Remove unused variables 10 years ago
Кузнецов Дмитрий 2381e916a9 Remove unused variables 10 years ago
kibao 6edec3b6e4 Fix segmentation fault in Image::loadFromBuffer when buffer is empty 10 years ago
Alexander Parshin dc8db1695d Add comment about optimization 10 years ago
Alexander Parshin 6de09834cf Optimize getImageData() 10 years ago
Stephen Remde a2f9386d90 fixed bug in StreamPNGSync 10 years ago
Josip Janžić 2ed7587379 define correct isnan, isinf functions 10 years ago
Joe Freeman 66a7a895d8 Fix 'drawImage' scaling (the dimensions of the region that gets clipped also needs to be scaled). 10 years ago
Andy Wood dfc661f28f Just use cairo_image_surface_create rather than cairo_surface_create_similar_image which was introduced in cairo 1.12. 10 years ago
zahranisa 66fa59c4a8 io.js compatibility 10 years ago
Andy Wood 8c6984a099 Fix issue with line width not being correct in stroked shadows. 10 years ago
Andy Wood 822d822066 Refactor setSourceRGBA to allow the context to be supplied. 10 years ago
Andy Wood 39766d1fd6 Simple image shadow (no blurring or handling current transforms) based on image's alpha channel. 10 years ago
Andy Wood 2b366c684e The +1 on the offset seems to match the browser's output better, but I can't work out why it would be needed (unless it's pixel alignment related). 10 years ago
Andy Wood 617aabc6ae Make the shadow radius more accurately match the browser's, making use of sigma scale as used in SKIA: https://github.com/google/skia/blob/master/src/effects/SkBlurMask.cpp#L26. 10 years ago
Andy Wood 0dcc70b2b3 Create a new image surface to render blurred shadows to, this means that vector formats like PDF will now render blurs. 10 years ago
Andy Wood 5d9582b81e Add recommended calls to flush and dirty buffer, as per http://www.cairographics.org/manual/cairo-Image-Surfaces.html#cairo-image-surface-get-data. 10 years ago
Andy Wood 95e342d259 Fix to ensure shadowOffset is unaffected by the current transform. 10 years ago
motiz88 113abfbd90 Code style + attribution. 10 years ago
motiz88 3951221166 Fixed <number> handling in hsl/hsla color parser. 10 years ago
motiz88 3cc596f34c hsl/hsla color parsing + rebeccapurple 10 years ago
Jake Gordon 36bd6498b5 float rather than int for drawImage arguments 10 years ago
Jake Gordon 7522aca2ea with_pango to true and use fontconfig to load fonts 10 years ago
Matthieu Dehaussy 372fb699f0 Update Image.cc 10 years ago
Thaddee Tyl 79f1d42fb5 Offer SVG output. 11 years ago
svandecappelle 5212a52da7 Glib version test into giflib exists test 11 years ago
svandecappelle c383d11412 Giflib 5.1 11 years ago
svandecappelle 86e77b5bcc Update Image.h 11 years ago
svandecappelle 9fa62ba875 Update Image.cc 11 years ago
svandecappelle 0eefc23ee5 Giflib 5.1 11 years ago
Milan Gardian 13049aced3 Remove unneeded #include <nan.h> 11 years ago
Milan Gardian ba4038b496 Use float constants to prevent double->float conversion warning 11 years ago
King Koopa 9ffde8ebb3 Add algorithm include to CanvasRenderingContext2d.cc for std::min 11 years ago
King Koopa c18d777f57 Updated NAN to 1.2.0 11 years ago
Vincent Weevers f42a018a8d Add shims so Windows Visual C++ can use C99's isnan() and isinf(). 11 years ago