I am using mdlWindow_lineDraw and mdlWindow_textDraw to display items on a view. My draw function is called from an UpdatePost ViewCallback (ViewCallback::SetUpdatePostFunction(myFunction)) all works as designed except if a fence or zoom in rectangle is active. When a fence is active my lines/text are still drawn however it is immediately erased by the fence or zoom in rectangle which I assume is also using the mdlWindow_draw functions.
Is there a way for my ViewCallBack to be compatible with fences/zoom in or be called after the fence rectangle is drawn?