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
b07559d6
Unverified
Commit
b07559d6
authored
Dec 21, 2018
by
mrbean-bremen
Browse files
Fixed copy and paste error in unit rendering type
- found by @Seairth - fixes #108
parent
7cc144a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/Document Structure/SvgFragment.cs
View file @
b07559d6
...
...
@@ -174,7 +174,7 @@ namespace Svg
{
var
size
=
(
this
.
Parent
==
null
?
renderer
.
GetBoundable
().
Bounds
.
Size
:
GetDimensions
());
var
clip
=
new
RectangleF
(
this
.
X
.
ToDeviceValue
(
renderer
,
UnitRenderingType
.
Horizontal
,
this
),
this
.
Y
.
ToDeviceValue
(
renderer
,
UnitRenderingType
.
Horizont
al
,
this
),
this
.
Y
.
ToDeviceValue
(
renderer
,
UnitRenderingType
.
Vertic
al
,
this
),
size
.
Width
,
size
.
Height
);
renderer
.
SetClip
(
new
Region
(
clip
),
CombineMode
.
Intersect
);
base
.
Render
(
renderer
);
...
...
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