drawing quads with api