I'm having a problem with object hilighting in some cases. It works fine in 3 of my OpenCascade views, but is offset vertically in a 4th view. ( Each view is viewing a seperate interactive context. ) The amount of offset is proportional to the view scale.
I find that I can correct the problem by adjusting my y value as follows before calling MoveTo():
double scale = (*myView).Scale(); // Odd notation because using an arrow does not post to forum well
y = y - (int)(0.65*scale);
This hack is working, but if anyone can tell me what I'm doing wrong that is causing the error, I'd prefer to fix it right.