overlaytools.cxx (f6e50924) overlaytools.cxx (0702bc67)
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

--- 222 unchanged lines hidden (view full) ---

231 }
232
233 const basegfx::BColor aEmptyColor(0.0, 0.0, 0.0);
234 const drawinglayer::attribute::FillHatchAttribute aFillHatchAttribute(
235 drawinglayer::attribute::HATCHSTYLE_SINGLE,
236 getDiscreteHatchDistance() * getDiscreteUnit(),
237 getHatchRotation() - getRotation(),
238 getHatchColor(),
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

--- 222 unchanged lines hidden (view full) ---

231 }
232
233 const basegfx::BColor aEmptyColor(0.0, 0.0, 0.0);
234 const drawinglayer::attribute::FillHatchAttribute aFillHatchAttribute(
235 drawinglayer::attribute::HATCHSTYLE_SINGLE,
236 getDiscreteHatchDistance() * getDiscreteUnit(),
237 getHatchRotation() - getRotation(),
238 getHatchColor(),
239 3, // same default as VCL, a minimum of three discrete units (pixels) offset
239 false);
240 const Primitive2DReference aPrimitive(
241 new PolyPolygonHatchPrimitive2D(
242 aHatchPolyPolygon,
243 aEmptyColor,
244 aFillHatchAttribute));
245
246 aRetval = Primitive2DSequence(&aPrimitive, 1);

--- 243 unchanged lines hidden ---
240 false);
241 const Primitive2DReference aPrimitive(
242 new PolyPolygonHatchPrimitive2D(
243 aHatchPolyPolygon,
244 aEmptyColor,
245 aFillHatchAttribute));
246
247 aRetval = Primitive2DSequence(&aPrimitive, 1);

--- 243 unchanged lines hidden ---