Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
25687442
Commit
25687442
authored
Apr 18, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implemented GdipVectorTransformMatrixPoints.
parent
685686aa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
1 deletion
+22
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
matrix.c
dlls/gdiplus/matrix.c
+20
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
25687442
...
...
@@ -619,7 +619,7 @@
@ stub GdipTranslateRegionI
@ stub GdipTranslateTextureTransform
@ stdcall GdipTranslateWorldTransform(ptr long long long)
@ st
ub GdipVectorTransformMatrixPoints
@ st
dcall GdipVectorTransformMatrixPoints(ptr ptr long)
@ stub GdipVectorTransformMatrixPointsI
@ stub GdipWarpPath
@ stub GdipWidenPath
...
...
dlls/gdiplus/matrix.c
View file @
25687442
...
...
@@ -281,3 +281,23 @@ GpStatus WINGDIPAPI GdipTranslateMatrix(GpMatrix *matrix, REAL offsetX,
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipVectorTransformMatrixPoints
(
GpMatrix
*
matrix
,
GpPointF
*
pts
,
INT
count
)
{
REAL
x
,
y
;
INT
i
;
if
(
!
matrix
||
!
pts
)
return
InvalidParameter
;
for
(
i
=
0
;
i
<
count
;
i
++
)
{
x
=
pts
[
i
].
X
;
y
=
pts
[
i
].
Y
;
pts
[
i
].
X
=
x
*
matrix
->
matrix
[
0
]
+
y
*
matrix
->
matrix
[
2
];
pts
[
i
].
Y
=
x
*
matrix
->
matrix
[
1
]
+
y
*
matrix
->
matrix
[
3
];
}
return
Ok
;
}
include/gdiplusflat.h
View file @
25687442
...
...
@@ -229,6 +229,7 @@ GpStatus WINGDIPAPI GdipRotateMatrix(GpMatrix*,REAL,GpMatrixOrder);
GpStatus
WINGDIPAPI
GdipScaleMatrix
(
GpMatrix
*
,
REAL
,
REAL
,
GpMatrixOrder
);
GpStatus
WINGDIPAPI
GdipSetMatrixElements
(
GpMatrix
*
,
REAL
,
REAL
,
REAL
,
REAL
,
REAL
,
REAL
);
GpStatus
WINGDIPAPI
GdipTransformMatrixPoints
(
GpMatrix
*
,
GpPointF
*
,
INT
);
GpStatus
WINGDIPAPI
GdipVectorTransformMatrixPoints
(
GpMatrix
*
,
GpPointF
*
,
INT
);
GpStatus
WINGDIPAPI
GdipTranslateMatrix
(
GpMatrix
*
,
REAL
,
REAL
,
GpMatrixOrder
);
GpStatus
WINGDIPAPI
GdipCreatePathIter
(
GpPathIterator
**
,
GpPath
*
);
...
...
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