quartz: re-work on paint/mask/fill/stroke/glyphs