1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-02 16:25:41 +00:00
This commit is contained in:
Lu Wang 2012-11-29 21:20:26 +08:00
parent 96fd23b6e1
commit 02305d560b
2 changed files with 4 additions and 5 deletions

View File

@ -16,10 +16,9 @@ using namespace std;
namespace pdf2htmlEX {
TmpFiles::TmpFiles( const Param& param_ )
: param( param_ )
{
}
TmpFiles::TmpFiles( const Param& param )
: param( param )
{ }
TmpFiles::~TmpFiles()
{

View File

@ -14,7 +14,7 @@
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 is_positive(double x) { return x > EPS; }
static inline bool tm_equal(const double * tm1, const double * tm2, int size = 6)