Draw: iml scaling fixes

This commit is contained in:
Mirek Fidler 2026-04-17 15:47:47 +02:00
parent 121420beb9
commit a93b234018
4 changed files with 12 additions and 3 deletions

View file

@ -158,9 +158,9 @@ Image Downscale6x(const Image& src)
return Image(h);
}
int DPIScaleGlobal_;
double DPIScaleGlobalF_;
double IDPIScaleGlobalF_;
int DPIScaleGlobal_ = 2;
double DPIScaleGlobalF_ = 1;
double IDPIScaleGlobalF_ = 1;
void SetDPIScale(int scale)
{

View file

@ -1,5 +1,9 @@
//#BLITZ_APPROVE
#ifdef VERSION
#undef VERSION
#endif
#define IMAGE_META(k, v)
#define IMAGE_VERSION(v)
#define IMAGE_SCAN(s)

View file

@ -1,5 +1,9 @@
//#BLITZ_APPROVE
#ifdef VERSION
#undef VERSION
#endif
#define VERSION(v)
#define PREMULTIPLIED