I'm trying to implement an image viewer (that has zooming and panning capabilities) where I can place a "dot" or some sort of graphics thing over a specific part of the bitmap.
Of course if the image was only as big as the viewer, this would be easy (just drawing based on the window coordinates).. but since I'm supposed to support zoom and panning, I need information about the bitmap's coordinates in order to have the drawing on the bitmap to stay on the same place (and to know whether to display it or not when panning through a larger version of the image).
Does anyone know of any way to do this, or if there's a class other than CPAlbImageViewerBasic that can achieve this?
In Java, I managed to do this with Layer Managers, since those classes kept track of both the coordinates in the canvas and the coordinates of the window. Does Symbian C++ have something similar?