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
6ba525d8
Commit
6ba525d8
authored
Apr 16, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implement GdipCloneStringFormat.
parent
04b820c3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletion
+17
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
stringformat.c
dlls/gdiplus/stringformat.c
+15
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
6ba525d8
...
...
@@ -58,7 +58,7 @@
@ stdcall GdipClonePath(ptr ptr)
@ stdcall GdipClonePen(ptr ptr)
@ stub GdipCloneRegion
@ st
ub GdipCloneStringFormat
@ st
dcall GdipCloneStringFormat(ptr ptr)
@ stdcall GdipClosePathFigure(ptr)
@ stdcall GdipClosePathFigures(ptr)
@ stub GdipCombineRegionPath
...
...
dlls/gdiplus/stringformat.c
View file @
6ba525d8
...
...
@@ -152,3 +152,18 @@ GpStatus WINGDIPAPI GdipSetStringFormatFlags(GDIPCONST GpStringFormat *format, I
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipCloneStringFormat
(
GDIPCONST
GpStringFormat
*
format
,
GpStringFormat
**
newFormat
)
{
if
(
!
format
||
!
newFormat
)
return
InvalidParameter
;
*
newFormat
=
GdipAlloc
(
sizeof
(
GpStringFormat
));
if
(
!*
newFormat
)
return
OutOfMemory
;
**
newFormat
=
*
format
;
TRACE
(
"%p %p
\n
"
,
format
,
newFormat
);
return
Ok
;
}
include/gdiplusflat.h
View file @
6ba525d8
...
...
@@ -316,6 +316,7 @@ GpStatus WINGDIPAPI GdipSetStringFormatAlign(GpStringFormat*,StringAlignment);
GpStatus
WINGDIPAPI
GdipSetStringFormatHotkeyPrefix
(
GpStringFormat
*
,
INT
);
GpStatus
WINGDIPAPI
GdipSetStringFormatLineAlign
(
GpStringFormat
*
,
StringAlignment
);
GpStatus
WINGDIPAPI
GdipSetStringFormatTrimming
(
GpStringFormat
*
,
StringTrimming
);
GpStatus
WINGDIPAPI
GdipCloneStringFormat
(
GDIPCONST
GpStringFormat
*
,
GpStringFormat
**
);
#ifdef __cplusplus
}
...
...
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