Roxen.git/
server/
base_server/
roxen.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2001-03-17
2001-03-17 00:05:22 by Per Hedbor <ph@opera.com>
d228c797b88bfa13aa2aa841d99978b776e1415e (
14
lines) (+
9
/-
5
)
[
Show
|
Annotate
]
Branch:
5.2
Yet another try at [Bug
1295 (#1295)
]
Rev: server/base_server/roxen.pike:1.653
4:
// Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others. // ABS and suicide systems contributed freely by Francesco Chemolli
-
constant cvs_version="$Id: roxen.pike,v 1.
652
2001/03/
16
01
:
43
:
14
per Exp $";
+
constant cvs_version="$Id: roxen.pike,v 1.
653
2001/03/
17
00
:
05
:
22
per Exp $";
// Used when running threaded to find out which thread is the backend thread. Thread.Thread backend_thread;
2212:
else if( (type & SCALEI) && ((reply->xsize() != w) || (reply->ysize() != h)) ) {
+
if( w && h )
+
{
if( w / (float)reply->xsize() < h / (float)reply->ysize() ) h = 0; else w = 0;
-
+
}
reply = reply->scale( w,h ); if( alpha ) alpha = alpha->scale( w,h );