|
| using | teeui::AuthTokenKey = Array< uint8_t, kAuthTokenKeySize > |
| |
| using | teeui::Hmac = AuthTokenKey |
| |
| using | teeui::px = UnitT< Unit::PX > |
| |
| using | teeui::dp = UnitT< Unit::DP > |
| |
| using | teeui::mm = UnitT< Unit::MM > |
| |
| using | teeui::DefaultNumericType = float |
| |
| template<typename T1 , typename T2 , typename Numeric > |
| using | teeui::add = BinOp< T1, T2, Numeric, Add > |
| |
| template<typename T1 , typename T2 , typename Numeric > |
| using | teeui::sub = BinOp< T1, T2, Numeric, Sub > |
| |
| template<typename T1 , typename T2 , typename Numeric > |
| using | teeui::mul = BinOp< T1, T2, Numeric, Mul > |
| |
| template<typename T1 , typename T2 , typename Numeric > |
| using | teeui::div = BinOp< T1, T2, Numeric, Div > |
| |
| using | teeui::dps = Coordinate< dp > |
| |
| using | teeui::mms = Coordinate< mm > |
| |
| using | teeui::pxs = Coordinate< px > |
| |
| using | teeui::Color = uint32_t |
| |
| template<typename Coord > |
| using | teeui::Point = Vec2d< Coord > |
| |
| using | teeui::PxPoint = Point< pxs > |
| |
| using | teeui::PxVec = Vec2d< pxs > |
| |
| using | teeui::CallbackEvent = Callback< Error(Event)> |
| |
| using | teeui::PixelDrawer = Callback< Error(uint32_t, uint32_t, Color)> |
| |
| template<typename Fn > |
| using | teeui::PixelDrawerHelper = CallbackHelper< Fn, Error, uint32_t, uint32_t, Color > |
| |
| template<typename T > |
| using | teeui::layout_t = typename MetaList2Layout< T >::type |
| |
|
| template<typename T > |
| auto | teeui::bytesCast (const T &v) -> const uint8_t(&)[sizeof(T)] |
| |
| template<typename T > |
| auto | teeui::bytesCast (T &v) -> uint8_t(&)[sizeof(T)] |
| |
| bool | teeui::operator== (const ByteBufferProxy &lhs, const ByteBufferProxy &rhs) |
| |
| template<typename IntType > |
| IntType | teeui::hton (const IntType &value) |
| |
| template<typename IntType > |
| IntType | teeui::ntoh (const IntType &value) |
| |
| long double | teeui::bits::abs (long double v) |
| |
| double | teeui::bits::abs (double v) |
| |
| long double | teeui::bits::ceil (long double v) |
| |
| double | teeui::bits::ceil (double v) |
| |
| long double | teeui::bits::floor (long double v) |
| |
| double | teeui::bits::floor (double v) |
| |
| long double | teeui::bits::sqrt (long double v) |
| |
| double | teeui::bits::sqrt (double v) |
| |
| float | teeui::bits::round (float v) |
| |
| long double | teeui::bits::round (long double v) |
| |
| double | teeui::bits::round (double v) |
| |
| 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) |
| |
| 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) |
| |
| template<typename Ret , typename... Args> |
| Callback< Ret(Args...)> | teeui::makeCallback (Ret(*fn)(Args..., void *), void *priv_data) |
| |
| template<typename Fn > |
| PixelDrawerHelper< Fn > | teeui::makePixelDrawer (Fn fn) |
| |
| template<typename... Elements, typename Context > |
| std::tuple< Elements... > | teeui::instantiateLayout (MetaList< Elements... >, const Context &context) |
| |
| template<typename... Coords> |
| constexpr std::tuple< Vec2d< Coords >... > | teeui::makeConvexObject (const Vec2d< Coords > &... points) |
| |
| template<size_t capacity, typename Tuple , typename Context , size_t... I> |
| constexpr ConvexObject< capacity > | teeui::initConvexObject (const Context &context, const Tuple &outline, std::index_sequence< I... >) |
| |
| template<size_t capacity, typename... Points, typename Context > |
| constexpr ConvexObject< capacity > | teeui::initConvexObject (const Context &context, const std::tuple< Points... > &outline) |
| |
| template<size_t capacity, typename Tuple , typename Context , size_t... I, size_t size> |
| constexpr void | teeui::initConvexObjectArray (const Context &context, ConvexObject< capacity >(&out)[size], const Tuple &t, std::index_sequence< I... >) |
| |
| template<size_t capacity, typename... COs, typename Context , size_t size> |
| constexpr void | teeui::initConvexObjectArray (const Context &context, ConvexObject< capacity >(&out)[size], const std::tuple< COs... > &t) |
| |
| template<typename Iterator > |
| Range< Iterator > | teeui::makeRange (Iterator begin, Iterator end) |
| |