Android-cuttlefish cvd tool
Namespaces | Functions | Variables
utils.cpp File Reference
#include <teeui/utils.h>
Include dependency graph for utils.cpp:

Namespaces

namespace  teeui
 
namespace  teeui::bits
 

Functions

bool teeui::operator== (const ByteBufferProxy &lhs, const ByteBufferProxy &rhs)
 
Color teeui::pixelLineIntersect (Point< pxs > line, pxs dist, Color c)
 
Color teeui::drawLinePoint (Point< pxs > a, Point< pxs > b, Point< pxs > px_origin, Color c, pxs width=pxs(1.0))
 
Color teeui::drawCirclePoint (Point< pxs > center, pxs r, Point< pxs > px_origin, Color c)
 
optional< PxPoint > teeui::intersect (const PxVec &a, const PxPoint &b, const PxVec &c, const PxPoint &d)
 
template<typename VectorType >
VectorType teeui::bits::rotate90 (const VectorType &in)
 
ssize_t teeui::bits::intersect (const PxPoint *oBegin, const PxPoint *oEnd, const PxPoint &lineA, const PxPoint &lineB, PxPoint *nBegin, PxPoint *nEnd)
 
pxs teeui::bits::area (const PxPoint *begin, const PxPoint *end)
 

Variables

constexpr const DefaultNumericType teeui::kEpsilon = 0.000001
 
constexpr const DefaultNumericType teeui::kHalfSqrt2 = 0.70710678118