mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 17:01:17 +01:00
[paint] Minor skew
This commit is contained in:
1 parent
a4420479a8
commit
2accbdc0b6
1 file changed
+2
-2
+2
-2
@@ -216,8 +216,8 @@ struct hb_paint_funcs_t
|
||||
if (!sx && !sy)
|
||||
return false;
|
||||
|
||||
float x = -tanf (sx * (float) M_PI);
|
||||
float y = +tanf (sy * (float) M_PI);
|
||||
float x = tanf (-sx * (float) M_PI);
|
||||
float y = tanf (+sy * (float) M_PI);
|
||||
push_transform (paint_data, 1.f, y, x, 1.f, 0.f, 0.f);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user