#include <gdiplusbrush.h>
Definition at line 103 of file gdiplusbrush.h.
◆ HatchBrush() [1/2]
Definition at line 108 of file gdiplusbrush.h.
109 {
111 lastStatus = DllExports::GdipCreateHatchBrush(hatchStyle, foreColor.GetValue(), backColor.GetValue(), &brush);
113 }
void SetNativeBrush(GpBrush *brush)
◆ HatchBrush() [2/2]
HatchBrush::HatchBrush |
( |
| ) |
|
|
inlineprotected |
◆ GetBackgroundColor()
Status HatchBrush::GetBackgroundColor |
( |
Color * |
color | ) |
const |
|
inline |
Definition at line 116 of file gdiplusbrush.h.
117 {
120
123 SetStatus(DllExports::GdipGetHatchBackgroundColor(hatch, &argb));
124
125 color->SetValue(argb);
127 }
Status SetStatus(Status status) const
GpHatch * GetNativeHatch() const
◆ GetForegroundColor()
Status HatchBrush::GetForegroundColor |
( |
Color * |
color | ) |
const |
|
inline |
Definition at line 130 of file gdiplusbrush.h.
131 {
134
137 SetStatus(DllExports::GdipGetHatchForegroundColor(hatch, &argb));
138
139 color->SetValue(argb);
141 }
◆ GetHatchStyle()
Definition at line 144 of file gdiplusbrush.h.
145 {
148 SetStatus(DllExports::GdipGetHatchStyle(hatch, &hatchStyle));
149 return hatchStyle;
150 }
◆ GetNativeHatch()
GpHatch * HatchBrush::GetNativeHatch |
( |
| ) |
const |
|
inlineprotected |
◆ Pen
The documentation for this class was generated from the following file: