cogl-path: Export _cogl_path_get_bounds
authorNeil Roberts <neil@linux.intel.com>
Thu, 22 Apr 2010 13:13:52 +0000 (14:13 +0100)
committerNeil Roberts <neil@linux.intel.com>
Thu, 10 Jun 2010 20:52:54 +0000 (21:52 +0100)
commite74387f36ff7a8fa654ac37fa21fbbfbcc01689a
tree3455b14b4f12881dbe71fe2c3ef1f4cc471c51b2
parent0bc16c90add35e79a9d564379cc4793ab47d9b76
cogl-path: Export _cogl_path_get_bounds

_cogl_path_get_bounds is no longer static and is exported in
cogl-path-private.h so that it can be used in the clip stack code. The
old version of the function returned x/y and width/height. However
this was mostly used to call cogl_rectangle which takes x1/y1
x2/y2. The function has been changed to just directly return the
second form because it is more useful. Anywhere that was previously
using the function now just directly looks at path->path_nodes_min and
path->path_nodes_max instead.
clutter/cogl/cogl/cogl-path-private.h
clutter/cogl/cogl/cogl-path.c