ReactOS 0.4.15-dev-7942-gd23573b
AdjustableArrowCap Class Reference

#include <gdipluslinecaps.h>

Inheritance diagram for AdjustableArrowCap:
Collaboration diagram for AdjustableArrowCap:

Public Member Functions

 AdjustableArrowCap (REAL height, REAL width, BOOL isFilled)
 
REAL GetHeight ()
 
REAL GetMiddleInset ()
 
REAL GetWidth ()
 
BOOL IsFilled ()
 
Status SetFillState (BOOL isFilled)
 
Status SetHeight (REAL height)
 
Status SetMiddleInset (REAL middleInset)
 
Status SetWidth (REAL width)
 
- Public Member Functions inherited from CustomLineCap
 CustomLineCap (const GraphicsPath *fillPath, const GraphicsPath *strokePath, LineCap baseCap, REAL baseInset=0)
 
 ~CustomLineCap ()
 
CustomLineCapClone ()
 
LineCap GetBaseCap ()
 
REAL GetBaseInset ()
 
Status GetLastStatus ()
 
Status GetStrokeCaps (LineCap *startCap, LineCap *endCap)
 
LineJoin GetStrokeJoin ()
 
REAL GetWidthScale ()
 
Status SetBaseCap (LineCap baseCap)
 
Status SetBaseInset (REAL inset)
 
Status SetStrokeCap (LineCap strokeCap)
 
Status SetStrokeCaps (LineCap startCap, LineCap endCap)
 
Status SetStrokeJoin (LineJoin lineJoin)
 
Status SetWidthScale (IN REAL widthScale)
 
- Public Member Functions inherited from GdiplusBase
void operator delete (void *in_pVoid)
 
void operator delete[] (void *in_pVoid)
 
voidoperator new (size_t in_size)
 
voidoperator new[] (size_t in_size)
 

Protected Member Functions

GpAdjustableArrowCapGetNativeAdjustableArrowCap () const
 
- Protected Member Functions inherited from CustomLineCap
 CustomLineCap ()
 
 CustomLineCap (GpCustomLineCap *cap, Status status)
 
void SetNativeCap (GpCustomLineCap *cap)
 
Status SetStatus (Status status) const
 

Private Member Functions

 AdjustableArrowCap (const AdjustableArrowCap &)
 
AdjustableArrowCapoperator= (const AdjustableArrowCap &)
 

Additional Inherited Members

- Protected Attributes inherited from CustomLineCap
GpCustomLineCapnativeCap
 
Status lastStatus
 

Detailed Description

Definition at line 141 of file gdipluslinecaps.h.

Constructor & Destructor Documentation

◆ AdjustableArrowCap() [1/2]

AdjustableArrowCap::AdjustableArrowCap ( REAL  height,
REAL  width,
BOOL  isFilled 
)
inline

Definition at line 144 of file gdipluslinecaps.h.

145 {
147 lastStatus = DllExports::GdipCreateAdjustableArrowCap(height, width, isFilled, &cap);
149 }
void SetNativeCap(GpCustomLineCap *cap)
#define NULL
Definition: types.h:112
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLsizei width
Definition: gl.h:1546
GLenum cap
Definition: glext.h:9639

◆ AdjustableArrowCap() [2/2]

AdjustableArrowCap::AdjustableArrowCap ( const AdjustableArrowCap )
private

Member Function Documentation

◆ GetHeight()

REAL AdjustableArrowCap::GetHeight ( )
inline

Definition at line 152 of file gdipluslinecaps.h.

153 {
154 REAL height;
156 SetStatus(DllExports::GdipGetAdjustableArrowCapHeight(cap, &height));
157 return height;
158 }
GpAdjustableArrowCap * GetNativeAdjustableArrowCap() const
Status SetStatus(Status status) const
float REAL
Definition: types.h:41

◆ GetMiddleInset()

REAL AdjustableArrowCap::GetMiddleInset ( )
inline

Definition at line 161 of file gdipluslinecaps.h.

162 {
164 REAL middleInset;
165 SetStatus(DllExports::GdipGetAdjustableArrowCapMiddleInset(cap, &middleInset));
166 return middleInset;
167 }

◆ GetNativeAdjustableArrowCap()

GpAdjustableArrowCap * AdjustableArrowCap::GetNativeAdjustableArrowCap ( ) const
inlineprotected

Definition at line 217 of file gdipluslinecaps.h.

218 {
219 return static_cast<GpAdjustableArrowCap *>(nativeCap);
220 }
GpCustomLineCap * nativeCap

Referenced by GetHeight(), GetMiddleInset(), GetWidth(), IsFilled(), SetFillState(), SetHeight(), SetMiddleInset(), and SetWidth().

◆ GetWidth()

REAL AdjustableArrowCap::GetWidth ( )
inline

Definition at line 170 of file gdipluslinecaps.h.

171 {
173 REAL width;
174 SetStatus(DllExports::GdipGetAdjustableArrowCapWidth(cap, &width));
175 return width;
176 }

◆ IsFilled()

BOOL AdjustableArrowCap::IsFilled ( )
inline

Definition at line 179 of file gdipluslinecaps.h.

180 {
182 BOOL isFilled;
183 SetStatus(DllExports::GdipGetAdjustableArrowCapFillState(cap, &isFilled));
184 return isFilled;
185 }
unsigned int BOOL
Definition: ntddk_ex.h:94

◆ operator=()

AdjustableArrowCap & AdjustableArrowCap::operator= ( const AdjustableArrowCap )
private

◆ SetFillState()

Status AdjustableArrowCap::SetFillState ( BOOL  isFilled)
inline

Definition at line 188 of file gdipluslinecaps.h.

189 {
191 return SetStatus(DllExports::GdipSetAdjustableArrowCapFillState(cap, isFilled));
192 }

◆ SetHeight()

Status AdjustableArrowCap::SetHeight ( REAL  height)
inline

Definition at line 195 of file gdipluslinecaps.h.

196 {
198 return SetStatus(DllExports::GdipSetAdjustableArrowCapHeight(cap, height));
199 }

◆ SetMiddleInset()

Status AdjustableArrowCap::SetMiddleInset ( REAL  middleInset)
inline

Definition at line 202 of file gdipluslinecaps.h.

203 {
205 return SetStatus(DllExports::GdipSetAdjustableArrowCapMiddleInset(cap, middleInset));
206 }

◆ SetWidth()

Status AdjustableArrowCap::SetWidth ( REAL  width)
inline

Definition at line 209 of file gdipluslinecaps.h.

210 {
212 return SetStatus(DllExports::GdipSetAdjustableArrowCapWidth(cap, width));
213 }

The documentation for this class was generated from the following file: