[SDK][INCLUDE] Improve gdiplusgraphics.h (#2222)

CORE-16585
This commit is contained in:
Katayama Hirofumi MZ 2020-01-01 19:10:47 +09:00 committed by GitHub
parent 91f3c8f81a
commit 265a890d7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 81 additions and 45 deletions

View file

@ -211,6 +211,13 @@ class StringFormat : public GdiplusBase
lastStatus = status;
return status;
}
// get native
friend inline GpStringFormat *&
getNat(const StringFormat *sf)
{
return const_cast<StringFormat *>(sf)->nativeFormat;
}
};
#endif /* _GDIPLUSSTRINGFORMAT_H */