Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 6681 Details for
Bug 46023
Formatting gets confused by commented out lines
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
New result
result.txt (text/plain), 1.45 KB, created by
Olivier Thomann
on 2003-11-06 09:34:38 EST
(
hide
)
Description:
New result
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2003-11-06 09:34:38 EST
Size:
1.45 KB
patch
obsolete
>BEFORE > > Image tmp = new Image(display, rect.width, rect.height); > try > { > ImageData tmpData = tmp.getImageData(); > > for (int y = 0; y < rect.height; y++) > { > for (int x = 0; x < rect.width; x++) > { > int val; > val = (x<<TestImage.WIDTH_BITS); > val |= y; > >// tmpData.setPixels(x, y, val); > tmpData.setPixels(x, y, 0); > } > } > GC dc = new GC(testImage); > try > { > dc.drawImage(tmp, 0 ,0); > } > finally > { > dc.dispose(); > } > } > finally > { > tmp.dispose(); > } > >AFTER > Image tmp = new Image(display, rect.width, > rect.height); > try > { > ImageData tmpData = tmp.getImageData(); > for (int y = 0; y < rect.height; y++) > { > for (int x = 0; x < rect.width; x++) > { > int val; > val = (x << TestImage.WIDTH_BITS); > val |= y; > // tmpData.setPixels(x, y, val); > tmpData.setPixels(x, y, 0); > } > } > GC dc = new GC(testImage); > try > { > dc.drawImage(tmp, 0, 0); > } > finally > { > dc.dispose(); > } > } > finally > { > tmp.dispose(); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 46023
:
6643
|
6644
|
6680
| 6681