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
56973e7e
Commit
56973e7e
authored
Oct 02, 2014
by
tebjan
Browse files
Merge branch 'master' of github.com:vvvv/SVG
parents
4898799d
28f1088a
Changes
2
Show whitespace changes
Inline
Side-by-side
Source/Rendering/ISvgRenderer.cs
View file @
56973e7e
...
@@ -15,12 +15,12 @@ namespace Svg
...
@@ -15,12 +15,12 @@ namespace Svg
ISvgBoundable
GetBoundable
();
ISvgBoundable
GetBoundable
();
Region
GetClip
();
Region
GetClip
();
ISvgBoundable
PopBoundable
();
ISvgBoundable
PopBoundable
();
void
RotateTransform
(
float
fAngle
,
MatrixOrder
order
=
MatrixOrder
.
Pre
pend
);
void
RotateTransform
(
float
fAngle
,
MatrixOrder
order
=
MatrixOrder
.
Ap
pend
);
void
ScaleTransform
(
float
sx
,
float
sy
,
MatrixOrder
order
=
MatrixOrder
.
Pre
pend
);
void
ScaleTransform
(
float
sx
,
float
sy
,
MatrixOrder
order
=
MatrixOrder
.
Ap
pend
);
void
SetBoundable
(
ISvgBoundable
boundable
);
void
SetBoundable
(
ISvgBoundable
boundable
);
void
SetClip
(
Region
region
,
CombineMode
combineMode
=
CombineMode
.
Replace
);
void
SetClip
(
Region
region
,
CombineMode
combineMode
=
CombineMode
.
Replace
);
SmoothingMode
SmoothingMode
{
get
;
set
;
}
SmoothingMode
SmoothingMode
{
get
;
set
;
}
Matrix
Transform
{
get
;
set
;
}
Matrix
Transform
{
get
;
set
;
}
void
TranslateTransform
(
float
dx
,
float
dy
,
MatrixOrder
order
=
MatrixOrder
.
Pre
pend
);
void
TranslateTransform
(
float
dx
,
float
dy
,
MatrixOrder
order
=
MatrixOrder
.
Ap
pend
);
}
}
}
}
Source/Rendering/SvgRenderer.cs
View file @
56973e7e
...
@@ -62,11 +62,11 @@ namespace Svg
...
@@ -62,11 +62,11 @@ namespace Svg
{
{
return
this
.
_innerGraphics
.
Clip
;
return
this
.
_innerGraphics
.
Clip
;
}
}
public
void
RotateTransform
(
float
fAngle
,
MatrixOrder
order
)
public
void
RotateTransform
(
float
fAngle
,
MatrixOrder
order
=
MatrixOrder
.
Append
)
{
{
this
.
_innerGraphics
.
RotateTransform
(
fAngle
,
order
);
this
.
_innerGraphics
.
RotateTransform
(
fAngle
,
order
);
}
}
public
void
ScaleTransform
(
float
sx
,
float
sy
,
MatrixOrder
order
)
public
void
ScaleTransform
(
float
sx
,
float
sy
,
MatrixOrder
order
=
MatrixOrder
.
Append
)
{
{
this
.
_innerGraphics
.
ScaleTransform
(
sx
,
sy
,
order
);
this
.
_innerGraphics
.
ScaleTransform
(
sx
,
sy
,
order
);
}
}
...
@@ -74,7 +74,7 @@ namespace Svg
...
@@ -74,7 +74,7 @@ namespace Svg
{
{
this
.
_innerGraphics
.
SetClip
(
region
,
combineMode
);
this
.
_innerGraphics
.
SetClip
(
region
,
combineMode
);
}
}
public
void
TranslateTransform
(
float
dx
,
float
dy
,
MatrixOrder
order
)
public
void
TranslateTransform
(
float
dx
,
float
dy
,
MatrixOrder
order
=
MatrixOrder
.
Append
)
{
{
this
.
_innerGraphics
.
TranslateTransform
(
dx
,
dy
,
order
);
this
.
_innerGraphics
.
TranslateTransform
(
dx
,
dy
,
order
);
}
}
...
...
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