X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fview.h;h=cd9442020be07a3dafd71efa2b81ec18df24f444;hp=47eb0fbfcc65b7ee5218fbf721980318a2f70c77;hb=ec45b44e3a44e12463c63ec09d63c648602ce866;hpb=326f04a375ce3120f7e8957e3d7cd5f296f513e3 diff --git a/src/view.h b/src/view.h index 47eb0fb..cd94420 100644 --- a/src/view.h +++ b/src/view.h @@ -19,6 +19,7 @@ namespace IPDF { #ifdef TRANSFORM_BEZIERS_TO_PATH + #pragma message "View using Gmprat for bounds" typedef Gmprat VReal; #else typedef Real VReal; @@ -39,8 +40,8 @@ namespace IPDF void Render(int width = 0, int height = 0); - void Translate(VReal x, VReal y); - void ScaleAroundPoint(VReal x, VReal y, VReal scale_amount); + void Translate(Real x, Real y); + void ScaleAroundPoint(Real x, Real y, Real scale_amount); void SetBounds(const Rect & new_bounds); Rect TransformToViewCoords(const Rect& inp) const;