ReactOS  0.4.15-dev-309-g7c8d563
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  {
148  SetNativeCap(cap);
149  }
GLint GLint GLsizei width
Definition: gl.h:1546
GLenum cap
Definition: glext.h:9639
smooth NULL
Definition: ftsmooth.c:416
void SetNativeCap(GpCustomLineCap *cap)
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GpStatus WINGDIPAPI GdipCreateAdjustableArrowCap(REAL height, REAL width, BOOL fill, GpAdjustableArrowCap **cap)

◆ 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;
157  return height;
158  }
Status SetStatus(Status status) const
GLenum cap
Definition: glext.h:9639
GpStatus WINGDIPAPI GdipGetAdjustableArrowCapHeight(GpAdjustableArrowCap *cap, REAL *height)
GpAdjustableArrowCap * GetNativeAdjustableArrowCap() const
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
float REAL
Definition: types.h:41

◆ GetMiddleInset()

REAL AdjustableArrowCap::GetMiddleInset ( )
inline

Definition at line 161 of file gdipluslinecaps.h.

162  {
164  REAL middleInset;
166  return middleInset;
167  }
Status SetStatus(Status status) const
GLenum cap
Definition: glext.h:9639
GpAdjustableArrowCap * GetNativeAdjustableArrowCap() const
GpStatus WINGDIPAPI GdipGetAdjustableArrowCapMiddleInset(GpAdjustableArrowCap *cap, REAL *middle)
float REAL
Definition: types.h:41

◆ 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;
175  return width;
176  }
GLint GLint GLsizei width
Definition: gl.h:1546
GpStatus WINGDIPAPI GdipGetAdjustableArrowCapWidth(GpAdjustableArrowCap *cap, REAL *width)
Status SetStatus(Status status) const
GLenum cap
Definition: glext.h:9639
GpAdjustableArrowCap * GetNativeAdjustableArrowCap() const
float REAL
Definition: types.h:41

◆ IsFilled()

BOOL AdjustableArrowCap::IsFilled ( )
inline

Definition at line 179 of file gdipluslinecaps.h.

180  {
182  BOOL isFilled;
184  return isFilled;
185  }
Status SetStatus(Status status) const
GLenum cap
Definition: glext.h:9639
unsigned int BOOL
Definition: ntddk_ex.h:94
GpAdjustableArrowCap * GetNativeAdjustableArrowCap() const
GpStatus WINGDIPAPI GdipGetAdjustableArrowCapFillState(GpAdjustableArrowCap *cap, BOOL *fill)

◆ operator=()

◆ SetFillState()

Status AdjustableArrowCap::SetFillState ( BOOL  isFilled)
inline

Definition at line 188 of file gdipluslinecaps.h.

189  {
192  }
Status SetStatus(Status status) const
GLenum cap
Definition: glext.h:9639
GpStatus WINGDIPAPI GdipSetAdjustableArrowCapFillState(GpAdjustableArrowCap *cap, BOOL fill)
GpAdjustableArrowCap * GetNativeAdjustableArrowCap() const

◆ SetHeight()

Status AdjustableArrowCap::SetHeight ( REAL  height)
inline

Definition at line 195 of file gdipluslinecaps.h.

196  {
199  }
Status SetStatus(Status status) const
GLenum cap
Definition: glext.h:9639
GpStatus WINGDIPAPI GdipSetAdjustableArrowCapHeight(GpAdjustableArrowCap *cap, REAL height)
GpAdjustableArrowCap * GetNativeAdjustableArrowCap() const
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546

◆ SetMiddleInset()

Status AdjustableArrowCap::SetMiddleInset ( REAL  middleInset)
inline

Definition at line 202 of file gdipluslinecaps.h.

203  {
206  }
Status SetStatus(Status status) const
GLenum cap
Definition: glext.h:9639
GpAdjustableArrowCap * GetNativeAdjustableArrowCap() const
GpStatus WINGDIPAPI GdipSetAdjustableArrowCapMiddleInset(GpAdjustableArrowCap *cap, REAL middle)

◆ SetWidth()

Status AdjustableArrowCap::SetWidth ( REAL  width)
inline

Definition at line 209 of file gdipluslinecaps.h.

210  {
213  }
GLint GLint GLsizei width
Definition: gl.h:1546
Status SetStatus(Status status) const
GLenum cap
Definition: glext.h:9639
GpStatus WINGDIPAPI GdipSetAdjustableArrowCapWidth(GpAdjustableArrowCap *cap, REAL width)
GpAdjustableArrowCap * GetNativeAdjustableArrowCap() const

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