예제 #1
0
파일: _field.py 프로젝트: PP-TSD/sdgen
 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)
예제 #2
0
파일: _view.py 프로젝트: PP-TSD/sdgen
    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)