patternfillprimitive2d.cxx (79aad27f) | patternfillprimitive2d.cxx (035a2f44) |
---|---|
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 --- 43 unchanged lines hidden (view full) --- 52 if(!getReferenceRange().isEmpty() && getReferenceRange().getWidth() > 0.0 && getReferenceRange().getHeight() > 0.0) 53 { 54 const basegfx::B2DRange aMaskRange(getMask().getB2DRange()); 55 56 if(!aMaskRange.isEmpty() && aMaskRange.getWidth() > 0.0 && aMaskRange.getHeight() > 0.0) 57 { 58 // create tiling matrices 59 ::std::vector< basegfx::B2DHomMatrix > aMatrices; | 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 --- 43 unchanged lines hidden (view full) --- 52 if(!getReferenceRange().isEmpty() && getReferenceRange().getWidth() > 0.0 && getReferenceRange().getHeight() > 0.0) 53 { 54 const basegfx::B2DRange aMaskRange(getMask().getB2DRange()); 55 56 if(!aMaskRange.isEmpty() && aMaskRange.getWidth() > 0.0 && aMaskRange.getHeight() > 0.0) 57 { 58 // create tiling matrices 59 ::std::vector< basegfx::B2DHomMatrix > aMatrices; |
60 texture::GeoTexSvxTiled aTiling(getReferenceRange().getMinimum(), getReferenceRange().getRange()); | 60 texture::GeoTexSvxTiled aTiling(getReferenceRange()); 61 |
61 aTiling.appendTransformations(aMatrices); 62 63 // check if content needs to be clipped 64 const basegfx::B2DRange aUnitRange(0.0, 0.0, 1.0, 1.0); 65 const basegfx::B2DRange aContentRange(getB2DRangeFromPrimitive2DSequence(getChildren(), rViewInformation)); 66 Primitive2DSequence aContent(getChildren()); 67 68 if(!aUnitRange.isInside(aContentRange)) --- 90 unchanged lines hidden --- | 62 aTiling.appendTransformations(aMatrices); 63 64 // check if content needs to be clipped 65 const basegfx::B2DRange aUnitRange(0.0, 0.0, 1.0, 1.0); 66 const basegfx::B2DRange aContentRange(getB2DRangeFromPrimitive2DSequence(getChildren(), rViewInformation)); 67 Primitive2DSequence aContent(getChildren()); 68 69 if(!aUnitRange.isInside(aContentRange)) --- 90 unchanged lines hidden --- |