作図ソフト dia の改良版
Revision | b33b5ec62bbffac8323d22f2fd003d3155743364 (tree) |
---|---|
Time | 2014-10-10 03:01:10 |
Author | Hans Breuer <hans@breu...> |
Commiter | Hans Breuer |
[cleanup] remove stale prototypes
@@ -232,11 +232,6 @@ real dia_font_descent(const char* string, DiaFont* font, real height); | ||
232 | 232 | /* prepares a layout of the text, in font 'font'. */ |
233 | 233 | PangoLayout* dia_font_build_layout(const char* string, DiaFont* font, |
234 | 234 | real height); |
235 | -/* prepares a layout of the text, in font 'font' scaled by matrix. */ | |
236 | -PangoLayout* dia_font_build_layout_with_matrix(const char* string, | |
237 | - DiaFont* font, | |
238 | - real height, | |
239 | - PangoMatrix *matrix); | |
240 | 235 | |
241 | 236 | real* dia_font_get_sizes(const char* string, DiaFont *font, real height, |
242 | 237 | real* width, real* ascent, real* descent, |
@@ -329,17 +329,6 @@ distance_point_point(const Point *p1, const Point *p2) | ||
329 | 329 | } |
330 | 330 | #endif |
331 | 331 | |
332 | -G_INLINE_FUNC const Point *closest_to(const Point *to, const Point *p1, const Point *p2); | |
333 | -#ifdef G_CAN_INLINE | |
334 | -G_INLINE_FUNC const Point * | |
335 | -closest_to(const Point *to, const Point *p1, const Point *p2) | |
336 | -{ | |
337 | - if (distance_point_point(to,p1) < distance_point_point(to,p2)) | |
338 | - return p1; | |
339 | - return p2; | |
340 | -} | |
341 | -#endif | |
342 | - | |
343 | 332 | G_INLINE_FUNC real distance_point_point_manhattan(const Point *p1, |
344 | 333 | const Point *p2); |
345 | 334 | #ifdef G_CAN_INLINE |
@@ -40,9 +40,6 @@ | ||
40 | 40 | #undef max |
41 | 41 | #define max(a,b) (a>b?a:b) |
42 | 42 | |
43 | -#define L1 printf("%d\n", __LINE__); | |
44 | - | |
45 | - | |
46 | 43 | /*********************************************** |
47 | 44 | ** CONSTANTS ** |
48 | 45 | ***********************************************/ |