Rework drawing with using integer values