summaryrefslogtreecommitdiff
path: root/draw
AgeCommit message (Collapse)Author
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.
2010-08-07Fix bug where image with alpha painting was not multiplying colors with the ↵Tor Andersson
constant alpha.
2010-08-04Rearrange low level painting functions and add new functions for constant ↵Tor Andersson
alpha painting.
2010-07-25Apply decode array for image masks.Tor Andersson
2010-07-25Use a separate decodetile function for non-indexed images.Tor Andersson
2010-07-25Never scale the components of indexed images. Let decodetile use maxval for ↵Tor Andersson
scaling and use 24.8 fixed point math.
2010-07-23Fix typo in grayscale image sampling.Tor Andersson
2010-07-23Fix to stop the asserts in smoothscale.Robin Watts
2010-07-22Grid fit images rather than just prevent dropouts.Tor Andersson
2010-07-22Prevent dropouts of small images.Tor Andersson
2010-07-21Only initialise the 1-bit image unpacking tables when we encounter a monobit ↵Tor Andersson
image.
2010-07-21Add Robin Watts' smooth image scaling code.Tor Andersson
2010-07-21Replace path blending with general blending functions. Rewrite image ↵Tor Andersson
rendering loops so they don't depend on the scan converter.
2010-07-21Clear glyph cache key struct with memset to make sure we don't hash ↵Tor Andersson
uninitialized padding.
2010-07-20Replace explicit comparisons with MIN/MAX/ABS macros.Sebastian Rasmussen
2010-07-21Replace text blending with general blending functions.Tor Andersson
2010-07-21Reorganize pixmap blending functions.Tor Andersson
2010-07-17Remove all trailing whitespace.Tor Andersson
2010-07-17Minor edits of multi-line comments.Tor Andersson
2010-07-17Move device colorspace contants into the fitz namespace.Tor Andersson
2010-07-17Support SMasks for general graphics (incomplete).Tor Andersson