aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/slide.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-10-10 21:52:21 +0200
committerThomas White <taw@bitwiz.me.uk>2019-10-10 21:52:21 +0200
commitfe64bad2147d1abd20740873886ab95482b7c626 (patch)
tree63e9391233f00751af4dabb557236318bbe92538 /libstorycode/slide.c
parent0243f814940b6f2a02664b5a19ef21e636e2af2e (diff)
Take paraspace into account in cursor calculations
Diffstat (limited to 'libstorycode/slide.c')
-rw-r--r--libstorycode/slide.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libstorycode/slide.c b/libstorycode/slide.c
index 09c91ba..07b01ff 100644
--- a/libstorycode/slide.c
+++ b/libstorycode/slide.c
@@ -278,16 +278,6 @@ static const char *style_name_for_slideitem(enum slide_item_type t)
}
-static double lcalc(struct length l, double pd)
-{
- if ( l.unit == LENGTH_UNIT ) {
- return l.len;
- } else {
- return l.len * pd;
- }
-}
-
-
void slide_item_get_geom(SlideItem *item, Stylesheet *ss,
double *x, double *y, double *w, double *h,
double slide_w, double slide_h)