Both this and DrawQuad can be nonmember nonfriend functions in the same namespace.