If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Every time that a bitmap fits inside a wxSizer, depending of bitmap size and screen size, fits with different ways.
If you want to put at image shapes that are objects, not embedding inside, the shapes depends from current image zoom factor.
So to make a coordinate convert you must know the exactly place and other settings of image inside a wxSizer.
So i must know the exact place of image.
GetPosition() gives point (0,0) that i wrong for scaled bitmap.
Thank's
Jim
Suppose in code that i am study, i want to put scaled bitmap at certain place, so with this way i will know the exact coordinates of image,but how i must put inside in a pos?
Which control are you using to display the image?
What's the overall layout?
Are there any other controls in the same sizer structure? If yes, it's pretty much impossible to do.
If this shall also work then zooming, you'd need to put the image inside a wxScrolledWindow, so that you can control its relative position without affecting any other control.