Continuing with the project started in:
How to auto fit/scale DBGrid's (or other similar) columns widths according to its contents?
How to calculate the "Left" Property to center a Text in a DBGrid Cell?
When we call OnDrawColumnCell and use the Canvas to write a text in replacement of the default draw of the grid, how may we calculate the position of the text when we want to center it on the cell?