static bool _scaledRleRGBAImage(SwSurface* surface, const SwImage* image, const Matrix* transform, const SwBBox& region, uint32_t opacity)
{
Matrix itransform;
+
if (transform && !mathInverse(transform, &itransform)) return false;
+ else mathIdentity(&itransform);
auto halfScale = _halfScale(image->scale);
static bool _scaledRGBAImage(SwSurface* surface, const SwImage* image, const Matrix* transform, const SwBBox& region, uint32_t opacity)
{
Matrix itransform;
+
if (transform && !mathInverse(transform, &itransform)) return false;
+ else mathIdentity(&itransform);
auto halfScale = _halfScale(image->scale);