Function Context.userToDevice

Transform a coordinate from user space to device space by multiplying the given point by the current transformation matrix (CTM).

Prototype

Point!(double) userToDevice(
  Point!(double) inp
);

Authors

Johannes Pfau cairoD
Andrej Mitrovic cairoD
cairo team cairo

Copyright

License

cairoD wrapper/bindings Boost License 1.0
cairo LGPL 2.1 / MPL 1.1