FreeRDP
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:393
GDI_BRUSH
Definition:
include/freerdp/gdi/gdi.h:439
GDI_DC
Definition:
include/freerdp/gdi/gdi.h:459
libfreerdp
gdi
brush.h
Generated by
1.9.1