[SDK][INCLUDE] Refinement of Gdiplus headers (#2217)

Define getNat helper functions in gdiplusbase.h and use them. CORE-16585
This commit is contained in:
Katayama Hirofumi MZ 2020-01-01 13:53:30 +09:00 committed by GitHub
parent 9ba5594599
commit 84de8c3f25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 105 additions and 100 deletions

View file

@ -47,4 +47,53 @@ class GdiplusBase
}
};
class Brush;
class CachedBitmap;
class CustomLineCap;
class Font;
class FontCollection;
class FontFamily;
class Graphics;
class GraphicsPath;
class Image;
class ImageAttributes;
class Matrix;
class Metafile;
class Pen;
class Region;
// get native
GpBrush *&
getNat(const Brush *brush);
GpCachedBitmap *&
getNat(const CachedBitmap *cb);
GpCustomLineCap *&
getNat(const CustomLineCap *cap);
GpFontCollection *&
getNat(const FontCollection *fc);
GpGraphics *&
getNat(const Graphics *graphics);
GpPath *&
getNat(const GraphicsPath *path);
GpImage *&
getNat(const Image *image);
GpImageAttributes *&
getNat(const ImageAttributes *ia);
GpMatrix *&
getNat(const Matrix *matrix);
GpPen *&
getNat(const Pen *pen);
GpRegion *&
getNat(const Region *region);
#endif /* _GDIPLUSBASE_H */