Chromium Code Reviews| Index: printing/units.h |
| diff --git a/printing/units.h b/printing/units.h |
| index cc6124101c6c134f0acdd57764a0cdbe1d9e5d0c..450b4c87755a97e97090a8d0ca6e34f7c21ea869 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 GetSegmentWidth(double page_width); |
|
vandebo (ex-Chrome)
2011/08/15 19:35:49
The name of this could be improved in this file...
Aayush Kumar
2011/08/15 21:37:37
Done.
|
| + |
| } // namespace printing |
| #endif // PRINTING_UNITS_H_ |