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
3f32083e
Commit
3f32083e
authored
Aug 15, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Aug 16, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Handle StringFormatFlagsNoWrap in GdipDrawString.
parent
92aa57be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
graphics.c
dlls/gdiplus/graphics.c
+8
-3
No files found.
dlls/gdiplus/graphics.c
View file @
3f32083e
...
...
@@ -1289,13 +1289,14 @@ GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string
if
(
!
graphics
||
!
string
||
!
font
||
!
brush
||
!
rect
)
return
InvalidParameter
;
if
(
format
||
(
brush
->
bt
!=
BrushTypeSolidColor
)){
if
((
brush
->
bt
!=
BrushTypeSolidColor
)){
FIXME
(
"not implemented for given parameters
\n
"
);
if
(
format
)
TRACE
(
"format attr is %d
\n
"
,
format
->
attr
);
return
NotImplemented
;
}
if
(
format
)
TRACE
(
"may be ignoring some format flags: attr %x
\n
"
,
format
->
attr
);
if
(
length
==
-
1
)
length
=
lstrlenW
(
string
);
stringdup
=
GdipAlloc
(
length
*
sizeof
(
WCHAR
));
...
...
@@ -1402,6 +1403,10 @@ GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string
if
(
height
>
roundr
(
rect
->
Height
*
rel_height
))
break
;
/* Stop if this was a linewrap (but not if it was a linebreak). */
if
((
lret
==
fitcpy
)
&&
format
&&
(
format
->
attr
&
StringFormatFlagsNoWrap
))
break
;
}
DeleteObject
(
rgn
);
...
...
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