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
ad251e7f
Commit
ad251e7f
authored
Jul 31, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Aug 01, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipSetMatrixElements.
parent
dd5e9a91
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
1 deletion
+18
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
matrix.c
dlls/gdiplus/matrix.c
+16
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
ad251e7f
...
...
@@ -543,7 +543,7 @@
@ stub GdipSetLineSigmaBlend
@ stub GdipSetLineTransform
@ stub GdipSetLineWrapMode
@ st
ub GdipSetMatrixElements
@ st
dcall GdipSetMatrixElements(ptr long long long long long long)
@ stub GdipSetMetafileDownLevelRasterizationLimit
@ stdcall GdipSetPageScale(ptr long)
@ stdcall GdipSetPageUnit(ptr long)
...
...
dlls/gdiplus/matrix.c
View file @
ad251e7f
...
...
@@ -186,6 +186,22 @@ GpStatus WINGDIPAPI GdipScaleMatrix(GpMatrix *matrix, REAL scaleX, REAL scaleY,
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetMatrixElements
(
GpMatrix
*
matrix
,
REAL
m11
,
REAL
m12
,
REAL
m21
,
REAL
m22
,
REAL
dx
,
REAL
dy
)
{
if
(
!
matrix
)
return
InvalidParameter
;
matrix
->
matrix
[
0
]
=
m11
;
matrix
->
matrix
[
1
]
=
m12
;
matrix
->
matrix
[
2
]
=
m21
;
matrix
->
matrix
[
3
]
=
m22
;
matrix
->
matrix
[
4
]
=
dx
;
matrix
->
matrix
[
5
]
=
dy
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipTransformMatrixPoints
(
GpMatrix
*
matrix
,
GpPointF
*
pts
,
INT
count
)
{
...
...
include/gdiplusflat.h
View file @
ad251e7f
...
...
@@ -120,6 +120,7 @@ GpStatus WINGDIPAPI GdipGetMatrixElements(GDIPCONST GpMatrix*,REAL*);
GpStatus
WINGDIPAPI
GdipMultiplyMatrix
(
GpMatrix
*
,
GpMatrix
*
,
GpMatrixOrder
);
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
GdipTranslateMatrix
(
GpMatrix
*
,
REAL
,
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