FreeRDP
gdi/brush.h
1
22
#ifndef FREERDP_LIB_GDI_BRUSH_H
23
#define FREERDP_LIB_GDI_BRUSH_H
24
25
#include <freerdp/api.h>
26
#include <freerdp/gdi/gdi.h>
27
28
#ifdef __cplusplus
29
extern
"C"
30
{
31
#endif
32
33
FREERDP_LOCAL
const
char
* gdi_rop_to_string(UINT32 code);
34
35
FREERDP_LOCAL
HGDI_BRUSH
gdi_CreateSolidBrush(UINT32 crColor);
36
FREERDP_LOCAL
HGDI_BRUSH
gdi_CreatePatternBrush(
HGDI_BITMAP
hbmp);
37
FREERDP_LOCAL
HGDI_BRUSH
gdi_CreateHatchBrush(
HGDI_BITMAP
hbmp);
38
39
static
INLINE UINT32 gdi_GetBrushStyle(
HGDI_DC
hdc)
40
{
41
if
(!hdc || !hdc->brush)
42
return
GDI_BS_NULL;
43
44
return
hdc->brush->style;
45
}
46
47
#ifdef __cplusplus
48
}
49
#endif
50
51
#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