610 Commits (d18713aad4e0635d120c25fad667cace68efca13)

Author SHA1 Message Date
Linus Unnebäck 9b58be5e8a expose freetype version 9 years ago
Linus Unnebäck a94a427da0 require new in constructor 9 years ago
Linus Unnebäck 139ee8582e fix segfault on node 0.10.x 9 years ago
Raul Ochoa c651227202 Allow to unbind onload/onerror callback handlers 10 years ago
Zach Bjornson 83a8b27b02 #637 use Nan::TypedArrayContents, fix a signed/unsigned comp warning 9 years ago
Radosław Eichler 9e7c44b4e0 Fix compilation on Visual Studio 2015 9 years ago
Hussein Jafferjee 5a19f4aa5f shadowBlur doesn't need to be halved 9 years ago
Hussein Jafferjee 36f3d268ae fix incorrect Y offset for shadows, and also fix scaled shadows 9 years ago
Jesper Ek ff23127e16 Add explanation to remaining std::min calls 9 years ago
Jesper Ek 6c0931fb54 Add explanation to otherwise unnecessary parens. 9 years ago
Jesper Ek 8afe39110e Wrap std::min calls in paranthesis to prevent macro expansion on windows 9 years ago
Michaël Zasso 2884267de4 make ImageData constructor more spec-compliant 9 years ago
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
Raul Ochoa d37f9c31c1 Don't unbind onload/onerror callbacks after invoking them 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