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
d76b19ab
Commit
d76b19ab
authored
Aug 03, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Use the gdiplus type, REAL, rather than FLOAT.
parent
c3b2258e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
gdiplus.c
dlls/gdiplus/gdiplus.c
+1
-1
gdiplus_private.h
dlls/gdiplus/gdiplus_private.h
+1
-1
pen.c
dlls/gdiplus/pen.c
+1
-1
No files found.
dlls/gdiplus/gdiplus.c
View file @
d76b19ab
...
@@ -218,7 +218,7 @@ COLORREF ARGB2COLORREF(ARGB color)
...
@@ -218,7 +218,7 @@ COLORREF ARGB2COLORREF(ARGB color)
}
}
/* Like atan2, but puts angle in correct quadrant if dx is 0. */
/* Like atan2, but puts angle in correct quadrant if dx is 0. */
FLOAT
gdiplus_atan2
(
FLOAT
dy
,
FLOAT
dx
)
REAL
gdiplus_atan2
(
REAL
dy
,
REAL
dx
)
{
{
if
((
dx
==
0
.
0
)
&&
(
dy
!=
0
.
0
))
if
((
dx
==
0
.
0
)
&&
(
dy
!=
0
.
0
))
return
dy
>
0
.
0
?
M_PI_2
:
-
M_PI_2
;
return
dy
>
0
.
0
?
M_PI_2
:
-
M_PI_2
;
...
...
dlls/gdiplus/gdiplus_private.h
View file @
d76b19ab
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
COLORREF
ARGB2COLORREF
(
ARGB
color
);
COLORREF
ARGB2COLORREF
(
ARGB
color
);
extern
INT
arc2polybezier
(
GpPointF
*
points
,
REAL
x1
,
REAL
y1
,
REAL
x2
,
REAL
y2
,
extern
INT
arc2polybezier
(
GpPointF
*
points
,
REAL
x1
,
REAL
y1
,
REAL
x2
,
REAL
y2
,
REAL
startAngle
,
REAL
sweepAngle
);
REAL
startAngle
,
REAL
sweepAngle
);
extern
FLOAT
gdiplus_atan2
(
FLOAT
dy
,
FLOAT
dx
);
extern
REAL
gdiplus_atan2
(
REAL
dy
,
REAL
dx
);
static
inline
INT
roundr
(
REAL
x
)
static
inline
INT
roundr
(
REAL
x
)
{
{
...
...
dlls/gdiplus/pen.c
View file @
d76b19ab
...
@@ -84,7 +84,7 @@ GpStatus WINGDIPAPI GdipClonePen(GpPen *pen, GpPen **clonepen)
...
@@ -84,7 +84,7 @@ GpStatus WINGDIPAPI GdipClonePen(GpPen *pen, GpPen **clonepen)
return
Ok
;
return
Ok
;
}
}
GpStatus
WINGDIPAPI
GdipCreatePen1
(
ARGB
color
,
FLOAT
width
,
GpUnit
unit
,
GpStatus
WINGDIPAPI
GdipCreatePen1
(
ARGB
color
,
REAL
width
,
GpUnit
unit
,
GpPen
**
pen
)
GpPen
**
pen
)
{
{
GpPen
*
gp_pen
;
GpPen
*
gp_pen
;
...
...
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