app: add gimp_transform_polygon_coords()
... which is the same as gimp_transform_polygon(), but using GimpCoords for the vertices, instead of GimpVector2. Specify when the input and output arguments may alias, in the description of gimp_transform_polygon().
This commit is contained in:
@ -107,6 +107,12 @@ void gimp_transform_polygon (const GimpMatrix3 *matrix,
|
||||
gboolean closed,
|
||||
GimpVector2 *t_vertices,
|
||||
gint *n_t_vertices);
|
||||
void gimp_transform_polygon_coords (const GimpMatrix3 *matrix,
|
||||
const GimpCoords *vertices,
|
||||
gint n_vertices,
|
||||
gboolean closed,
|
||||
GimpCoords *t_vertices,
|
||||
gint *n_t_vertices);
|
||||
|
||||
|
||||
#endif /* __GIMP_TRANSFORM_UTILS_H__ */
|
||||
|
Reference in New Issue
Block a user