[WIP] popup: add specs for calcPossibleDrawingParams

Continue of #1194