[SDK][INCLUDE] Implement Gdiplus::Pen (#2207)
[reactos.git] / sdk / include / psdk / gdiplusheaders.h
index eb13974..4c464d5 100644 (file)
@@ -1437,6 +1437,13 @@ class CustomLineCap : public GdiplusBase
     CustomLineCap(const CustomLineCap &);
     CustomLineCap &
     operator=(const CustomLineCap &);
+
+    // get native
+    friend inline GpCustomLineCap *&
+    getNat(const CustomLineCap *cap)
+    {
+        return const_cast<CustomLineCap *>(cap)->nativeCap;
+    }
 };
 
 inline TextureBrush::TextureBrush(Image *image, WrapMode wrapMode, const RectF &dstRect)