float f1 = 0; float f2 = 0; new Bitmap((int)f1, f2)
Quickfix suggests to cast the first argument to 'int'!