Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/graphics/a2png/files/patch-src_image.c
16462 views
1
--- src/image.c.orig 2006-10-05 13:36:26 UTC
2
+++ src/image.c
3
@@ -148,7 +148,6 @@ void image_resize_crop(engine_t *e, const int width_px
4
#endif
5
}
6
7
-inline
8
void image_set_foreground(engine_t *p, const rgb_t* color) {
9
#ifdef ENABLE_CAIRO
10
static const double alpha = 1.0;
11
@@ -286,7 +285,6 @@ image_points_t image_get_font_max_metrics(engine_t *p,
12
return r;
13
}
14
15
-inline
16
void image_move_to(engine_t *en, const image_point_t x, const image_point_t y) {
17
en->pos.x = x;
18
en->pos.y = y;
19
@@ -296,7 +294,6 @@ void image_move_to(engine_t *en, const image_point_t x
20
#endif
21
}
22
23
-inline
24
image_points_t image_get_position(engine_t *en) {
25
#ifdef ENABLE_CAIRO
26
static image_points_t r;
27
28