I'm attempting to import a project written in RapidQ to Lazarus. Part of the project draws different sized grids on a TImage. In RapidQ the QImage accepts Double variables so if the QImage size is 350x350 and a grid of 55x55 is drawn on it, then the space between the grid lines is 350 / 55 which equals 6.3636 etc, but in Lazarus the TImage.Canvas.Line() only accepts LongInt variables. I really can't see any way around it.