[cairo] How to get extents of transformed graphics

Uli Schlachter psychon at znc.in
Sat Sep 17 11:51:16 UTC 2022


Am 17.09.22 um 13:47 schrieb Uli Schlachter:
[..]
> For this reason, doing any kind of transformation (besides translation) 
> on text extents is wrong
[...]

Actually, only *integer* translations (in device space). Non-integer 
translation could of course influence the result of "snapping things to 
the pixel grid" again.

-- 
"Because I'm in pain," he says. "That's the only way I get your attention."
He picks up the box. "Don't worry, Katniss. It'll pass."
He leaves before I can answer.



More information about the cairo mailing list