Commit 8536d7b
committed
Update ImageDataProvider contract
Clarify in the contract that ImageDataProvider implementations are
expected
to return linearly scaled ImageData based on the zoom level.
This commit also extends the strict checks for verifying linear scaling
to GTK and Cocoa implementations.1 parent 9eea8f6 commit 8536d7b
File tree
1 file changed
+20
-5
lines changed- bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics
1 file changed
+20
-5
lines changedLines changed: 20 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
35 | 49 | | |
36 | 50 | | |
37 | 51 | | |
38 | 52 | | |
39 | 53 | | |
40 | | - | |
| 54 | + | |
| 55 | + | |
41 | 56 | | |
42 | 57 | | |
43 | 58 | | |
| |||
0 commit comments