X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fobjectrenderer.h;h=85a413b40a564b9613d190f3b916f51031ce7a8f;hp=9ea8a12ef13b40c4302af92925c2d9a6fd2fa295;hb=64b7c42c71c35d520424cf4ca5ecaa99faef8b26;hpb=2d12d37f1657d6aef9bb80d735b6c7022aecba6e 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;