Template:PL/Drawing functions