summaryrefslogtreecommitdiff
path: root/draw
AgeCommit message (Collapse)Author
2011-04-08Add special case non-aa scan converter with accompanying blit functions.Tor Andersson
Also turn on font hinting when rendering non-aa text.
2011-04-07Add AA_BITS define to control antialias level of line art.Robin Watts
AA_BITS < 0 => Runtime configurable. AA_BITS = 0 => No antialiasing AA_BITS > 0 => At least that many bits of accuracy (to a max of 8). If unspecified, default is 8, so old behaviour is maintained.
2011-04-07Check for zero length dash arrays.Tor Andersson
2011-04-07Update README files.Tor Andersson
2011-04-06Rename span to stride, and add gray->bgr fast path image drawing.Tor Andersson
2011-04-06Add special case gray image -> rgb device rendering code.Robin Watts
New code to render grayscale images on an rgb device without converting to rgb first.
2011-04-05Makefile tweaks.Tor Andersson
2011-04-05Add wrapper functions around device calls.Tor Andersson
They test for NULL and make the code look nicer.
2011-04-04Le Roi est mort, vive le Roi!Tor Andersson
The run-together words are dead! Long live the underscores! The postscript inspired naming convention of using all run-together words has served us well, but it is now time for more readable code. In this commit I have also added the sed script, rename.sed, that I used to convert the source. Use it on your patches and application code.
2011-04-04draw: Rename files in draw directory.Tor Andersson
2011-04-04draw: Combine pathfill.c and pathscan.cTor Andersson
2011-04-04draw: Purge old (fast but too ugly) image scaling code.Tor Andersson
2011-04-04Add device interface functions to draw tiled patterns.Tor Andersson
2011-04-04pdf: Also interpolate images that aren't to be interpolated up to 200%Tor Andersson
2011-04-03Merge branch 'xps'Tor Andersson
2011-04-01xps: Use opacity masks, and draw gradients with opacity.Tor Andersson
2011-03-31xps: Clean up image loading code, and handle images with alpha.Tor Andersson
2011-03-29Don't shorten colorspace to 'cs' in structs and other names.Tor Andersson
2011-03-09Draw radial shading extensions in the right order.Tor Andersson
2011-03-01Fix subtle path stroking bug where closepath did not update the pen position.Tor Andersson
2011-02-12Calculate the y sub pixel position correctly.Robin Watts
2011-02-08Only interpolate upscaled images when the interpolate flag is set in the ↵Tor Andersson
image dictionary.
2011-02-03Various patches from SumatraPDF.Tor Andersson
2011-02-03Indent with tabs, not spaces.Tor Andersson
2011-01-27Add fz_calloc function to check for integer overflow when allocating arrays, ↵Tor Andersson
and change the signature of fz_realloc to match.
2011-01-17Fix out of bound memory access in smooth scaling single column code.Robin Watts
2011-01-06Fix typos in fz_paintlinear.Tor Andersson
2011-01-06Make several functions static, removing them from the public interface.Sebastian Rasmussen
2010-12-30Adhere to nil idiom.Sebastian Rasmussen
2010-12-30Adhere to indentation idiom for switch everywhere.Sebastian Rasmussen
2011-01-06Solve subpixel positioning problems when scaling rotated images.Robin Watts
2011-01-05Correct miscalculation of target image sizes for scaling.Robin Watts
2010-12-29Rename mesh painting functions to 'paint' to conform with the other painting ↵Tor Andersson
functions.
2010-12-29Support radial shadings as another special case in the fitz renderer.Sebastian Rasmussen
2010-12-29Support linear shadings as a special case in the fitz shading struct and ↵Tor Andersson
renderer.
2010-12-04The FZ_COMBINE2 rounding fix doesn't work. Implement it the other way (round ↵Tor Andersson
then add).
2010-12-01Fix rounding behaviour when using FZ_COMBINE2.Robin Watts
An alternative fix would be to change the FZ_COMBINE2 macro to (A*B)>>8 + (C*D)>>8 instead of computing a separate "imasa" variable.
2010-11-28Support luminosity softmask background colors.Tor Andersson
2010-10-28Use smooth image scaling for non-rectilinear images. Patch by Robin Watts.Tor Andersson
2010-10-28Use bilinear sampling for non-rectilinear and upscaled images.Tor Andersson
2010-10-28Patch for initializing weights when the downscale of the image is so severe ↵Tor Andersson
we end up with no non-zero weights for a given output pixel. By Robin Watts.
2010-10-23Change do/while(--w) back into while(w--).Tor Andersson
2010-10-20Pre-multiply colors when converting the rendered grayscale shading to color ↵Tor Andersson
via its function lookup table.
2010-10-14Fix error in smooth scaling that only occured with horizontally flipped ↵Tor Andersson
colour images. Patch by Robin Watts.
2010-10-13Speed up smooth scaling, fix a corner case and some experimental ARM code ↵Tor Andersson
for the inner loop of the most common case. Patch by Robin Watts.
2010-10-13Remove (broken?) center-of-pixel adjustments in image rendering.Tor Andersson
2010-10-13Use EXPAND/BLEND/COMBINE macros for more plotting functions. Patch by Robin ↵Tor Andersson
Watts.
2010-10-13Fix formatting: remove double spaces.Tor Andersson
2010-09-08Smooth image scaling and drawing fixes by Robin Watts.Tor Andersson
2010-08-18Put a hard limit on bezier subdivision in case precision limits make the ↵Tor Andersson
flatness check fail.