diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-10-26 12:14:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-10-26 15:24:19 +0300 |
commit | 8125271ddb29f8e42d00ee7667c24412d67fb2f5 (patch) | |
tree | d74c331c76219cea50d64fa745ca8b3f1b55938b /source/blender/blenlib | |
parent | 3e36cbb3deb317c903c32c7361bbcca9535a1aa9 (diff) |
Cleanup: rename functions in BLI_bitmap_draw_2d
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_bitmap_draw_2d.h | 4 | ||||
-rw-r--r-- | source/blender/blenlib/intern/bitmap_draw_2d.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenlib/BLI_bitmap_draw_2d.h b/source/blender/blenlib/BLI_bitmap_draw_2d.h index d447c5823e2..fe890e94f1b 100644 --- a/source/blender/blenlib/BLI_bitmap_draw_2d.h +++ b/source/blender/blenlib/BLI_bitmap_draw_2d.h @@ -25,11 +25,11 @@ * \ingroup bli */ -void plot_line_v2v2i( +void BLI_bitmap_draw_2d_line_v2v2i( const int p1[2], const int p2[2], bool (*callback)(int, int, void *), void *userData); -void fill_poly_v2i_n( +void BLI_bitmap_draw_2d_poly_v2i_n( const int xmin, const int ymin, const int xmax, const int ymax, const int polyXY[][2], const int polyCorners, void (*callback)(int x, int x_end, int y, void *), void *userData); diff --git a/source/blender/blenlib/intern/bitmap_draw_2d.c b/source/blender/blenlib/intern/bitmap_draw_2d.c index 06d21855197..11072f668c8 100644 --- a/source/blender/blenlib/intern/bitmap_draw_2d.c +++ b/source/blender/blenlib/intern/bitmap_draw_2d.c @@ -40,7 +40,7 @@ /** * Plot a line from \a p1 to \a p2 (inclusive). */ -void plot_line_v2v2i( +void BLI_bitmap_draw_2d_line_v2v2i( const int p1[2], const int p2[2], bool (*callback)(int, int, void *), void *userData) { @@ -117,7 +117,7 @@ void plot_line_v2v2i( * } while (++x != x_end); * \endcode */ -void fill_poly_v2i_n( +void BLI_bitmap_draw_2d_poly_v2i_n( const int xmin, const int ymin, const int xmax, const int ymax, const int verts[][2], const int nr, void (*callback)(int x, int x_end, int y, void *), void *userData) |