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
3dd5ce78
Commit
3dd5ce78
authored
May 13, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
May 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Add a trace to GdipDrawString.
parent
82f22bba
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
gdiplus.c
dlls/gdiplus/gdiplus.c
+6
-0
gdiplus_private.h
dlls/gdiplus/gdiplus_private.h
+2
-0
graphics.c
dlls/gdiplus/graphics.c
+3
-0
No files found.
dlls/gdiplus/gdiplus.c
View file @
3dd5ce78
...
...
@@ -380,3 +380,9 @@ inline void delete_element(region_element* element)
break
;
}
}
const
char
*
debugstr_rectf
(
CONST
RectF
*
rc
)
{
if
(
!
rc
)
return
"(null)"
;
return
wine_dbg_sprintf
(
"(%0.2f,%0.2f,%0.2f,%0.2f)"
,
rc
->
X
,
rc
->
Y
,
rc
->
Width
,
rc
->
Height
);
}
dlls/gdiplus/gdiplus_private.h
View file @
3dd5ce78
...
...
@@ -69,6 +69,8 @@ static inline REAL deg2rad(REAL degrees)
return
M_PI
*
degrees
/
180
.
0
;
}
extern
const
char
*
debugstr_rectf
(
CONST
RectF
*
rc
);
struct
GpPen
{
UINT
style
;
GpUnit
unit
;
...
...
dlls/gdiplus/graphics.c
View file @
3dd5ce78
...
...
@@ -2016,6 +2016,9 @@ GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string
SIZE
size
;
RECT
drawcoord
;
TRACE
(
"(%p, %s, %i, %p, %s, %p, %p)
\n
"
,
graphics
,
debugstr_wn
(
string
,
length
),
length
,
font
,
debugstr_rectf
(
rect
),
format
,
brush
);
if
(
!
graphics
||
!
string
||
!
font
||
!
brush
||
!
rect
)
return
InvalidParameter
;
...
...
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