Histogram title offset in pixel (and canvas margins)

I am not sure this conversion to pixel is really feasible as TGaxis offers are all defined relatively to the axis length, pad width and also depends on the size of the characters used to draw the labels and titles.