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
c54cf755ac
Fix "ugly fades" bug. The border colour was rendered behind the fill colour unless both primary and secondary alpha were non-zero. The \fad and \fade tags both set \alpha rather than \1a \2a \3a \4a, and \alpha is a wholly separate alpha value which wasn't considered at all in this case.
...
Making it never draw the fill in border colour fixes this and doesn't seem to have any adverse effects.
Originally committed to SVN as r2276.
2008-07-22 18:49:20 +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
c6a1b9649b
Stop importing msxml.dll when it's not needed anyway, and a string literal was not marked with _T() when it should.
...
Originally committed to SVN as r1985.
2008-03-08 23:44:51 +00:00
Rodrigo Braz Monteiro
092876d8dc
Added VSFilter VS2008 project files
...
Originally committed to SVN as r1822.
2008-01-23 22:01:10 +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
4cf49cf9fb
Possibly fix a rounding problem that causes subtitles with \pos to move a slightly bit around even though they shouldn't.
...
Originally committed to SVN as r1536.
2007-08-26 15:44:15 +00:00
Niels Martin Hansen
fae778e45b
Require [Script Info] line as first thing in SSA/ASS files. (Probably. This might make VSFilter fail on invalid scripts, oh no!)
...
Originally committed to SVN as r1406.
2007-07-10 21:31:06 +00:00
Niels Martin Hansen
1fb4f58ff2
Import VSFilter from guliverkli.
...
Originally committed to SVN as r1399.
2007-07-09 18:33:44 +00:00