How to update map region using C to get to the next resolution?

I have a raster map where I loop over data using Rast_get_row() and friends.
Later I draw these pixels on a screen. Now to get a zoom functionality, I
need to update region settings and then redraw the pixels.
This is where I need some help.

Rast_get_window(&window)

How to perform an update of "window" to move to next zoom level ?.

I had looked code in
gui/wxpython/core/render.py
gui/wxpython/mapwin/buffered.py

Hope someone with experience in wxgui rendering could help me in this case.

Thank you in advance for help.

-- 
Regards,
   Rashad
_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to