зеркало из https://github.com/wieslawsoltes/SVG.git
Родитель
a9cad1097e
Коммит
d8bf177ec9
|
@ -1,10 +1,8 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Svg
|
namespace Svg
|
||||||
{
|
{
|
||||||
|
[Obsolete("ISvgSupportsCoordinateUnits will be removed.")]
|
||||||
internal interface ISvgSupportsCoordinateUnits
|
internal interface ISvgSupportsCoordinateUnits
|
||||||
{
|
{
|
||||||
SvgCoordinateUnits GetUnits();
|
SvgCoordinateUnits GetUnits();
|
||||||
|
|
|
@ -9,7 +9,7 @@ namespace Svg
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provides the base class for all paint servers that wish to render a gradient.
|
/// Provides the base class for all paint servers that wish to render a gradient.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public abstract class SvgGradientServer : SvgPaintServer, ISvgSupportsCoordinateUnits
|
public abstract class SvgGradientServer : SvgPaintServer
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="SvgGradientServer"/> class.
|
/// Initializes a new instance of the <see cref="SvgGradientServer"/> class.
|
||||||
|
@ -215,10 +215,5 @@ namespace Svg
|
||||||
|
|
||||||
return newObj;
|
return newObj;
|
||||||
}
|
}
|
||||||
|
|
||||||
public SvgCoordinateUnits GetUnits()
|
|
||||||
{
|
|
||||||
return GradientUnits;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@ namespace Svg
|
||||||
/// A pattern is used to fill or stroke an object using a pre-defined graphic object which can be replicated ("tiled") at fixed intervals in x and y to cover the areas to be painted.
|
/// A pattern is used to fill or stroke an object using a pre-defined graphic object which can be replicated ("tiled") at fixed intervals in x and y to cover the areas to be painted.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[SvgElement("pattern")]
|
[SvgElement("pattern")]
|
||||||
public sealed class SvgPatternServer : SvgPaintServer, ISvgViewPort, ISvgSupportsCoordinateUnits
|
public sealed class SvgPatternServer : SvgPaintServer, ISvgViewPort
|
||||||
{
|
{
|
||||||
private SvgUnit _x = SvgUnit.None;
|
private SvgUnit _x = SvgUnit.None;
|
||||||
private SvgUnit _y = SvgUnit.None;
|
private SvgUnit _y = SvgUnit.None;
|
||||||
|
@ -255,10 +255,5 @@ namespace Svg
|
||||||
return newObj;
|
return newObj;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public SvgCoordinateUnits GetUnits()
|
|
||||||
{
|
|
||||||
return _patternUnits;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче