U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Bug in Picture Class
Bug in Picture Class [message #12407] Sat, 27 October 2007 21:56 Go to previous message
zsolt is currently offline  zsolt
Messages: 705
Registered: December 2005
Location: Budapest, Hungary
Contributor
The problem is that showing big drawings, the scaling is buggy.
I attached a testcase: load a big image file and try resizing it.

Fix: CtrlLib/Static.cpp in void Picture::Paint(Draw& w) change a line:
//if(sr.cx * sz.cx < sz.cy * sr.cy) {
if(sr.cy * sz.cx < sz.cy * sr.cx) {
 
Read Message
Read Message
Previous Topic: Any function to draw gradient color?
Next Topic: Display bug in ArrayCtrl
Goto Forum:
  


Current Time: Tue Sep 15 09:11:12 GMT+2 2026

Total time taken to generate the page: 0.00981 seconds