combined if statements for verifying non-default fill-rule