mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
aspect ratio of the image is preserved when the image is scaled.
(Thanks to px268 for the code)
This commit is contained in:
@ -45,7 +45,9 @@ private:
|
||||
Gdiplus::Bitmap* m_Bitmap; // The bitmap
|
||||
std::wstring m_ImageName; // Name of the image
|
||||
std::wstring m_Path;
|
||||
bool m_DimensionsDefined;
|
||||
bool m_WidthDefined;
|
||||
bool m_HeightDefined;
|
||||
bool m_PreserveAspectRatio; // If true, aspect ratio of the image is preserved when the image is scaled
|
||||
HGLOBAL m_hBuffer;
|
||||
FILETIME m_Modified;
|
||||
};
|
||||
|
Reference in New Issue
Block a user