Function point

Convenience function to create a Point!int or Point!double.

Prototype

auto point(T)(
  T x,
  T y
)
if (is(T == int) || is(T == double));

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