Changes cogl_rectangle to take x1, y1, x2, y2 args not x1, y1, width, height
authorRobert Bragg <robert@linux.intel.com>
Wed, 28 Jan 2009 14:47:03 +0000 (14:47 +0000)
committerRobert Bragg <robert@linux.intel.com>
Wed, 28 Jan 2009 17:20:15 +0000 (17:20 +0000)
commitef4052c18d54e6ee6cf96c2c1b3d7db81b98dc1e
tree1a4c7cdc2fde485ecd5ae842586d990a7f9f707c
parent6048a0544a3eaf8e83c6be9889b624525476cec6
Changes cogl_rectangle to take x1, y1, x2, y2 args not x1, y1, width, height

This makes it consistent with cogl_rectangle_with_{multi,}texture_coords.
Notably the reason cogl_rectangle_with_{multi,}texture_coords wasn't changed
instead is that the former approach lets you describe back facing rectangles.
(though technically you could pass negative width/height values to achieve
 this; it doesn't seem as neat.)
13 files changed:
clutter/clutter-rectangle.c
clutter/clutter-text.c
clutter/cogl/cogl-path.h
clutter/cogl/common/cogl-primitives.c
clutter/cogl/gl/cogl-primitives.c
clutter/cogl/gles/cogl-primitives.c
clutter/cogl/gles/cogl.c
clutter/pango/cogl-pango-render.c
tests/conform/test-backface-culling.c
tests/conform/test-binding-pool.c
tests/interactive/test-binding-pool.c
tests/interactive/test-cogl-offscreen.c
tests/interactive/test-paint-wrapper.c