vclprocessor2d.cxx (025b0597) | vclprocessor2d.cxx (96fc4b33) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 591 unchanged lines hidden (view full) --- 600 { 601 // For AA, direct render has to be avoided since it uses XOR maskings which will not 602 // work with AA. Instead, the decompose which uses MaskPrimitive2D with fillings is 603 // used 604 process(rPolygonCandidate.get2DDecomposition(getViewInformation2D())); 605 } 606 else 607 { | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 591 unchanged lines hidden (view full) --- 600 { 601 // For AA, direct render has to be avoided since it uses XOR maskings which will not 602 // work with AA. Instead, the decompose which uses MaskPrimitive2D with fillings is 603 // used 604 process(rPolygonCandidate.get2DDecomposition(getViewInformation2D())); 605 } 606 else 607 { |
608 impDrawGradientToOutDev( | 608 static bool bSimple = false; // allow testing simple paint in debugger 609 610 impDrawGradientToOutDev( |
609 *mpOutputDevice, aLocalPolyPolygon, rGradient.getStyle(), rGradient.getSteps(), 610 aStartColor, aEndColor, rGradient.getBorder(), | 611 *mpOutputDevice, aLocalPolyPolygon, rGradient.getStyle(), rGradient.getSteps(), 612 aStartColor, aEndColor, rGradient.getBorder(), |
611 rGradient.getAngle(), rGradient.getOffsetX(), rGradient.getOffsetY(), false); | 613 rGradient.getAngle(), rGradient.getOffsetX(), rGradient.getOffsetY(), bSimple); |
612 } 613 } 614 } 615 616 // direct draw of bitmap 617 void VclProcessor2D::RenderPolyPolygonBitmapPrimitive2D(const primitive2d::PolyPolygonBitmapPrimitive2D& rPolygonCandidate) 618 { 619 bool bDone(false); --- 1026 unchanged lines hidden --- | 614 } 615 } 616 } 617 618 // direct draw of bitmap 619 void VclProcessor2D::RenderPolyPolygonBitmapPrimitive2D(const primitive2d::PolyPolygonBitmapPrimitive2D& rPolygonCandidate) 620 { 621 bool bDone(false); --- 1026 unchanged lines hidden --- |