Only attributes whose flags are set in flAttrsMask are modified. They are set to the value specified by pAttrs.
When this function occurs within a path bracket, it must not be used to set the geometric line width for line attributes. In addition, it must not be used to set the foreground and background colors and mixes for character and marker attributes.