X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=src%2Fobjectrenderer.h;h=85a413b40a564b9613d190f3b916f51031ce7a8f;hb=ef0af5fd0129161a9e079bd3cd1298b53f1fe11a;hp=9ea8a12ef13b40c4302af92925c2d9a6fd2fa295;hpb=2d12d37f1657d6aef9bb80d735b6c7022aecba6e;p=ipdf%2Fcode.git diff --git a/src/objectrenderer.h b/src/objectrenderer.h index 9ea8a12..85a413b 100644 --- a/src/objectrenderer.h +++ b/src/objectrenderer.h @@ -10,6 +10,7 @@ #include "graphicsbuffer.h" #include "shaderprogram.h" #include "bufferbuilder.h" +#include #define BEZIER_CPU_DECASTELJAU @@ -76,7 +77,7 @@ namespace IPDF struct PixelBounds { int64_t x; int64_t y; int64_t w; int64_t h; - PixelBounds(const Rect & bounds) : x(Double(bounds.x)), y(Double(bounds.y)), w(Double(bounds.w)), h(Double(bounds.h)) {} + PixelBounds(const Rect & bounds); }; typedef std::pair PixelPoint;