projects
/
ses.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4336f83
)
_simplify_draw()
author
yu.dongliang
<18588496441@163.com>
Sun, 12 Nov 2023 10:54:15 +0000
(18:54 +0800)
committer
yu.dongliang
<18588496441@163.com>
Sun, 12 Nov 2023 10:54:15 +0000
(18:54 +0800)
ses_step_simplify.c
patch
|
blob
|
blame
|
history
diff --git
a/ses_step_simplify.c
b/ses_step_simplify.c
index 3c2aaac1270680948d7d7c2e7d2339748d3071e0..507e08aa136fe0698565ae6ba6712d99f716a4ed 100644
(file)
--- a/
ses_step_simplify.c
+++ b/
ses_step_simplify.c
@@
-93,7
+93,7
@@
static int _simplify_draw(ScfEfunction* f, uint32_t bx, uint32_t by, uint32_t bw
cairo_set_font_size(cr, 20);
- cairo_move_to (cr,
l->x0
- 24, l->y0 + 24);
+ cairo_move_to (cr,
(l->x0 + l->x1) / 2
- 24, l->y0 + 24);
cairo_show_text(cr, text);
cairo_stroke(cr);
}