refactor utility code to create a mask (any format) from the path, for those
cases when we need to do that instead of the scalercontext subclass (e.g.
stroking, patheffects, etc.)

This also now keeps the LCD formats, rather than forcing those down to grayscale.

This also respects subpixel position when it requests the path from the subclass.
Note it is still up to the subclass to notice that, and potentially adjust their
hinting to respect subpixelness (e.g. hinting in Y but not X for horizontal text)



git-svn-id: http://skia.googlecode.com/svn/trunk@2153 2bbb7eff-a529-9590-31e7-b0007b416f81
1 file changed