git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use Gmprat for Path bounds with TRANSFORM_BEZIERS_TO_PATH
[ipdf/code.git]
/
src
/
objectrenderer.h
diff --git
a/src/objectrenderer.h
b/src/objectrenderer.h
index
9ea8a12
..
85a413b
100644
(file)
--- a/
src/objectrenderer.h
+++ b/
src/objectrenderer.h
@@
-10,6
+10,7
@@
#include "graphicsbuffer.h"
#include "shaderprogram.h"
#include "bufferbuilder.h"
#include "graphicsbuffer.h"
#include "shaderprogram.h"
#include "bufferbuilder.h"
+#include <cstdint>
#define BEZIER_CPU_DECASTELJAU
#define BEZIER_CPU_DECASTELJAU
@@
-76,7
+77,7
@@
namespace IPDF
struct PixelBounds
{
int64_t x; int64_t y; int64_t w; int64_t h;
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<int64_t, int64_t> PixelPoint;
};
typedef std::pair<int64_t, int64_t> PixelPoint;
UCC
git Repository :: git.ucc.asn.au