[NtGDI]
authorJames Tabor <james.tabor@reactos.org>
Thu, 13 Jul 2017 17:30:15 +0000 (17:30 +0000)
committerJames Tabor <james.tabor@reactos.org>
Thu, 13 Jul 2017 17:30:15 +0000 (17:30 +0000)
- Update path structure for future use.

svn path=/trunk/; revision=75329

reactos/win32ss/gdi/ntgdi/path.h

index 7d0f816..3ea8af9 100644 (file)
@@ -20,15 +20,27 @@ typedef enum tagGdiPathState
    PATH_Closed
 } GdiPathState;
 
+// Path type flags
+#define PATHTYPE_KEEPME 1
+#define PATHTYPE_STACK  2
+
 typedef struct _PATH
 {
   BASEOBJECT   BaseObject;
-
+  //PVOID        ppachain;
   RECTFX       rcfxBoundBox;
   POINTFX      ptfxSubPathStart;
-
-  // Things to convert from:
-  DWORD        state;
+  FLONG        flType;
+  //PEXTPATHDATA ppdFirst;
+  //PEXTPATHDATA ppdLast;
+  FLONG        flags;   // PATHDATA flags.
+  //PEXTPATHDATA ppdCurrent;
+  // PATHOBJ;
+  FLONG        fl;      // Saved flags.
+  ULONG        cCurves; // Saved number of lines and Bezier.
+
+  // Wine/ReactOS Things to convert from:
+  FLONG        state;
   POINT        *pPoints;
   BYTE         *pFlags;
   int          numEntriesUsed;
@@ -39,8 +51,9 @@ typedef struct _PATH
 
 typedef struct _EPATHOBJ
 {
-  PATHOBJ po;
-  PPATH   pPath;
+  PATHOBJ  po;
+  PPATH    pPath;
+  CLIPOBJ *pco;
 } EPATHOBJ, *PEPATHOBJ;
 
 #define  PATH_AllocPath() ((PPATH) GDIOBJ_AllocObj(GDIObjType_PATH_TYPE))