Thread
:
[QT] EasyPaint help
View Single Post
pichlo
2014-10-21 , 20:56
Posts: 6,453 | Thanked: 20,983 times | Joined on Sep 2012 @ UK
#
8
Sorry, I am a bit short on time but even if I were not, I am not going to run a random exe. No offence intended, just a personal policy.
However, to expand on this...
Originally Posted by
pichlo
have a look at the rest of your code.
...I would have a look at what's behind your getCurrentImageArea(), zoomImage() and setZoomFactor() and why are both zoomImage() and setZoomFactor() called each time. Maybe only one needs to be called?
Here is an excellent example of a simple image zooming code, straight from the creators of Qt:
http://qt-project.org/doc/qt-4.8/wid...ageviewer.html
It might be a good idea to have a read through that article. It is quite long and a bit fragmented (it never shows the whole code), so to fully comprehend it you may need to read it front to end. It may not fit your specifications exactly but it may give you some inspiration.
Quote & Reply
|
The Following User Says Thank You to pichlo For This Useful Post:
bandora
pichlo
View Public Profile
Send a private message to pichlo
Find all posts by pichlo