Sets attributes of a graphics context in bulk. For each flag set in
values.mask, the corresponding field will be read from values and
set as the new value for gc. If you're only setting a few values
on gc, calling individual "setter" functions is likely more
convenient.