Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


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..

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.