Easy hach_Skill Level: Beginner_[Bug 38844] Reduce XOR rendering

No Pain No Gain sheikha443 at gmail.com
Sun Dec 20 03:10:37 PST 2015


hello, I'm interested in solving bugs in libreoffice..
in fact i am beginner ..
i go through some bugs
and i like to understand reduced xor rendering
i read the documentation of this bug.. i found that we should remove
ROP_XOR..
so i suggest to remove this case..
 which is located in path
libreoffice/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:1190

   case PRIMITIVE2D_ID_INVERTPRIMITIVE2D :
                {
                    // invert primitive (currently only used for
HighContrast fallback for selection in SW and SC).
                    // (Not true, also used at least for the drawing of
dragged column and row boundaries in SC.)
                    // Set OutDev to XOR and switch AA off (XOR does not
work with AA)
                    mpOutputDevice->Push();
                    mpOutputDevice->SetRasterOp( ROP_XOR  );
                    const AntialiasingFlags
nAntiAliasing(mpOutputDevice->GetAntialiasing());
                    mpOutputDevice->SetAntialiasing(nAntiAliasing &
~AntialiasingFlags::EnableB2dDraw);

                    // process content recursively

process(rCandidate.get2DDecomposition(getViewInformation2D()));

                    // restore OutDev
                    mpOutputDevice->Pop();
                    mpOutputDevice->SetAntialiasing(nAntiAliasing);
                    break;
                }
i am not sure..
so kindly help me..
Thanking you..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20151220/56e59516/attachment.html>


More information about the LibreOffice mailing list