/haiku/src/libs/agg/src/ |
H A D | agg_trans_affine.cpp | 131 bool trans_affine::is_identity(double epsilon) const in is_identity() 133 return is_equal_eps(sx, 1.0, epsilon) && in is_identity() 134 is_equal_eps(shy, 0.0, epsilon) && in is_identity() 135 is_equal_eps(shx, 0.0, epsilon) && in is_identity() 136 is_equal_eps(sy, 1.0, epsilon) && in is_identity() 137 is_equal_eps(tx, 0.0, epsilon) && in is_identity() 138 is_equal_eps(ty, 0.0, epsilon); in is_identity() 142 bool trans_affine::is_valid(double epsilon) const in is_valid() 144 return std::fabs(sx) > epsilon && std::fabs(sy) > epsilon; in is_valid() 148 bool trans_affine::is_equal(const trans_affine& m, double epsilon) const in is_equal() [all …]
|
/haiku/src/kits/interface/ |
H A D | AffineTransform.cpp | 493 BAffineTransform::IsValid(double epsilon) const in IsValid() 495 return fabs(sx) > epsilon && fabs(sy) > epsilon; in IsValid() 500 IsEqualEpsilon(double v1, double v2, double epsilon) in IsEqualEpsilon() argument 502 return fabs(v1 - v2) <= double(epsilon); in IsEqualEpsilon() 507 BAffineTransform::IsIdentity(double epsilon) const in IsIdentity() 509 return IsEqualEpsilon(sx, 1.0, epsilon) in IsIdentity() 510 && IsEqualEpsilon(shy, 0.0, epsilon) in IsIdentity() 511 && IsEqualEpsilon(shx, 0.0, epsilon) in IsIdentity() 512 && IsEqualEpsilon(sy, 1.0, epsilon) in IsIdentity() 513 && IsEqualEpsilon(tx, 0.0, epsilon) in IsIdentity() [all …]
|
/haiku/headers/libs/agg/ |
H A D | agg_trans_perspective.h | 214 bool is_valid(double epsilon = affine_epsilon) const; 215 bool is_identity(double epsilon = affine_epsilon) const; 217 double epsilon = affine_epsilon) const; 645 inline bool trans_perspective::is_valid(double epsilon) const in is_valid() argument 647 return std::fabs(sx) > epsilon && std::fabs(sy) > epsilon && std::fabs(w2) > epsilon; in is_valid() 651 inline bool trans_perspective::is_identity(double epsilon) const in is_identity() argument 653 return is_equal_eps(sx, 1.0, epsilon) && in is_identity() 654 is_equal_eps(shy, 0.0, epsilon) && in is_identity() 655 is_equal_eps(w0, 0.0, epsilon) && in is_identity() 656 is_equal_eps(shx, 0.0, epsilon) && in is_identity() [all …]
|
H A D | agg_trans_viewport.h | 243 const double epsilon = 1e-30; in update() local 244 if(fabs(m_world_x1 - m_world_x2) < epsilon || in update() 245 fabs(m_world_y1 - m_world_y2) < epsilon || in update() 246 fabs(m_device_x1 - m_device_x2) < epsilon || in update() 247 fabs(m_device_y1 - m_device_y2) < epsilon) in update()
|
H A D | agg_image_filters.h | 190 double epsilon; variable 194 a(b), epsilon(1e-12) in a() 215 for(i = 2; t > epsilon; i++) in bessel_i0()
|
H A D | agg_trans_affine.h | 276 bool is_valid(double epsilon = affine_epsilon) const; 279 bool is_identity(double epsilon = affine_epsilon) const; 282 bool is_equal(const trans_affine& m, double epsilon = affine_epsilon) const;
|
H A D | agg_basics.h | 552 template<class T> inline bool is_equal_eps(T v1, T v2, T epsilon) in is_equal_eps() argument 554 return fabs(v1 - v2) <= double(epsilon); in is_equal_eps()
|
H A D | agg_path_storage.h | 907 const double epsilon = 1e-30; in arc_to() local 917 if(rx < epsilon || ry < epsilon) in arc_to() 923 if(calc_distance(x0, y0, x, y) < epsilon) in arc_to()
|
/haiku/headers/os/interface/ |
H A D | AffineTransform.h | 176 bool IsValid(double epsilon 178 bool IsIdentity(double epsilon 180 bool IsDilation(double epsilon 183 double epsilon
|
/haiku/headers/cpp/ |
H A D | limits | 324 /** The @e machine @e epsilon: the difference between 1 and the least 327 epsilon() { return _Tp(); } 398 epsilon() { return false; } 468 epsilon() { return 0; } 536 epsilon() { return 0; } 607 epsilon() { return 0; } 679 epsilon() { return 0; } 743 epsilon() noexcept { return 0; } 804 epsilon() noexcept { return 0; } 870 epsilon() { return 0; } [all …]
|
/haiku/docs/user/interface/ |
H A D | AffineTransform.dox | 903 \fn bool BAffineTransform::IsValid(double epsilon=kDefaultEpsilon) const 906 \param epsilon Undocumented 916 \fn bool BAffineTransform::IsIdentity(double epsilon=kDefaultEpsilon) const 919 \param epsilon Undocumented 929 \fn bool BAffineTransform::IsDilation(double epsilon=kDefaultEpsilon) const 932 \param epsilon Undocumented 942 …\fn bool BAffineTransform::IsEqual(const BAffineTransform &other, double epsilon=kDefaultEpsilon) … 946 \param epsilon Undocumented
|
/haiku/src/apps/mail/ |
H A D | words | 11984 epsilon
|