aboutsummaryrefslogtreecommitdiffstats
path: root/webservice.h
diff options
context:
space:
mode:
authorGravatar Salvador Cuñat <salvador.cunat@gmail.com>2013-02-10 16:47:14 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-10 10:46:37 -0800
commitb652d4e1abd9e391e48d1b5db2cb87dc00e5aa2f (patch)
treeb0c7eae2736f3b76b14b2c92ad518b36e3433714 /webservice.h
parent0fb2ee0f1a52988a56351aeb1b077f9224bc93af (diff)
downloadsubsurface-b652d4e1abd9e391e48d1b5db2cb87dc00e5aa2f.tar.gz
[PATCH] Print.c: Modify for using pango_layout_get_extents
Modify for use said pango function, suposes changing the way of doing things: Before this we were moving along the cr (cairo object) and creating and closing a layout for each line we printed. To use this func we need to create a layout (say for tanks), and then we move along the layout getting the distance with the get_extents func. As the layout is set and passed to the auxiliary functions there's no need to pass some values we were passing. Clean a bit the positioning of SAC, CNS and OTU which were out of the scope of the change. Changes to draw_table() are wider and unclear as we have to change from a fixed number of dives (25 actually) to a variable one. Not patched still. Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'webservice.h')
0 files changed, 0 insertions, 0 deletions