.Painter: support for Invert in subpixel mode

git-svn-id: svn://ultimatepp.org/upp/trunk@3602 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2011-07-03 17:30:43 +00:00
commit 58f76e1455
3 changed files with 34 additions and 18 deletions

View file

@ -81,6 +81,7 @@ Buffer<ClippingLine> BufferPainter::RenderPath(double width, SpanSource *ss, con
MaskFillerFilter mf;
bool doclip = width == CLIP;
subpixel_filler.sbuffer = subpixel;
subpixel_filler.invert = pathattr.invert;
if(doclip) {
rg = &clip_filler;
newclip.Alloc(ib.GetHeight());