费解!怎么就不行呢?

moniker 2001-02-08 09:12:00
dx1 = nSysX * ( this.getSize().width / imageBackground.getWidth(null) );
dx2 = ( nSysX + imageWidthSystem ) * ( this.getSize().width / imageBackground.getWidth(null) );
dy1 = nSysY * ( this.getSize().height / imageBackground.getHeight(null) );
dy2 = ( nSysY + imageHeightSystem ) * ( this.getSize().height / imageBackground.getHeight(null) );

sx1 = 0;
sy1 = 0;
sx2 = imageWidthSystem;
sy2 = imageHeightSystem;
//To show image of system
g.drawImage(imageSystem,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,null);
...全文
93 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
bingcaibird 2001-02-08
  • 打赏
  • 举报
回复
详细些

62,614

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧