mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-07-05 01:28:39 +00:00
..
This commit is contained in:
parent
96fd23b6e1
commit
02305d560b
|
@ -16,10 +16,9 @@ using namespace std;
|
||||||
namespace pdf2htmlEX {
|
namespace pdf2htmlEX {
|
||||||
|
|
||||||
|
|
||||||
TmpFiles::TmpFiles( const Param& param_ )
|
TmpFiles::TmpFiles( const Param& param )
|
||||||
: param( param_ )
|
: param( param )
|
||||||
{
|
{ }
|
||||||
}
|
|
||||||
|
|
||||||
TmpFiles::~TmpFiles()
|
TmpFiles::~TmpFiles()
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
namespace pdf2htmlEX {
|
namespace pdf2htmlEX {
|
||||||
|
|
||||||
static inline double round(double x) { return (std::fabs(x) > EPS) ? x : 0.0; }
|
static inline double round(double x) { return (std::abs(x) > EPS) ? x : 0.0; }
|
||||||
static inline bool equal(double x, double y) { return std::abs(x-y) < EPS; }
|
static inline bool equal(double x, double y) { return std::abs(x-y) < EPS; }
|
||||||
static inline bool is_positive(double x) { return x > EPS; }
|
static inline bool is_positive(double x) { return x > EPS; }
|
||||||
static inline bool tm_equal(const double * tm1, const double * tm2, int size = 6)
|
static inline bool tm_equal(const double * tm1, const double * tm2, int size = 6)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user