func fromdlgunitsY(du int, d *sizing) int { return int(C.MulDiv(C.int(du), d.baseY, 8)) }
func fromdlgunitsX(du int, d *sizing) int { return int(C.MulDiv(C.int(du), d.baseX, 4)) }