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
a8322cb1
Commit
a8322cb1
authored
Jul 19, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Jul 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipCreateMatrix.
parent
eb478be8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletion
+20
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
matrix.c
dlls/gdiplus/matrix.c
+18
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
a8322cb1
...
...
@@ -98,7 +98,7 @@
@ stdcall GdipCreateMatrix2(long long long long long long ptr)
@ stub GdipCreateMatrix3
@ stub GdipCreateMatrix3I
@ st
ub GdipCreateMatrix
@ st
dcall GdipCreateMatrix(ptr)
@ stub GdipCreateMetafileFromEmf
@ stub GdipCreateMetafileFromFile
@ stub GdipCreateMetafileFromStream
...
...
dlls/gdiplus/matrix.c
View file @
a8322cb1
...
...
@@ -70,6 +70,24 @@ GpStatus WINGDIPAPI GdipCreateMatrix2(REAL m11, REAL m12, REAL m21, REAL m22,
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipCreateMatrix
(
GpMatrix
**
matrix
)
{
if
(
!
matrix
)
return
InvalidParameter
;
*
matrix
=
GdipAlloc
(
sizeof
(
GpMatrix
));
if
(
!*
matrix
)
return
OutOfMemory
;
(
*
matrix
)
->
matrix
[
0
]
=
1
.
0
;
(
*
matrix
)
->
matrix
[
1
]
=
0
.
0
;
(
*
matrix
)
->
matrix
[
2
]
=
0
.
0
;
(
*
matrix
)
->
matrix
[
3
]
=
1
.
0
;
(
*
matrix
)
->
matrix
[
4
]
=
0
.
0
;
(
*
matrix
)
->
matrix
[
5
]
=
0
.
0
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipDeleteMatrix
(
GpMatrix
*
matrix
)
{
if
(
!
matrix
)
...
...
include/gdiplusflat.h
View file @
a8322cb1
...
...
@@ -86,6 +86,7 @@ GpStatus WINGDIPAPI GdipSetPathFillMode(GpPath*,GpFillMode);
GpStatus
WINGDIPAPI
GdipTransformPath
(
GpPath
*
,
GpMatrix
*
);
GpStatus
WINGDIPAPI
GdipCreateMatrix2
(
REAL
,
REAL
,
REAL
,
REAL
,
REAL
,
REAL
,
GpMatrix
**
);
GpStatus
WINGDIPAPI
GdipCreateMatrix
(
GpMatrix
**
);
GpStatus
WINGDIPAPI
GdipDeleteMatrix
(
GpMatrix
*
);
GpStatus
WINGDIPAPI
GdipMultiplyMatrix
(
GpMatrix
*
,
GpMatrix
*
,
GpMatrixOrder
);
GpStatus
WINGDIPAPI
GdipRotateMatrix
(
GpMatrix
*
,
REAL
,
GpMatrixOrder
);
...
...
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