Exemplo n.º 1
0
 def px_to_pt(self, points):
     """Mapping :function:`px_to_pt` from :mod:`sdgen.lib.helpers`.
     
     Result of this method can be modified by setting antialiasing decorator
     on class.
     """
     return helpers.px_to_pt(points)
Exemplo n.º 2
0
    def px_to_pt(self, points):
        """
        Converts pixels to points.

        .. deprecated:: 0.0.3
            Use :func:`helpers.px_to_pt` directly instead.
        """
        return helpers.px_to_pt(points)