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
510c26ac
Commit
510c26ac
authored
Apr 30, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 30, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implemented GdipMultiplyWorldTransform.
parent
93f6601d
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
graphics.c
dlls/gdiplus/graphics.c
+18
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
510c26ac
...
...
@@ -447,7 +447,7 @@
@ stub GdipMultiplyPathGradientTransform
@ stub GdipMultiplyPenTransform
@ stub GdipMultiplyTextureTransform
@ st
ub GdipMultiplyWorldTransform
@ st
dcall GdipMultiplyWorldTransform(ptr ptr long)
@ stub GdipNewInstalledFontCollection
@ stub GdipNewPrivateFontCollection
@ stdcall GdipPathIterCopyData(ptr ptr ptr ptr long long)
...
...
dlls/gdiplus/graphics.c
View file @
510c26ac
...
...
@@ -2418,3 +2418,21 @@ GpStatus WINGDIPAPI GdipGetDpiY(GpGraphics *graphics, REAL* dpi)
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipMultiplyWorldTransform
(
GpGraphics
*
graphics
,
GDIPCONST
GpMatrix
*
matrix
,
GpMatrixOrder
order
)
{
GpMatrix
m
;
GpStatus
ret
;
if
(
!
graphics
||
!
matrix
)
return
InvalidParameter
;
m
=
*
(
graphics
->
worldtrans
);
ret
=
GdipMultiplyMatrix
(
&
m
,
(
GpMatrix
*
)
matrix
,
order
);
if
(
ret
==
Ok
)
*
(
graphics
->
worldtrans
)
=
m
;
return
ret
;
}
include/gdiplusflat.h
View file @
510c26ac
...
...
@@ -243,6 +243,7 @@ GpStatus WINGDIPAPI GdipIsMatrixIdentity(GDIPCONST GpMatrix*, BOOL*);
GpStatus
WINGDIPAPI
GdipDeleteMatrix
(
GpMatrix
*
);
GpStatus
WINGDIPAPI
GdipGetMatrixElements
(
GDIPCONST
GpMatrix
*
,
REAL
*
);
GpStatus
WINGDIPAPI
GdipMultiplyMatrix
(
GpMatrix
*
,
GpMatrix
*
,
GpMatrixOrder
);
GpStatus
WINGDIPAPI
GdipMultiplyWorldTransform
(
GpGraphics
*
,
GDIPCONST
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
);
...
...
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