HackerTrans
热门最新趋势评论往期问答秀出招聘

giveexamples

no profile record

评论

giveexamples
·5个月前·讨论
rectcut is a good API for layout if you have a fixed viewport (eg eink display)

the API is a very simple one where you slice parts off an initial Rect. the only feature it provides is that it tracks (x, y, h, w) for you.

it doesn't work well with intrinsic sizes - it's more of a top down, fixed size thing.