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  |
zsolt
Messages: 677 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) {
|
|
|
|
Goto Forum:
Current Time: Tue May 30 00:15:09 CEST 2023
Total time taken to generate the page: 0.01511 seconds
|