Returns the number of pixels (as a floating point number) represented by distance (which is anything understood by Tk_GetScreenMM) in the context of the widget called window. This is affected by tk scaling.