#include <pathtype.h>
Public Member Functions | |
PathFlags () | |
Path Flags Constructor. This sets all the path flags to FALSE ready for use. | |
INT32 | operator== (const PathFlags &) |
INT32 | operator!= (const PathFlags &) |
Public Attributes | |
BYTE | IsSelected: 1 |
BYTE | IsSmooth: 1 |
BYTE | IsRotate: 1 |
BYTE | NeedToRender: 1 |
BYTE | IsEndPoint: 1 |
BYTE | Spare1: 1 |
BYTE | Spare2: 1 |
BYTE | Spare3: 1 |
Definition at line 129 of file pathtype.h.
|
Path Flags Constructor. This sets all the path flags to FALSE ready for use.
Definition at line 151 of file paths.cpp. 00152 { 00153 IsSelected = FALSE; 00154 00155 // Flags to aid with the smoothing of curves 00156 IsSmooth = FALSE; 00157 IsRotate = FALSE; 00158 00159 // Flags that help with the EORed rendering as the path is edited 00160 NeedToRender = FALSE; 00161 00162 // All Endpoints in the path have this flag set 00163 IsEndPoint = FALSE; 00164 00165 // May as well use up the spare bits in this byte for the future 00166 Spare1 = FALSE; 00167 Spare2 = FALSE; 00168 Spare3 = FALSE; 00169 }
|
|
Definition at line 171 of file pathtype.h. 00172 { 00173 if ((IsSelected != rhs.IsSelected) || 00174 (IsSmooth != rhs.IsSmooth) || 00175 (IsRotate != rhs.IsRotate) || 00176 (NeedToRender != rhs.NeedToRender) || 00177 (IsEndPoint != rhs.IsEndPoint) || 00178 (Spare1 != rhs.Spare1) || 00179 (Spare2 != rhs.Spare2) || 00180 (Spare3 != rhs.Spare2) 00181 ) 00182 return 1; 00183 else 00184 return 0; 00185 00186 }
|
|
Definition at line 154 of file pathtype.h. 00155 { 00156 if ((IsSelected == rhs.IsSelected) && 00157 (IsSmooth == rhs.IsSmooth) && 00158 (IsRotate == rhs.IsRotate) && 00159 (NeedToRender == rhs.NeedToRender) && 00160 (IsEndPoint == rhs.IsEndPoint) && 00161 (Spare1 == rhs.Spare1) && 00162 (Spare2 == rhs.Spare2) && 00163 (Spare3 == rhs.Spare2) 00164 ) 00165 return 1; 00166 else 00167 return 0; 00168 00169 }
|
|
Definition at line 144 of file pathtype.h. |
|
Definition at line 138 of file pathtype.h. |
|
Definition at line 134 of file pathtype.h. |
|
Definition at line 137 of file pathtype.h. |
|
Definition at line 141 of file pathtype.h. |
|
Definition at line 147 of file pathtype.h. |
|
Definition at line 148 of file pathtype.h. |
|
Definition at line 149 of file pathtype.h. |