viewcontactoftableobj.cxx (f6e50924) | viewcontactoftableobj.cxx (64b14621) |
---|---|
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 --- 81 unchanged lines hidden (view full) --- 90 }; 91 92 Primitive2DSequence SdrCellPrimitive2D::create2DDecomposition(const geometry::ViewInformation2D& /*aViewInformation*/) const 93 { 94 // prepare unit polygon 95 Primitive2DSequence aRetval; 96 const basegfx::B2DPolyPolygon aUnitPolyPolygon(basegfx::tools::createUnitPolygon()); 97 | 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 --- 81 unchanged lines hidden (view full) --- 90 }; 91 92 Primitive2DSequence SdrCellPrimitive2D::create2DDecomposition(const geometry::ViewInformation2D& /*aViewInformation*/) const 93 { 94 // prepare unit polygon 95 Primitive2DSequence aRetval; 96 const basegfx::B2DPolyPolygon aUnitPolyPolygon(basegfx::tools::createUnitPolygon()); 97 |
98 // add fill 99 if(!getSdrFTAttribute().getFill().isDefault()) 100 { 101 appendPrimitive2DReferenceToPrimitive2DSequence(aRetval, 102 createPolyPolygonFillPrimitive( 103 aUnitPolyPolygon, 104 getTransform(), 105 getSdrFTAttribute().getFill(), 106 getSdrFTAttribute().getFillFloatTransGradient())); 107 } | 98 // add fill 99 if(!getSdrFTAttribute().getFill().isDefault()) 100 { 101 basegfx::B2DPolyPolygon aTransformed(aUnitPolyPolygon); 102 103 aTransformed.transform(getTransform()); 104 appendPrimitive2DReferenceToPrimitive2DSequence(aRetval, 105 createPolyPolygonFillPrimitive( 106 aTransformed, 107 getSdrFTAttribute().getFill(), 108 getSdrFTAttribute().getFillFloatTransGradient())); 109 } |
108 else 109 { 110 // if no fill create one for HitTest and BoundRect fallback 111 appendPrimitive2DReferenceToPrimitive2DSequence(aRetval, 112 createHiddenGeometryPrimitives2D( 113 true, 114 aUnitPolyPolygon, 115 getTransform())); --- 617 unchanged lines hidden --- | 110 else 111 { 112 // if no fill create one for HitTest and BoundRect fallback 113 appendPrimitive2DReferenceToPrimitive2DSequence(aRetval, 114 createHiddenGeometryPrimitives2D( 115 true, 116 aUnitPolyPolygon, 117 getTransform())); --- 617 unchanged lines hidden --- |