I need help with Quadview drawing. I know how get the quad using the mouse position, but the problem is get the drawing area in the callback.
I have some code like this:
bpy.types.SpaceView3D.draw_handler_add(draw_callback_px, (self, context), 'WINDOW', 'POST_PIXEL')
..
def draw_callback_px(self, context):
# mi draw code here
quad = get_quad(x, y) ???
# need information of area in pixels or location to select Quad
But, I need the area that is drawing to detect the Quad.
how can get it?