HackerTrans
TopNewTrendsCommentsPastAskShowJobs

giveexamples

no profile record

comments

giveexamples
·5 เดือนที่ผ่านมา·discuss
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.