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
Arbitrary integer addition in x64 assembly
[ipdf/code.git]
/
src
/
objectrenderer.h
diff --git
a/src/objectrenderer.h
b/src/objectrenderer.h
index
4ebb66a
..
6f29add
100644
(file)
--- a/
src/objectrenderer.h
+++ b/
src/objectrenderer.h
@@
-50,7
+50,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(
bounds.x), y(bounds.y), w(bounds.w), h(bounds.h
) {}
+ PixelBounds(const Rect & bounds) : x(
Double(bounds.x)), y(Double(bounds.y)), w(Double(bounds.w)), h(Double(bounds.h)
) {}
};
static Rect CPURenderBounds(const Rect & bounds, const View & view, const CPURenderTarget & target);
};
static Rect CPURenderBounds(const Rect & bounds, const View & view, const CPURenderTarget & target);
UCC
git Repository :: git.ucc.asn.au