| 345 | | cleft = (Int32)(clientPort->getPixelLeft() * scaleCWidth) ; |
|---|
| 346 | | cbottom = (Int32)(clientPort->getPixelBottom() * scaleCHeight) ; |
|---|
| 347 | | cright = (Int32)((clientPort->getPixelRight()+1) * scaleCWidth) -1; |
|---|
| 348 | | ctop = (Int32)((clientPort->getPixelTop()+1) * scaleCHeight)-1; |
|---|
| | 345 | cleft = Int32(clientPort->getPixelLeft() * scaleCWidth) ; |
|---|
| | 346 | cbottom = Int32(clientPort->getPixelBottom() * scaleCHeight) ; |
|---|
| | 347 | cright = Int32((clientPort->getPixelRight()+1) * scaleCWidth) -1; |
|---|
| | 348 | ctop = Int32((clientPort->getPixelTop()+1) * scaleCHeight)-1; |
|---|
| 424 | | deco->setSize( ( l+left-cleft ) / (float)( cright-cleft ), |
|---|
| 425 | | ( b+bottom-cbottom ) / (float)( ctop-cbottom ), |
|---|
| 426 | | ( r+left-cleft ) / (float)( cright-cleft ), |
|---|
| 427 | | ( t+bottom-cbottom ) / (float)( ctop-cbottom ) ); |
|---|
| | 424 | deco->setSize( ( l+left-cleft ) / float( cright-cleft ), |
|---|
| | 425 | ( b+bottom-cbottom ) / float( ctop-cbottom ), |
|---|
| | 426 | ( r+left-cleft ) / float( cright-cleft ), |
|---|
| | 427 | ( t+bottom-cbottom ) / float( ctop-cbottom ) ); |
|---|