Niels Martin Hansen
ea79951788
Added \blur tag for real gaussian blur. Blurs the same things as \be, except in a prettier way.
...
It is possible to combine the two, although it'd be mostly pointless.
Originally committed to SVN as r2284.
2008-07-24 02:41:53 +00:00
Niels Martin Hansen
316f1afb6e
Optimise safe_subtract to avoid conditionals.
...
Originally committed to SVN as r2283.
2008-07-24 00:10:43 +00:00
Niels Martin Hansen
582dd39cbd
Ensure Rasterizer::mWideBorder is initialized such that memory allocation in Rasterizer::Rasterize() doesn't go crazy. Also fix brainfart causing \xbord0\ybord<nonzero> to draw no border.
...
Originally committed to SVN as r2282.
2008-07-23 21:33:03 +00:00
Niels Martin Hansen
5d3b1fe8c2
Enable variable strength 'blur edges' effect, using other values than 1 to \be, like \be20. Also allow putting \be inside \t for animating the blur effect.
...
The parameter is the number of passes of blur to perform.
Originally committed to SVN as r2279.
2008-07-22 23:38:22 +00:00
Niels Martin Hansen
13654219c2
Implemented four new tags: \xbord \ybord \xshad \yshad
...
Allows setting the border in X and Y direction separately, and the shadow displacement in X and Y direction separately.
The \xshad and \yshad tags also allow negative shadow displacement values. Negative shadow is still not allowed in any of the traditional locations.
Originally committed to SVN as r2278.
2008-07-22 21:42:36 +00:00
Niels Martin Hansen
e504c61065
Fix rendering bug exposed with \be1, \bord smaller than 1.5 and non-zero fill alpha, causing "stray dots" to appear.
...
The problem was caused by an integer underflow, the fix involves spending a few more instructions per pixel to avoid that.
Originally committed to SVN as r2275.
2008-07-22 16:21:26 +00:00
Niels Martin Hansen
dad1d4d02f
A bit more comments on the rasteriser code.
...
Originally committed to SVN as r1544.
2007-08-29 21:06:09 +00:00
Niels Martin Hansen
268b6c45af
Back to classic pixmix/pixmix2 architecture. Probably made some parts clearer. More and more correct documentation of the Draw code. Probably more correct (at least not less correct, it seems) alpha calculation.
...
Originally committed to SVN as r1543.
2007-08-29 19:57:16 +00:00
Niels Martin Hansen
35f2b7caa2
Remove unused code from experiments with using the TextSub 2.23 rasteriser code instead. (They failed.)
...
Originally committed to SVN as r1542.
2007-08-29 18:49:02 +00:00
Niels Martin Hansen
6465b086e7
Attempt to add some documentation for what Rasterizer::Draw does.
...
Originally committed to SVN as r1541.
2007-08-29 18:40:51 +00:00
Niels Martin Hansen
1fb4f58ff2
Import VSFilter from guliverkli.
...
Originally committed to SVN as r1399.
2007-07-09 18:33:44 +00:00