Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
01ebf031
Commit
01ebf031
authored
Apr 15, 2013
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Inverted Y display axis while using Cairo-based rendering backend.
parent
820e6e5e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cairo_gal.cpp
common/gal/cairo/cairo_gal.cpp
+2
-2
No files found.
common/gal/cairo/cairo_gal.cpp
View file @
01ebf031
...
...
@@ -786,11 +786,11 @@ void CAIRO_GAL::ComputeWorldScreenMatrix()
MATRIX3x3D
translation
;
translation
.
SetIdentity
();
translation
.
SetTranslation
(
0.5
*
VECTOR2D
(
screenSize
.
x
,
screenSize
.
y
)
);
translation
.
SetTranslation
(
0.5
*
screenSize
);
MATRIX3x3D
scale
;
scale
.
SetIdentity
();
scale
.
SetScale
(
VECTOR2D
(
worldScale
,
-
worldScale
)
);
scale
.
SetScale
(
VECTOR2D
(
worldScale
,
worldScale
)
);
MATRIX3x3D
lookat
;
lookat
.
SetIdentity
();
...
...
Write
Preview
Markdown
is supported
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