Add grid line functionality.

Change-Id: I37fa8ad7f752b4d125c6f8984b76a41e81762dd4
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>