FreeRDP
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Functions
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
Functions
a
c
d
e
f
g
i
o
r
s
t
Variables
a
b
c
d
e
g
i
l
m
n
o
p
r
s
t
u
v
Files
File List
Globals
All
Typedefs
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Modules
Pages
Loading...
Searching...
No Matches
gdi/brush.h
1
22
#ifndef FREERDP_LIB_GDI_BRUSH_H
23
#define FREERDP_LIB_GDI_BRUSH_H
24
25
#include <winpr/cast.h>
26
27
#include <freerdp/api.h>
28
#include <freerdp/gdi/gdi.h>
29
30
#ifdef __cplusplus
31
extern
"C"
32
{
33
#endif
34
35
FREERDP_LOCAL
const
char
* gdi_rop_to_string(UINT32 code);
36
37
FREERDP_LOCAL
HGDI_BRUSH
gdi_CreateSolidBrush(UINT32 crColor);
38
FREERDP_LOCAL
HGDI_BRUSH
gdi_CreatePatternBrush(
HGDI_BITMAP
hbmp);
39
FREERDP_LOCAL
HGDI_BRUSH
gdi_CreateHatchBrush(
HGDI_BITMAP
hbmp);
40
41
static
INLINE UINT32 gdi_GetBrushStyle(
HGDI_DC
hdc)
42
{
43
if
(!hdc || !hdc->brush)
44
return
GDI_BS_NULL;
45
46
return
WINPR_ASSERTING_INT_CAST(UINT32, hdc->brush->style);
47
}
48
49
#ifdef __cplusplus
50
}
51
#endif
52
53
#endif
/* FREERDP_LIB_GDI_BRUSH_H */
GDI_BITMAP
Definition
include/freerdp/gdi/gdi.h:392
GDI_BRUSH
Definition
include/freerdp/gdi/gdi.h:438
GDI_DC
Definition
include/freerdp/gdi/gdi.h:458
libfreerdp
gdi
brush.h
Generated by
1.9.8