Simple example of tc::sdk::size.
Simple example of tc::sdk::size
#include <teiacare/sdk/geometry/size.hpp>
#include <spdlog/spdlog.h>
int main()
{
spdlog::set_pattern("[%H:%M:%S.%e] %v");
spdlog::set_level(spdlog::level::trace);
spdlog::info("{} is_null : {}", s0.to_string(), s0.is_null());
spdlog::info("{} is_null : {}", s1.to_string(), s1.is_null());
spdlog::info("{} width : {}", s1.to_string(), s1.width());
spdlog::info("{} height : {}", s1.to_string(), s1.height());
return 0;
}
Thread safe, blocking queue.