Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f649c9d2
Commit
f649c9d2
authored
Apr 19, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implemented GdipVectorTransformMatrixPointsI.
parent
9462190b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
1 deletion
+29
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
matrix.c
dlls/gdiplus/matrix.c
+27
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
f649c9d2
...
...
@@ -620,7 +620,7 @@
@ stub GdipTranslateTextureTransform
@ stdcall GdipTranslateWorldTransform(ptr long long long)
@ stdcall GdipVectorTransformMatrixPoints(ptr ptr long)
@ st
ub GdipVectorTransformMatrixPointsI
@ st
dcall GdipVectorTransformMatrixPointsI(ptr ptr long)
@ stub GdipWarpPath
@ stub GdipWidenPath
@ stub GdipWindingModeOutline
...
...
dlls/gdiplus/matrix.c
View file @
f649c9d2
...
...
@@ -301,3 +301,30 @@ GpStatus WINGDIPAPI GdipVectorTransformMatrixPoints(GpMatrix *matrix, GpPointF *
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipVectorTransformMatrixPointsI
(
GpMatrix
*
matrix
,
GpPoint
*
pts
,
INT
count
)
{
GpPointF
*
ptsF
;
GpStatus
ret
;
INT
i
;
ptsF
=
GdipAlloc
(
sizeof
(
GpPointF
)
*
count
);
if
(
!
ptsF
)
return
OutOfMemory
;
for
(
i
=
0
;
i
<
count
;
i
++
){
ptsF
[
i
].
X
=
(
REAL
)
pts
[
i
].
X
;
ptsF
[
i
].
Y
=
(
REAL
)
pts
[
i
].
Y
;
}
ret
=
GdipVectorTransformMatrixPoints
(
matrix
,
ptsF
,
count
);
/* store back */
if
(
ret
==
Ok
)
for
(
i
=
0
;
i
<
count
;
i
++
){
pts
[
i
].
X
=
roundr
(
ptsF
[
i
].
X
);
pts
[
i
].
Y
=
roundr
(
ptsF
[
i
].
Y
);
}
GdipFree
(
ptsF
);
return
ret
;
}
include/gdiplusflat.h
View file @
f649c9d2
...
...
@@ -230,6 +230,7 @@ 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
GdipVectorTransformMatrixPointsI
(
GpMatrix
*
,
GpPoint
*
,
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