[WIP] popup: add specs for calcPossibleDrawingParams

Fixes #1006
Splitted.