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
0f42f4c5
Commit
0f42f4c5
authored
Apr 17, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implement GdipCreateMatrix3I.
parent
fd0cbca7
Hide 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
+17
-0
gdiplusflat.h
include/gdiplusflat.h
+2
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
0f42f4c5
...
...
@@ -106,7 +106,7 @@
@ stub GdipCreateLineBrushI
@ stdcall GdipCreateMatrix2(long long long long long long ptr)
@ stdcall GdipCreateMatrix3(ptr ptr ptr)
@ st
ub GdipCreateMatrix3I
@ st
dcall GdipCreateMatrix3I(ptr ptr ptr)
@ stdcall GdipCreateMatrix(ptr)
@ stdcall GdipCreateMetafileFromEmf(ptr long ptr)
@ stub GdipCreateMetafileFromFile
...
...
dlls/gdiplus/matrix.c
View file @
0f42f4c5
...
...
@@ -89,6 +89,23 @@ GpStatus WINGDIPAPI GdipCreateMatrix3(GDIPCONST GpRectF *rect,
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipCreateMatrix3I
(
GDIPCONST
GpRect
*
rect
,
GDIPCONST
GpPoint
*
pt
,
GpMatrix
**
matrix
)
{
GpRectF
rectF
;
GpPointF
ptF
;
rectF
.
X
=
(
REAL
)
rect
->
X
;
rectF
.
Y
=
(
REAL
)
rect
->
Y
;
rectF
.
Width
=
(
REAL
)
rect
->
Width
;
rectF
.
Height
=
(
REAL
)
rect
->
Height
;
ptF
.
X
=
(
REAL
)
pt
->
X
;
ptF
.
Y
=
(
REAL
)
pt
->
Y
;
return
GdipCreateMatrix3
(
&
rectF
,
&
ptF
,
matrix
);
}
GpStatus
WINGDIPAPI
GdipCloneMatrix
(
GpMatrix
*
matrix
,
GpMatrix
**
clone
)
{
if
(
!
matrix
||
!
clone
)
...
...
include/gdiplusflat.h
View file @
0f42f4c5
...
...
@@ -219,6 +219,8 @@ GpStatus WINGDIPAPI GdipCreateMatrix(GpMatrix**);
GpStatus
WINGDIPAPI
GdipCreateMatrix2
(
REAL
,
REAL
,
REAL
,
REAL
,
REAL
,
REAL
,
GpMatrix
**
);
GpStatus
WINGDIPAPI
GdipCreateMatrix3
(
GDIPCONST
GpRectF
*
,
GDIPCONST
GpPointF
*
,
GpMatrix
**
);
GpStatus
WINGDIPAPI
GdipCreateMatrix3I
(
GDIPCONST
GpRect
*
,
GDIPCONST
GpPoint
*
,
GpMatrix
**
);
GpStatus
WINGDIPAPI
GdipDeleteMatrix
(
GpMatrix
*
);
GpStatus
WINGDIPAPI
GdipGetMatrixElements
(
GDIPCONST
GpMatrix
*
,
REAL
*
);
GpStatus
WINGDIPAPI
GdipMultiplyMatrix
(
GpMatrix
*
,
GpMatrix
*
,
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