Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ImportedProjects
SVG
Commits
c912ea85
Commit
c912ea85
authored
Dec 19, 2008
by
davescriven
Browse files
- Renamed SvgGraphicsElement to SvgVisualElement to better describe what the base class represents.
parent
b6c5fa36
Changes
24
Show whitespace changes
Inline
Side-by-side
Paths/SvgPath.cs
View file @
c912ea85
...
@@ -13,7 +13,7 @@ namespace Svg
...
@@ -13,7 +13,7 @@ namespace Svg
/// <summary>
/// <summary>
/// Represents an SVG path element.
/// Represents an SVG path element.
/// </summary>
/// </summary>
public
class
SvgPath
:
Svg
Graphics
Element
public
class
SvgPath
:
Svg
Visual
Element
{
{
private
SvgPathSegmentList
_pathData
;
private
SvgPathSegmentList
_pathData
;
private
GraphicsPath
_path
;
private
GraphicsPath
_path
;
...
...
Svg.csproj
View file @
c912ea85
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<PropertyGroup>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.
21022
</ProductVersion>
<ProductVersion>9.0.
30729
</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{886A98C5-37C0-4E8B-885E-30C1D2F98B47}</ProjectGuid>
<ProjectGuid>{886A98C5-37C0-4E8B-885E-30C1D2F98B47}</ProjectGuid>
<OutputType>Library</OutputType>
<OutputType>Library</OutputType>
...
@@ -64,8 +64,8 @@
...
@@ -64,8 +64,8 @@
<Reference Include="System.Xml" />
<Reference Include="System.Xml" />
</ItemGroup>
</ItemGroup>
<ItemGroup>
<ItemGroup>
<Compile Include="Basic Shapes\Svg
Graphics
Element.cs" />
<Compile Include="Basic Shapes\Svg
Visual
Element.cs" />
<Compile Include="Basic Shapes\Svg
Graphics
ElementEvents.cs" />
<Compile Include="Basic Shapes\Svg
Visual
ElementEvents.cs" />
<Compile Include="Basic Shapes\SvgCircle.cs" />
<Compile Include="Basic Shapes\SvgCircle.cs" />
<Compile Include="Basic Shapes\SvgEllipse.cs" />
<Compile Include="Basic Shapes\SvgEllipse.cs" />
<Compile Include="Basic Shapes\SvgLine.cs" />
<Compile Include="Basic Shapes\SvgLine.cs" />
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
<Compile Include="Painting\SvgRadialGradientServer.cs" />
<Compile Include="Painting\SvgRadialGradientServer.cs" />
<Compile Include="Painting\SvgStrokeLineCap.cs" />
<Compile Include="Painting\SvgStrokeLineCap.cs" />
<Compile Include="Painting\SvgStrokeLineJoin.cs" />
<Compile Include="Painting\SvgStrokeLineJoin.cs" />
<Compile Include="Basic Shapes\Svg
Graphics
ElementStyle.cs" />
<Compile Include="Basic Shapes\Svg
Visual
ElementStyle.cs" />
<Compile Include="Paths\SvgArcSegment.cs" />
<Compile Include="Paths\SvgArcSegment.cs" />
<Compile Include="Paths\SvgClosePathSegment.cs" />
<Compile Include="Paths\SvgClosePathSegment.cs" />
<Compile Include="Paths\SvgCubicCurveSegment.cs" />
<Compile Include="Paths\SvgCubicCurveSegment.cs" />
...
...
SvgElement.cs
View file @
c912ea85
...
@@ -216,6 +216,12 @@ namespace Svg
...
@@ -216,6 +216,12 @@ namespace Svg
}
}
}
}
/// <summary>
/// Called by the underlying <see cref="SvgElement"/> when an element has been added to the
/// <see cref="Children"/> collection.
/// </summary>
/// <param name="child">The <see cref="SvgElement"/> that has been added.</param>
/// <param name="index">An <see cref="int"/> representing the index where the element was added to the collection.</param>
protected
virtual
void
AddElement
(
SvgElement
child
,
int
index
)
protected
virtual
void
AddElement
(
SvgElement
child
,
int
index
)
{
{
}
}
...
...
Text/SvgText.cs
View file @
c912ea85
...
@@ -11,7 +11,7 @@ namespace Svg
...
@@ -11,7 +11,7 @@ namespace Svg
/// <summary>
/// <summary>
/// The <see cref="SvgText"/> element defines a graphics element consisting of text.
/// The <see cref="SvgText"/> element defines a graphics element consisting of text.
/// </summary>
/// </summary>
public
class
SvgText
:
Svg
Graphics
Element
public
class
SvgText
:
Svg
Visual
Element
{
{
private
SvgUnit
_x
;
private
SvgUnit
_x
;
private
SvgUnit
_y
;
private
SvgUnit
_y
;
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment