def print_functions(s):
    """
    Define edge and point drawing functions.

    EXAMPLES::

        sage: from sage.graphs.print_graphs import print_functions
        sage: print(print_functions(''))
        /point %% input: x y
        { moveto
          gsave
          currentpoint translate
          0 0 2 0 360 arc
          fill
          grestore
          } def
        /edge %% input: x1 y1 x2 y2
        { moveto
          lineto
          stroke
          } def

    """
    s +=  "/point %% input: x y\n"
    s += "{ moveto\n"
    s +=  "  gsave\n"
    s +=  "  currentpoint translate\n"
    s += "  0 0 2 0 360 arc\n"
    s += "  fill\n"
    s += "  grestore\n"
    s += "  } def\n\n\n"
    s += "/edge %% input: x1 y1 x2 y2\n"
    s += "{ moveto\n"
    s += "  lineto\n"
    s += "  stroke\n"
    s += "  } def\n\n"

    return s