summaryrefslogtreecommitdiffstats
path: root/printing/units.h
diff options
context:
space:
mode:
Diffstat (limited to 'printing/units.h')
-rw-r--r--printing/units.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/printing/units.h b/printing/units.h
index cc61241..bd6d67a 100644
--- a/printing/units.h
+++ b/printing/units.h
@@ -36,6 +36,13 @@ int ConvertPixelsToPoint(int pixels);
// Converts from 1 pixel to 1 point using doubles.
double ConvertPixelsToPointDouble(double pixels);
+// Converts from 1 point to 1 pixel using doubles.
+double ConvertPointsToPixelDouble(double points);
+
+// Splits the horizontal width equally into segments with an interstice
+// between each segment. Returns the width of a segment.
+double GetHeaderFooterSegmentWidth(double page_width);
+
} // namespace printing
#endif // PRINTING_UNITS_H_