Added wxIMAGE_OPTION_ORIGINAL_{WIDTH,HEIGHT} wxImage options.
These options allow to retrieve the original image size if the image was scaled during load. Closes #13662. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -40,6 +40,9 @@
|
||||
#define wxIMAGE_OPTION_MAX_WIDTH wxString(wxT("MaxWidth"))
|
||||
#define wxIMAGE_OPTION_MAX_HEIGHT wxString(wxT("MaxHeight"))
|
||||
|
||||
#define wxIMAGE_OPTION_ORIGINAL_WIDTH wxString(wxT("OriginalWidth"))
|
||||
#define wxIMAGE_OPTION_ORIGINAL_HEIGHT wxString(wxT("OriginalHeight"))
|
||||
|
||||
// constants used with wxIMAGE_OPTION_RESOLUTIONUNIT
|
||||
//
|
||||
// NB: don't change these values, they correspond to libjpeg constants
|
||||
|
Reference in New Issue
Block a user