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
9fefae61
Commit
9fefae61
authored
Sep 23, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Sep 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Avoid using CONST.
parent
1a3137fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
gdiplus.c
dlls/gdiplus/gdiplus.c
+3
-3
gdiplus_private.h
dlls/gdiplus/gdiplus_private.h
+3
-3
No files found.
dlls/gdiplus/gdiplus.c
View file @
9fefae61
...
...
@@ -374,7 +374,7 @@ REAL units_scale(GpUnit from, GpUnit to, REAL dpi)
}
/* Calculates Bezier points from cardinal spline points. */
void
calc_curve_bezier
(
CONST
GpPointF
*
pts
,
REAL
tension
,
REAL
*
x1
,
void
calc_curve_bezier
(
const
GpPointF
*
pts
,
REAL
tension
,
REAL
*
x1
,
REAL
*
y1
,
REAL
*
x2
,
REAL
*
y2
)
{
REAL
xdiff
,
ydiff
;
...
...
@@ -473,13 +473,13 @@ void delete_element(region_element* element)
}
}
const
char
*
debugstr_rectf
(
CONST
RectF
*
rc
)
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
);
}
const
char
*
debugstr_pointf
(
CONST
PointF
*
pt
)
const
char
*
debugstr_pointf
(
const
PointF
*
pt
)
{
if
(
!
pt
)
return
"(null)"
;
return
wine_dbg_sprintf
(
"(%0.2f,%0.2f)"
,
pt
->
X
,
pt
->
Y
);
...
...
dlls/gdiplus/gdiplus_private.h
View file @
9fefae61
...
...
@@ -60,7 +60,7 @@ extern GpStatus METAFILE_ReleaseDC(GpMetafile* metafile, HDC hdc) DECLSPEC_HIDDE
extern
GpStatus
METAFILE_GraphicsDeleted
(
GpMetafile
*
metafile
)
DECLSPEC_HIDDEN
;
extern
MetafileType
METAFILE_GetEmfType
(
HENHMETAFILE
hemf
)
DECLSPEC_HIDDEN
;
extern
void
calc_curve_bezier
(
CONST
GpPointF
*
pts
,
REAL
tension
,
REAL
*
x1
,
extern
void
calc_curve_bezier
(
const
GpPointF
*
pts
,
REAL
tension
,
REAL
*
x1
,
REAL
*
y1
,
REAL
*
x2
,
REAL
*
y2
)
DECLSPEC_HIDDEN
;
extern
void
calc_curve_bezier_endp
(
REAL
xend
,
REAL
yend
,
REAL
xadj
,
REAL
yadj
,
REAL
tension
,
REAL
*
x
,
REAL
*
y
)
DECLSPEC_HIDDEN
;
...
...
@@ -114,9 +114,9 @@ static inline ARGB color_over(ARGB bg, ARGB fg)
return
(
a
<<
24
)
|
(
r
<<
16
)
|
(
g
<<
8
)
|
b
;
}
extern
const
char
*
debugstr_rectf
(
CONST
RectF
*
rc
)
DECLSPEC_HIDDEN
;
extern
const
char
*
debugstr_rectf
(
const
RectF
*
rc
)
DECLSPEC_HIDDEN
;
extern
const
char
*
debugstr_pointf
(
CONST
PointF
*
pt
)
DECLSPEC_HIDDEN
;
extern
const
char
*
debugstr_pointf
(
const
PointF
*
pt
)
DECLSPEC_HIDDEN
;
extern
void
convert_32bppARGB_to_32bppPARGB
(
UINT
width
,
UINT
height
,
BYTE
*
dst_bits
,
INT
dst_stride
,
const
BYTE
*
src_bits
,
INT
src_stride
)
DECLSPEC_HIDDEN
;
...
...
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