svgstyleattributes.cxx (50b37974) svgstyleattributes.cxx (804e0487)
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

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

365
366 drawinglayer::primitive2d::appendPrimitive2DReferenceToPrimitive2DSequence(
367 rTarget,
368 new drawinglayer::primitive2d::SvgLinearGradientPrimitive2D(
369 rPath,
370 aSvgGradientEntryVector,
371 aStart,
372 aEnd,
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

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

365
366 drawinglayer::primitive2d::appendPrimitive2DReferenceToPrimitive2DSequence(
367 rTarget,
368 new drawinglayer::primitive2d::SvgLinearGradientPrimitive2D(
369 rPath,
370 aSvgGradientEntryVector,
371 aStart,
372 aEnd,
373 userSpaceOnUse != rFillGradient.getGradientUnits(),
373 rFillGradient.getSpreadMethod()));
374 }
375 else
376 {
377 basegfx::B2DPoint aStart(0.5, 0.5);
378 basegfx::B2DPoint aFocal;
379 double fRadius(0.5);
380 const SvgNumber* pFx = rFillGradient.getFx();

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

425
426 drawinglayer::primitive2d::appendPrimitive2DReferenceToPrimitive2DSequence(
427 rTarget,
428 new drawinglayer::primitive2d::SvgRadialGradientPrimitive2D(
429 rPath,
430 aSvgGradientEntryVector,
431 aStart,
432 fRadius,
374 rFillGradient.getSpreadMethod()));
375 }
376 else
377 {
378 basegfx::B2DPoint aStart(0.5, 0.5);
379 basegfx::B2DPoint aFocal;
380 double fRadius(0.5);
381 const SvgNumber* pFx = rFillGradient.getFx();

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

426
427 drawinglayer::primitive2d::appendPrimitive2DReferenceToPrimitive2DSequence(
428 rTarget,
429 new drawinglayer::primitive2d::SvgRadialGradientPrimitive2D(
430 rPath,
431 aSvgGradientEntryVector,
432 aStart,
433 fRadius,
434 userSpaceOnUse != rFillGradient.getGradientUnits(),
433 rFillGradient.getSpreadMethod(),
434 bFocal ? &aFocal : 0));
435 }
436 }
437 }
438
439 void SvgStyleAttributes::add_fillPatternTransform(
440 const basegfx::B2DPolyPolygon& rPath,

--- 2006 unchanged lines hidden ---
435 rFillGradient.getSpreadMethod(),
436 bFocal ? &aFocal : 0));
437 }
438 }
439 }
440
441 void SvgStyleAttributes::add_fillPatternTransform(
442 const basegfx::B2DPolyPolygon& rPath,

--- 2006 unchanged lines hidden ---