Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
0bea4068
Commit
0bea4068
authored
10 years ago
by
David Snipp
Browse files
Options
Download
Email Patches
Plain Diff
nicer code style
parent
799b6fea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/Painting/SvgLinearGradientServer.cs
+1
-1
Source/Painting/SvgLinearGradientServer.cs
with
1 addition
and
1 deletion
+1
-1
Source/Painting/SvgLinearGradientServer.cs
+
1
-
1
View file @
0bea4068
...
...
@@ -102,7 +102,7 @@ namespace Svg
};
var
bounds
=
renderer
.
GetBoundable
().
Bounds
;
if
(
bounds
.
Width
<=
0
||
bounds
.
Height
<=
0
||
(
points
[
0
].
X
==
points
[
1
].
X
&&
(
points
[
0
].
Y
==
points
[
1
].
Y
)))
if
(
bounds
.
Width
<=
0
||
bounds
.
Height
<=
0
||
(
(
points
[
0
].
X
==
points
[
1
].
X
)
&&
(
points
[
0
].
Y
==
points
[
1
].
Y
)))
{
if
(
this
.
GetCallback
!=
null
)
return
GetCallback
().
GetBrush
(
renderingElement
,
renderer
,
opacity
,
forStroke
);
return
null
;
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help