1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
|
2006-02-28 Jonathan Chambers <jonathan.chambers@ansys.com>,
Peter Dennis Bartok <pbartok@novell.com>
* Font.cs:
- ToLogFont: Reworked to allow running under MS runtime and to
support it being called with both boxed structs and formatted
classes (MS runtime PtrToStructure cannot marshal boxed value
types, but Marshal.AsAny can)
- Switched all usage of LOGFONTA to more generic CharSet-driven
LOGFONT structure
- FromLogFont: Switched to use charset-agnostic GdipCreateFontFromLogfont
* gdipStructs.cs: Dropped LOGFONTA and LOGFONTW and switched to
CharSet-driven LOGFONT structure (needed because of ToLogFont fix)
* gdipFunctions.cs: Switched GdipGetLogFont, GdipCreateFontFromLogfont and
CreateFontIndirect to use LOGFONT structure, set to be CharSet=Auto
(needed because of ToLogFont fix)
2006-02-18 Duncan Mak <duncan@novell.com>
* Graphics.cs (DrawBeziers): Patch from Alexander Olk to fix
possible IndexOutOfRangeException.
2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
* Image.cs, Bitmap.cs: Removed unneeded casts
* Icon.cs: Fixed code to be 64bit safe
2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
* Font.cs: Fixes 77407
2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
* Font.cs: Ensure unmanaged memory is free correctly in ToLogFont
even if GDIPlus.CheckStatus throws an exception;
* Image.cs: Ensure unmanaged memory is free correctly even if
GDIPlus.CheckStatus throws an exception. Note: the SetPropertyItem use
case is unclear to me (and unimplemented in libgdiplus);
* Region.cs: Ensure unmanaged memory is free correctly in
GetRegionScans even if GDIPlus.CheckStatus throws an exception;
2006-01-27 Jordi Mas i Hernandez <jordimash@gmail.com>
* gdipFunctions.cs: New gdiplus imports
* Font.cs: Use gdiplus calls to get font height and size
2006-01-26 Sebastien Pouliot <sebastien@ximian.com>
* FontFamily.cs: Free the memory allocated with Marshal.AllocHGlobal.
* Region.cs: Updated TODO to reflect current status.
2006-01-24 Konstantin Triger <kostat@mainsoft.com>
* Font.jvm.cs, FontFamily.jvm.cs: use static container.
2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
* Icon.cs: The code wrongly assumed that the stride for the icon
would be the same as the stride for the bitmap. This was causing
memory corruption.
2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
* Icon.cs: Reworked ToBitmap() method to not use Bitmap(Stream)
which when calling down to MS GDI+ will create an image
where neither GetPixel or Save can be used on.
2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
* gdipFunctions.cs: Added declaration for GdipCreateRegionRgnData.
* Region.cs: Implemented .ctor(RegionData)
2006-01-13 Miguel de Icaza <miguel@novell.com>
* Region.cs: Revert the Region.cs check in GetHrgn as it was used
by our Windows.Forms implementation.
2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
* Graphics.cs: Avoid creating bitmaps two times if both X and Y
default DPI are required (i.e. init both value in both cases).
* Region.cs: Added null check to match MS behaviour (exception type)
and avoid NRE (before CheckStatus is called). Added security demands
for unmanaged code on both FromHrgn and ReleaseHrgn (2.0) methods.
2005-12-22 Jonathan Chambers <jonathan.chambers@ansys.com>
* gdipFunctions.cs: Do not call GdiplusShutdown for
now as it causes a crash on MS GDI+.
2005-12-20 Konstantin Triger <kostat@mainsoft.com>
* Font.jvm.cs: charset support.
2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
* Graphics.cs (Flush): Make sure nativeObject is not null
2005-12-14 Konstantin Triger <kostat@mainsoft.com>
* StrokeFactory.jvm.cs: create AdvancedStroke when have penTransform.
2005-12-13 Konstantin Triger <kostat@mainsoft.com>
* Bitmap.jvm.cs: Fix MakeTransparent.
2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
* Graphics.cs: Add new deephs support to CopyFromScreen
2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
* BufferedGraphicsManager.cs: Fixes signature
2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
* Font.cs:
- Implemented FromLogFont
- Implemented ToLogFont
- Whitespace fixes
* gdipFunctions.cs:
- Added GdipGetLogFontW method
- Specified charset for GdipGetLogFontA method
* gdipStructs.cs: Added LOGFONTW structure
2005-12-05 Gert Driesen <drieseng@users.sourceforge.net>
* BufferedGraphics.cs: Removed duplicate class. Set eol-style to
native.
* BufferedGraphicsManager.cs: Removed duplicate class. Set eol-style
to native.
2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
* gdipFunctions.cs: DllExports need it to implement
new Graphics.CopyFromScreen .Net 2.0 methods
* IDeviceContext.cs: New .Net 2.0 interface
* Color.cs: Fixes for new .Net 2.0 KnowColors
* PointF.cs: New .Net 2.0 Add/Subtract methods
* gdipStructs.cs: Structs need it for Graphics.CopyFromScreen
* SystemBrushes.cs: New standard SystemBrushes for .Net 2.0
* SizeF.cs: New .Net 2.0 Add/Subtract methods
* FontConverter.cs: New .Net 2.0 fixes
* SystemColors.cs: New standard SystemColors for .Net 2.0
* SizeFConverter.cs: New .Net 2.0 class (based on SizeConverter)
* CharacterRange.cs: : New .Net 2.0 methods
* Size.cs: New .Net 2.0 Add/Subtract methods
* SystemPens.cs: New standard SystemPens for .Net 2.0
* Bitmap.cs: New .Net 2.0 methods
* Region.cs: New .Net 2.0 methods
* Brush.cs: New .Net 2.0 constructor
* Icon.cs: New .Net 2.0 Constructors and methods
* Point.cs: New .Net 2.0 Add/Subtract methods
* BufferedGraphicsManager.cs: New .Net 2.0 class
* Graphics.cs: New methods for .Net 2.0 and fixes
* BufferedGraphics.cs: New .Net 2.0 class
* Font.cs: New .Net 2.0 properties
* Image.cs: New .Net 2.0 tag property
* KnownColor.cs: New .Net 2.0 know colors
* CopyPixelOperation.cs: New .Net 2.0 enum
* SystemFonts.cs: New .Net 2.0 class
* BufferedGraphicsContext.cs: New .Net 2.0 class
2005-11-28 Konstantin Triger <kostat@mainsoft.com>
* SystemIcons.jvm.cs: refactoring.
2005-11-28 Konstantin Triger <kostat@mainsoft.com>
* Icon.cs: TARGET_JVM changes.
2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
* Image.jvm.cs: fixed Save, flush output stream
2005-11-17 Konstantin Triger <kostat@mainsoft.com>
* StrokeFactory.jvm.cs, Pen.jvm.cs, Graphics.jvm.cs: performance - use BasicStroke when possible.
2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
* ColorConverter.cs: fixed ConvertFrom, to be able
to convert from three digit notation color (#abc)
2005-11-16 Konstantin Triger <kostat@mainsoft.com>
* Bitmap.jvm.cs: open a correct stream.
2005-11-16 Konstantin Triger <kostat@mainsoft.com>
* FontFamily.jvm.cs, Font.jvm.cs: throw exception if invalid params.
2005-11-16 Konstantin Triger <kostat@mainsoft.com>
* FontFamily.jvm.cs: fix for custom font collection
2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
* FontFamily.jvm.cs: fixed GetName
2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
* Bitmap.jvm.cs: fixed InternalSave() error handling
* Image.jvm.cs: fixed Save() error handling
2005-11-13 Konstantin Triger <kostat@mainsoft.com>
* FontFamily.jvm.cs: Refactoring.
2005-11-13 Konstantin Triger <kostat@mainsoft.com>
* Font.jvm.cs: Refactoring.
2005-11-13 Konstantin Triger <kostat@mainsoft.com>
* StringFormat.jvm.cs, Graphics.jvm.cs: DrawString,
MeasureString support
2005-11-13 Konstantin Triger <kostat@mainsoft.com>
* FontFamily.jvm.cs: correctly initialize fontcollection
2005-11-13 Konstantin Triger <kostat@mainsoft.com>
* FontFamily.jvm.cs: DrawMargin, refactoring.
2005-11-13 Konstantin Triger <kostat@mainsoft.com>
* Graphics.jvm.cs, Pen.jvm.cs, AdvancedStroke.jvm.cs:
Differentiate standard and AntiAlias stroking
2005-11-10 Vladimir Krasnov <vladimirk@mainsoft.com>
* Graphics.jvm.cs: added UnitConversion property
* FontFamily.jvm.cs: refactoring
* Font.jvm.cs: refactoring
2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
* Font.cs:
- Implemented serialization constructor
- Implemented GetObjectData()
2005-11-01 Vladimir Krasnov <vladimirk@mainsoft.com>
* StringFormat.jvm.cs: Refactoring
2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
* Image.cs: Default format for MemoryBMP should be Png
2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
* Bitmap.jvm.cs: fixed InternalSave
* Image.jvm.cs: fixed Save
2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
* Image.jvm.cs: fixed redolution properties
2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
* Bitmap.jvm.cs: fixed InternalSave, to remove alpha channel of saved jpeg
fixed clone, Initialize
2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
* Brush.cs: Don't delete the brush if the display handle is no longer
valid, otherwise cairo will try to use the handle and crash and burn
2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
* Graphics.jvm.cs: DrawImage refactoring
2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
* Graphics.jvm.cs: Clipping refactoring
fixed FillScaledShape, DrawShape, MeasureDraw, BeginContainer,
ExcludeClip, IntersectClip, ResetClip, CombineClipArea, RestoreBaseClip,
TranslateClip, VisibleClipBounds
2005-10-21 Miguel de Icaza <miguel@novell.com>
* Pen.cs: Add support for returning the Brush from Pens created
with a color constructor.
Plus: code style police, else does not go on its own line.
* Graphics.cs: Add various ArgumentNull checks.
2005-10-20 Konstantin Triger <kostat@mainsoft.com>
* Image.jvm.cs: make Clone abstract
2005-10-20 Konstantin Triger <kostat@mainsoft.com>
* Font.jvm.cs: make fallbacks for GdiCharSet, GdiVerticalFont
2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
* Bitmap.jvm.cs: fixed InternalSave, ToBufferedImageFormat, Clone
* PlainImage.jvm.cs: fixed Clone
* Graphics.jvm.cs: fixed FillShape, Clear, FillScaledShape
2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
* Brush.jvm.cs: added InternalClone() method
changed transformation methods access level
* TextureBrush.jvm.cs: refactoring, fixed clone()
2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
* AdvancedStroke.jvm.cs: fixed createStrokedShape, check for transform
matrix singularity added
* Font.jvm.cs: implemetated ISerializable
* Pen.jvm.cs: fixed DashPattern property,
fixed GetNativeObject() dash pattern calculation
2005-10-14 Jordi Mas i Hernandez <jordi@ximian.com>
* SystemColors.cs: Fixes the Win32 light and lightlight colours
2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
* SystemColors.cs: Fixes the Win32 system colors including the color
name and the knownColor properties.
2005-10-07 Peter Dennis Bartok <pbartok@novell.com>
* FontFamily.cs: Use Marshal.PtrToStringUni to do the string
conversion, it's less overhead than StringBuilder. (Part of the
bugfix for #74871 and #75534)
* gdipFunctions: Changed signature for GdipGetFamilyName to just
have an IntPtr for the buffer
2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
* Graphics.cs, FontFamily.cs: Calling GC.SuppressFinalize from Dispose,
fixes bug #76329
2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
* SystemColor.cs: Added code used to generate properties, updated with
Windows XP colors
2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
* SystemColor.cs: Make internal names predictable to allow scripted
generation of color table
2005-09-28 Peter Dennis Bartok <pbartok@novell.com>
* Color.cs(UpdateKnownColor): Ensure knownColors exists before trying
to update it.
2005-09-27 Peter Dennis Bartok <pbartok@novell.com>
* SystemColor.cs:
- Changed properties to return colors from fields. This allows
updating the colors via reflection, for example from MWF themes.
- Added code to retrieve system colors via Win32 GetSysColors if
running on Win32, this makes us compatible with Microsoft instead
of returning static colors on Win32. Unix platforms still will
use the static colors
* Color.cs: Added UpdateKnownColor() method to allow updating of
the KnownColors array
2005-09-26 Kornél Pál <kornelpal@hotmail.com>
* Graphics.cs: DrawImage: imageAttr can be null. Fixed to pass IntPtr.Zero
when imageAttr is null.
2005-09-26 Vladimir Krasnov <vladimirk@mainsoft.com>
* Brush.jvm.cs: fixed transform methods, createContext
* TextureBrush.jvm.cs: implemetated transform, WrapMode, ctors
2005-09-21 Vladimir Krasnov <vladimirk@mainsoft.com>
* Bitmap.jvm.cs: fixed Clone, InternalSave, Initialize, ctor refactoring, remarks refactoring
* Image.jvm.cs: fixed GetFrameCount, GetThumbnailImage, SelectActiveFrame, remarks refactoring
* PlainImage.jvm.cs: added metadata props, fixed ctor
* PlainImageCollection.jvm.cs: fixed class access
2005-09-21 Jordi Mas i Hernandez <jordi@ximian.com>
* Graphics.cs: Fixes exception type at FromImage method
2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
* Graphics.jvm.cs: bitmap resolution fix in DrawImage
2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
* Graphics.jvm.cs: fixed DrawImage
2005-09-19 Miguel de Icaza <miguel@novell.com>
* Graphics.cs: Removed restriction on the images that can be
loaded. Indexed images *can* be loaded
2005-09-18 Miguel de Icaza <miguel@novell.com>
* Image.cs: introduce a workaround that catches errors on systems
that lack GDI+ as this is being triggered too easily when we
enumerate attributes on loaded classes.
The real bug to fix is #76062.
2005-09-17 Kornél Pál <kornelpal@hotmail.com>
* Image.cs: Implemented FromHbitmap.
2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
* gdipFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes so
the JIT won't add demands for UnmanagedCode.
* carbonFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes
so the JIT won't add demands for UnmanagedCode on Mac OSX.
* Bitmap.cs: Added LinkDemand for UnmanagedCode on GetHbitmap
(+ overloads) and GetHicon methods.
* Graphics.cs: Added LinkDemand for UnmanagedCode on FromHdcInternal,
FromHwndInternal and ReleaseHdcInternal methods (which are all public
despite their names).
2005-09-15 Konstantin Triger <kostat@mainsoft.com>
* Graphics.jvm.cs: text transform, headless session
2005-09-14 Vladimir Krasnov <vladimirk@mainsoft.com>
* Bitmap.jvm.cs: native object refactoring
* Image.jvm.cs: native object refactoring
* Graphics.jvm.cs: fixed access to image native object
* TextureBrush.jvm.cs: fixed access to image native object
* Added PlainImage.jvm.cs, PlainImageCollection.jvm.cs
2005-09-14 Geoff Norton <gnorton@customerdna.com>
* carbonFunctions.cs: Add GetCGContextForNSView for Cocoa# integration
* Graphics.cs: Check GDIPlus.UseCocoaDrawable for Cocoa# integration
* gdipFunctions.cs: Set UseCocoaDrawable depending on the environment variable MONO_GDIP_USE_COCOA_BACKEND
2005-09-14 Konstantin Triger <kostat@mainsoft.com>
* Graphics.jvm.cs: transform, container, thin pen
2005-09-12 Konstantin Triger <kostat@mainsoft.com>
* AdvancedStroke.jvm.cs: constants for pen fitting calculations
* Pen.jvm.cs: fixing transform, pen fitting
2005-09-12 Konstantin Triger <kostat@mainsoft.com>
* Region.jvm.cs: IsVisible is about intersection
2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
* ImageConverter.cs: Use default TypeDescriptor implementation of
GetProperties.
2005-09-11 Konstantin Triger <kostat@mainsoft.com>
* Graphics.jvm.cs: fixing clipping with rotate transform
2005-09-11 Konstantin Triger <kostat@mainsoft.com>
* Region.jvm.cs: default region is infinite
2005-09-10 Konstantin Triger <kostat@mainsoft.com>
* Graphics.jvm.cs: fixing clipping stuff
2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
* Bitmap.jvm.cs: fixed bitamp accessors
* Image.jvm.cs: fixed image accessors
2005-09-07 Konstantin Triger <kostat@mainsoft.com>
* AdvancedStroke.jvm.cs: fix matrix translate
* Graphics.jvm.cs: fix matrix concatenation order
2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
* Brush.jvm.cs: added transform methods
2005-09-06 Konstantin Triger <kostat@mainsoft.com>
* StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs:
implementing fitting, output transform
* Graphics.jvm.cs: fixing DrawXXX, Fill, Clipping, Containers
2005-09-06 Konstantin Triger <kostat@mainsoft.com>
* ColorTranslator.cs: perform case insensitive check
2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
* gdipFunctions.cs: define new functions
* Bitmap.cs: fixes image loading and exceptions
* Image.cs: fixes image loading and exceptions
Thanks Kornél Pál for its help
2005-08-30 Vladimir Krasnov <vladimirk@mainsoft.com>
* Brush.jvm.cs: added brush transform field
2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
* Graphics.jvm.cs: fixed .ctor (InterpolationMode)
2005-08-28 Konstantin Triger <kostat@mainsoft.com>
* StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs
Graphics.jvm.cs: adjust stroke before widening
2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
* Graphics.jvm.cs: Implemented BeginContainer, EndContainer,
Save, Restore
2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
* PointConverter.cs: Use Int32Converter instead of Int32.Parse. First
convert string to int before checking number of components.
* RectangleConverter.cs: same.
* SizeConverter.cs: same.
2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
* ColorConverter.cs: Use Int32Converter instead of Int32.Parse to
convert individual components. Special case string containing hex
prefix. Convert components before checking count.
2005-08-25 Marek Safar <marek.safar@seznam.cz>
* gdipFunctions.cs: GetIconInfo new user32 method.
GdipGetDC uses IntPtr.
* gdipStructs.cs: Defined IconInfo struct.
* Graphics.cs: FromImage throws exception when image has an indexed format.
GetHdc fixed.
* Icon.cs: Implemented FromHandle, Dispose.
2005-05-24 Michael Hutchinson <m.j.hutchinson@gmail.com>
* ToolboxBitmapAttribute.cs: Implemented retrieving the image
2005-08-23 Vladimir Krasnov <vladimirk@mainsoft.com>
* Graphics.jvm.cs: Fixed ResetTransform, TransfromPoints
Fixed SmoothingMode property
2005-08-23 Jordi Mas i Hernandez <jordi@ximian.com>
* Brushes: Do not create the objects every time that they are requested
as in Pens we create and cache them only once when need it. This also
fixes the Equals method between two objects requested to Brushes
2005-08-22 Jordi Mas i Hernandez <jordi@ximian.com>
* SolidBrush.cs: Fixes Dispose to avoid non-disposing some objects
* Brush.cs Fixes Dispose to avoid non-disposing some objects
* Pen.cs: Fixes Dispose to avoid non-disposing some objects
* Region.cs: Dipose always frees if the resource was allocated
2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
* gdipFunctions.cs: Before calling GdiplusShutdown we make that all of handles
from gdiplus have been released
2005-08-18 Vladimir Krasnov <vladimirk@mainsoft.com>
* Pen.jvm.cs: Fixed DashSpacing in createStrokedShape
* Color.cs: Fixed java NativeObject property
* Image.jvm.cs: Fixed Save method
2005-08-16 Andrew Skiba <andrews@mainsoft.com>
* Icon.jvm.cs: match Bitmap internal constructor change
* Image.jvm.cs: use ImageCodecInfo.Clsid as primary format id, not ImageFormat
* Bitmap.jvm.cs: started changes for supporting ImageCodecInfo
2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
* Color.cs: To match MS.NET, throw ArgumentException instead of
ArgumentOutOfRangeException when color is not between 0 and 255.
* RectangleConverter.cs: Take culture into account when converting
to/from string. Use culture's ListSeparator as separator character.
2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
* Color.cs: Fixed line endings. Set eol-style to native.
* ColorConverter.cs: Fixed line endings. Set eol-style to native.
* Size.cs: Set eol-style to native.
* SizeF.cs: Use current culture in ToString(), set eol-style to native.
* SizeConverter.cs: Take culture into account when converting to/from
string. Set eol-style to native.
* Point.cs: Fixed line endings. Set eol-style to native.
* PointF.cs: Use current culture in ToString(), set eol-style to native.
* PointConverter.cs: Take culture into account when converting to/from
string. Set eol-style to native.
* ImageFormatConverter.cs: Fixed line endings. Set eol-style to
native.
* RectangleConverter.cs: Fixed line endings. Set eol-style to native.
2005-08-16 Vladimir Krasnov <vladimirk@mainsoft.com>
* Graphics.jvm.cs: Fixed InterpolationMode property
2005-08-15 Vladimir Krasnov <vladimirk@mainsoft.com>
* Graphics.jvm.cs: Fixed DrawImage
2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
* ColorConverter.cs: Use TextInfo.ListSeparator as separator, as this
appears to be what MS.NET uses.
2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
* Point.cs: Use invariant culture for converting numbers to string.
* PointF.cs: same
* SizeF.cs: same
2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
* Color.cs: Fixed ToString for uninitialized color.
* ColorConverter.cs: Support conversion from whitespace-only string to
Color.Empty. Fixed conversion from Color.Empty and known colors to
string.
2005-08-14 Konstantin Triger <kostat@mainsoft.com>
* Graphics.jvm.cs: Initial properties implementation
2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
* Graphics.jvm.cs: DrawImage refactoring
2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
* Graphics.jvm.cs: Implemented PageUnit, PageScale.
Added UpdateInternalTransform
Fixed DrawImage, Transform, ConcatenateTransform
2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
* Icon.jvm.cs: Internal constructor from bitmap
* Added SystemIcons.jvm.cs with implementation of SystemIcons
2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
* Region.jvm.cs: Fixed GetBounds, IsVisible, IsEmpty, IsInfinite, Equals
(all methods that use Graphics object)
2005-08-11 Konstantin Triger <kostat@mainsoft.com>
* Graphics.jvm.cs: Refactoring
2005-08-11 Konstantin Triger <kostat@mainsoft.com>
* Graphics.jvm.cs: Fixed Clear, Refactoring
2005-08-11 Konstantin Triger <kostat@mainsoft.com>
* Graphics.jvm.cs: Fixed FillClosedCurve
2005-08-10 Zoltan Varga <vargaz@freemail.hu>
* Rectangle.cs (Intersect): Return a non-empty rectangle if the two
rectangles touch each other.
2005-08-09 Konstantin Triger <kostat@mainsoft.com>
* Graphics.jvm.cs: Fixed DrawCurve.
2005-08-09 Konstantin Triger <kostat@mainsoft.com>
* StrokeFactory.jvm.cs: use correct stroke
2005-08-09 Konstantin Triger <kostat@mainsoft.com>
* Added AdvancedStoke.jvm.cs and StrokeFactory.jvm.cs
* Pen refactoring.
2005-08-09 Andrew Skiba <andrews@mainsoft.com>
* FontConverter.cs: exclude not implemented destructor from TARGET_JVM
2005-08-09 Andrew Skiba <andrews@mainsoft.com>
* ColorConverter.cs, ColorTranslator.cs: fixes to pass tests
committed in r48150
2005-08-08 Konstantin Triger <kostat@mainsoft.com>
* Graphics.jvm.cs: Refactoring
2005-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
* Graphics.jvm.cs: Fixed DrawPolygon
2005-08-08 Konstantin Triger <kostat@mainsoft.com>
* Graphics.jvm.cs: Refactoring
* Pen.jvm.cs: setting awt.Stroke as a base
2005-08-07 Konstantin Triger <kostat@mainsoft.com>
* Graphics.jvm.cs: Refactoring
2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
* Graphics.jvm.cs: Fixed DrawLines, DrawPolygon to use GraphicsPath
2005-08-07 Andrew Skiba <andrews@mainsoft.com>
* Rectangle.cs: Intersect fixed
* RectandleF.cs: Intersect and Inflate fixed
2005-08-07 Andrew Skiba <andrews@mainsoft.com>
* Point.cs: Produce same ToString result as dotnet
2005-08-07 Andrew Skiba <andrews@mainsoft.com>
* Color.cs: GetHashCode is affected by Name, too
2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
* Pen.jvm.cs: Fixed ctor, LineCap, SetLineCap
2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
* Graphics.jvm.cs: Fixed DrawLines, DrawPolygon
2005-08-03 Andrew Skiba <andrews@mainsoft.com>
* SolidBrush.jvm.cs: fix a typo
2005-08-03 Andrew Skiba <andrews@mainsoft.com>
* Image.jvm.cs, StringFormat.jvm.cs, FontFamily.jvm.cs, Bitmap.jvm.cs,
Pen.jvm.cs, Region.jvm.cs, Brush.jvm.cs, Graphics.jvm.cs, TextureBrush.jvm.cs,
Font.jvm.cs: Added TARGET_JVM implementation
2005-08-03 Andrew Skiba <andrews@mainsoft.com>
* Rectangle.cs, RectangleF.cs: TARGET_JVM - Add NativeObect property
2005-08-03 Andrew Skiba <andrews@mainsoft.com>
* BasicShape.jvm.cs: Added TARGET_JVM specific class
2005-08-03 Andrew Skiba <andrews@mainsoft.com>
* Icon.jvm.cs, SystemColors.jvm.cs: Added TARGET_JVM implementations
2005-08-03 Andrew Skiba <andrews@mainsoft.com>
* ColorTranslator.cs: (GH merge) recognise HTML system colors
2005-08-02 Andrew Skiba <andrews@mainsoft.com>
* SolidBrush.jvm.cs: added TARGET_JVM implementation of this class
2005-08-02 Andrew Skiba <andrews@mainsoft.com>
* Color.cs: TARGET_JVM - NativeObject property
2005-07-27 Andrew Skiba <andrews@mainsoft.com>
* Color.cs: Fixes equality operators, change isXXXcolor booleans into flags enum.
2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
* RectangleF.cs: Fixes IsEmpty logic
2005-06-23 Jordi Mas i Hernandez <jordi@ximian.com>
* Graphics.cs: implements FromHwndInternal
2005-06-13 Peter Bartok <pbartok@novell.com>
* Icon.cs(ToBitmap): If the icon is not 32bits, create the bitmap
through an intermediary step, which turns it into a 32bit version.
Fixes #75254
2005-06-13 Kornél Pál <kornelpal@hotmail.com>
* ComIStreamMarshaler.cs: Dispose releases managed objects as well,
removed some unnecessary code
* ComIStreamWrapper.cs: Reworked Seek method to proper support of
positions beyond the size of stream
2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Font.cs: fix platform checks.
2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com>
* Rectangle.cs:
- Fixes is empty method IsEmpty logic
- Fixes Contains method logic
- Fixes IntersectsWith logic
* RectangleF.cs:
- Fixes is empty method IsEmpty logic
- Fixes Contains method logic
- Fixes IntersectsWith logic
2005-05-28 Kornél Pál <kornelpal@hotmail.com>
* ComIStreamMarshaler.cs: GC.SuppressFinalize(this) is not called in
destructors. Some methods renamed. Removed unnecessary variables.
2005-05-25 Jonathan Gilbert <logic@deltaq.org>
* Image.cs: Added retrieveGDIPalette () and storeGDIPalette ()
and modified the Palette property to call them. This non-
persistent behaviour was discovered by trial and error with
Microsoft's implementation. In fact, the Palette property
does not behave like a property at all! It is the only way an
instance of System.Drawing.Imaging.ColorPalette can be created,
and it reflects a backing store that is only updated when the
property 'set' method is called. Also updated Clone () since
the palette is no longer cached at image load time.
* Image.cs: Added IsIndexedPixelFormat () in the same vein as
Image::IsAlphaPixelFormat and Image::IsCanonicalPixelFormat.
As such a function is not listed in MSDN nor given in
Microsoft's implementation, I have made it a private function
within the class that uses it.
2005-05-24 Kornél Pál <kornelpal@hotmail.com>
* Graphics.cs: Revised DrawString methods
2005-03-22 Peter Bartok <pbartok@novell.com>
* Graphics.cs: Fixed bug #74762, DrawString was crashing on s.Length
if s was null.
2005-05-20 Kornél Pál <kornelpal@hotmail.com>
* Image.cs: Uses MemoryStream wrapping on all platforms if needed
* gdipFunctions.cs: Modified conditional compilation syntax
* ComIStreamWrapper.cs: Modified conditional compilation syntax
* ComIStreamMarshaler.cs: Modified conditional compilation syntax
2005-05-18 Marek Safar <marek.safar@seznam.cz>
* Bitmap.cs: Add null check into ctor.
2005-05-16 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
* gdipFunctions.cs: Kornél Pál's IStream bug fixing
* ComIStreamWrapper.cs: Kornél Pál's IStream bug fixing
* ComIStreamMarshaler.cs: Kornél Pál's IStream bug fixing
2005-05-14 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
* Bitmap.cs: Kornél Pál's Bitmap class ctor and MakeTransparent leak fixes
2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
* gdipFunctions.cs: add GdipLoadImageFromStream and GdipSaveImageToStream
* ComIStreamWrapper.cs: Kornel Pal COM Stream for Win32
* ComIStreamMarshaler.cs: Kornel Pal COM Stream for Win32
* Image.cs: uses new Win32 Stream functions when need it
2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
* Color.cs: Fix GetSaturation() again and remove
obsolete constants.
2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
* Color.cs: New, correct implementations for GetHue(),
GetBrightness() and GetSaturation().
2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
* gdipFunctions.cs: Use PlatformID.Unix under NET_2_0.
* Graphics.cs: Use PlatformID.Unix under NET_2_0.
* Image.cs: Use PlatformID.Unix under NET_2_0.
2005-05-05 Miguel de Icaza <miguel@novell.com>
* Bitmap.cs, Icon.cs (constructor): Use
GetManifestResourceStream(Type,string) in the constructor that
takes a type.
2005-04-27 Lluis Sanchez Gual <lluis@novell.com>
* PointF.cs: Make serialization compatible with MS.
2005-04-10 Geoff Norton <gnorton@customerdna.com>
* Graphics.cs:
carbonFunctions.cs:
Use CGContextSynchronize instead of CGContextFlush. This saves
on average 20000 ticks per drawing operation.
2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
* Color.cs: take into account the name color in == and != operators
* Font.cs: Use Equals instead of == to compare the family name
* FontFamily.cs:
- Removes generic fontfamilies cache (done at libgdiplus level)
- Fixes Equals method
2005-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
* Pen.cs: remove locks. They are done at gdiplus level
* Brush.cs: remove locks. They are done at gdiplus level
* Image.cs: remove locks. They are done at gdiplus level
2005-03-30 Rogério Pereira Araújo <rogerio.araujo@gmail.com>
* Icon.cs: Finished Icon(Type, String) ctor
2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
* gdipFunctions.cs: fixes GdipGetImagePalette signature
* Image.cs: Implements Palette property using gdiplus
2005-03-17 Peter Bartok <pbartok@novell.com>
* gdipFunctions.cs:
- Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
method, now includes a get header delegate
- Added StreamGetHeaderImpl method, to allow libgdiplus to determine
the image type even on non-seekable streams
- Fixed StreamGetBytesImpl to consider the bytes already retrieved
via StreamGetHeaderImpl
* Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
the new StreamGetHeader delegate
2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
* Pen.cs: Fixes dispose method to allow to be called multiple times
* Graphics.cs: matrix are saved and restored at gdiplus level
2005-02-24 Geoff Norton <gnorton@customerdna.com>
* gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
so they dont get garbage collected before use.
2005-02-11 Peter Bartok <pbartok@novell.com>
* gdipFunctions.cs: Fixed prototype to match previous checkin
2005-02-11 Peter Bartok <pbartok@novell.com>
* Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
it really is a pointer)
2005-02-10 Geoff Norton <gnorton@customerdna.com>
* Icon.cs: Implement GetObjectData ()
* Image.cs: Implement GetObjectData ()
2005-02-09 Geoff Norton <gnorton@customerdna.com>
* Icon.cs: Implement deserializer
* Bitmap.cs: Implement deserializer
2005-02-06 Ben Maurer <bmaurer@ximian.com>
* Brushes.cs: Kill the static ctor here, it has tons of code bloat.
2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
* Region.cs: revert Jackson's patch and fix this at libgdiplus level
2005-02-02 Jackson Harper <jackson@ximian.com>
* Region.cs: The default region constructor creates and infinite
region, not an empty one.
2005-01-27 Peter Bartok <pbartok@novell.com>
* Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
of HSV numbers. Previous implementation returned wrong numbers and NaN
on achromatic colors
2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
* PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
SizeConverter.cs, ColorConverter.cs, FontConverter.cs
: Implemented support for InstanceDescriptor.
2005-01-26 Peter Bartok <pbartok@novell.com>
* Icon.cs (ToBitmap): Now sets transparency in according to
icon AND mask
2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
* gdipFunctions.cs: Fixes GdipGet* function signatures
* FontFamily.cs: Fixes GdipGet* function calls
* Font.cs: Fixes ToString method
2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
* Graphics.cs: calls XCloseDisplay on X11 when need it
* gdipFunctions.cs: calls XCloseDisplay on X11 when need it
2004-12-27 Zoltan Varga <vargaz@freemail.hu>
* gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
2004-12-16 Peter Bartok <pbartok@novell.com>
* Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
equivalent to the gdi+ native object
* Font.cs (GetHfont): Removed Wine assumptions, the handle is now
equivalent to the gdi+ native object
2004-12-09 Geoff Norton <gnorton@customerdna.com>
* carbonFunctions.cs: New carbon functions/structures
* Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
2004-12-08 Geoff Norton <gnorton@customerdna.com>
* Graphics.cs: Drop FromHwndWithSize; we can't change the public API
Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
2004-12-07 Geoff Norton <gnorton@customerdna.com>
* Graphics.cs: Add FromHwndWithSize for the MWF/Quartz backend
* gdipFunctions.cs: Add the quartz dllimport into libgdiplus
2004-12-06 Miguel de Icaza <miguel@ximian.com>
* FontFamily.cs: This one is static.
2004-11-25 Ravindra <rkumar@novell.com>
* gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
type from int to Status type.
2004-11-25 Marek Safar <marek.safar@seznam.cz>
* Image.cs: Add CheckStatus to SaveAdd.
2004-11-22 Ravindra <rkumar@novell.com>
* Graphics.cs: Fixed null values handling in all overloads of
MeasureString method.
2004-11-18 Ravindra <rkumar@novell.com>
* gdipFunctions.cs: Removed the .so extension from a DllImport
that hooks to X11.
2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
* gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+
termination
2004-11-03 Miguel de Icaza <miguel@ximian.com>
* TextureBrush.cs (Clone): While cloning, it is not enough to let
GDIPlus clone the underlying data, we must alos clone the managed
information.
* Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
errors in the future, set the lock on the object before doing any
other tests, not after.
(Clone): While cloning, it is not enough to let
GDIPlus clone the underlying data, we must alos clone the managed
information.
* Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
errors in the future.
Set the lock in the object before checkign disposed.
* SolidBrush.cs (Clone): While cloning, it is not enough to let
GDIPlus clone the underlying data, we must alos clone the managed
information.
(Dispose): Set the nativeObject to IntPtr.Zero to catch
errors in the future.
2004-10-28 Ravindra <rkumar@novell.com>
* gdipFunctions.cs: Added checks for null stream in the
StreamHelper internal class.
* Icon.cs: Removed an ugly hack that used temp files in
ToBitmap () method. We use MemoryStream instead.
2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
* Font.cs: fixes bug 66533
2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
* Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
lock operations after conversation with Miguel. Do not really
need it.
2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
* Bitmap.cs: Fixes MakeTransparent problem with 24bbps
2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
* Bitmap.cs: Fixes MakeTransparent method
2004-10-13 Ravindra <rkumar@novell.com>
* Graphics.cs: Moved the initialization of 'use_x_drawable'
member out of private constructor to class initialization.
So that, we get it right even if Graphics is not instantiated.
This fixes the problem we face (otherwise) when we make first
call to Graphics.FromHwnd () method.
2004-10-08 Ravindra <rkumar@novell.com>
* Image.cs: Suppress finalization in Dispose () method.
2004-10-04 Ravindra <rkumar@novell.com>
* gdipFunctioncs.cs: Fix from Alois for bug #67383.
2004-09-29 Jackson Harper <jackson@ximian.com>
* Graphics.cs: Use FromHdcInternal to set the X display
handle. Add a flag to check if we are on unix so we aren't calling
Environment.OSVersion.Platform all the time. Mad props to Peter
Bartok for this.
2004-09-17 Marek Safar <marek.safar@seznam.cz>
* Font.cs (FromHfont, ToHfont): Fixed windows implementation.
ToLogFont: Implemented.
* gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
avoid casts.
GdipCreateFontFromLogfontA: A new extern call.
2004-09-13 Ravindra <rkumar@novell.com>
* Graphics.cs: MSDN says that using image width and height gives
better performance, hence we are using image width and height to
avoid autoscaling in DrawImageUnscaled.
2004-09-10 Ravindra <rkumar@novell.com>
* Graphics.cs: Implemented DrawIcon methods and fixed
DrawImageUnscaled method implementation.
2004-08-21 Jackson Harper <jackson@ximian.com>
* ImageAnimator.cs: Run animator as a background thread so we do
not hang on exit.
2004-08-21 Ravindra <rkumar@novell.com>
* gdipFunctions.cs: Modified exception message to include the case
of missing required libraries for different formats.
2004-08-10 Jackson Harper <jackson@ximian.com>
* SystemColors.cs: Make Highlight colour match colour from windows
classic color scheme.
2004-07-30 Ravindra <rkumar@novell.com>
* Font.cs: Fixed Height property implementation and implemented
GetHeight method and its overloads.
2004-07-29 Sanjay Gupta <gsanjay@novell.com>
* gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
P/Invoke function for Image.
* Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
2004-07-29 Sanjay Gupta <gsanjay@novell.com>
* gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and
GdipGetAllPropertyItems P/Invoke function for Image.
* gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
* Image.cs: Corrected implementation of PropertyItems property.
2004-07-29 Sanjay Gupta <gsanjay@novell.com>
* gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList
P/Invoke function for Image.
* Image.cs: Changed implementation of PropertyIdList property.
2004-07-28 Sanjay Gupta <gsanjay@novell.com>
* gdipStructs.cs: Implementing PropertyItem property in Image.cs.
* Image.cs: Implemented PropertyItems and PropertyIdList properties.
2004-07-21 Ravindra <rkumar@novell.com>
* gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
* Graphics.cs: fixes MeasureCharacterRanges function. It was completely wrong.
* StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
* gdipFunctions.cs: new GDI function calls
2004-07-16 Ravindra <rkumar@novell.com>
* gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
2004-07-15 Ravindra <rkumar@novell.com>
* gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
2004-07-13 Ravindra <rkumar@novell.com>
* gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
This was redundant. It was kept in previous checkin to avoid
build breakage.
2004-07-13 Ravindra <rkumar@novell.com>
* gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
2004-07-09 Peter Bartok <pbartok@novell.com>
* Graphics.cs: Added support required for new managed SWF library
* gdipFunctions.cs: Added XOpenDisplay definition/import
2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
* gdipFunctions.cs: fixes bug 61050
2004-06-24 Sanjay Gupta <gsanjay@novell.com>
* ImageAnimator.cs: Rewrote complete implementation.
2004-06-24 Sanjay Gupta <gsanjay@novell.com>
* gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
If read function was called after seek function call, the
implementation was returning data from bytes already peeked and
not from the new position in stream, which we have seeked.
2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
* Graphics.cs: added MeasureString wrappers
2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
* Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux
2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
* Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
2004-06-18 Ravindra <rkumar@novell.com>
* FontConverter.cs: Implemented the missing functions.
* Font.cs: Added some notes.
2004-06-16 Sanjay Gupta <gsanjay@novell.com>
* gdipFunctions.cs: Modified Function signature for
GdipSaveImageToDelegate_linux() method for saving tiff images
to streams.
* image.cs: Modified function call GdipSaveImageToDelegate_linux()
with new signature.
2004-06-15 Sanjay Gupta <gsanjay@novell.com>
* gdipFunctions.cs: Added delegate and StreamHelper functions, Close
and Size, required by TIFFCodec. Modifed Function signature for
GdipLoadImageFromDelegate_linux() method.
* image.cs: Modified function call GdipLoadImageFromDelegate_linux()
with new signature.
2004-06-11 Ravindra <rkumar@novell.com>
* gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
from out int to out IntPtr.
* SolidBrush.cs: Same.
2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
* Image.cs: API signature fixes, meaning DisposeResources is now
private and marked InitFromStream internal
2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
* FontFamily.cs: simplifies object destruction and fixes
2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
* FontFamily.cs: added destructor
* Graphics.cs: added destructor to stop leaking, remove debugging code
2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
* gdipFunctions.cs: added GdipSaveAddImage
* Image.cs: added SaveAdd methods
2004-06-02 Peter Bartok <pbartok@novell.com>
* gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
(This fixes bug #59479)
2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
* Font.cs: Added missing Browsable attribute on SizeInPoints.
* Region.cs: Removed extra ComVisible attribute from Clone().
2004-06-01 Ravindra <rkumar@novell.com>
* Pen.cs: Added a note on Dispose method.
* Brush.cs: Fixed Dispose method.
* SolidBrush.cs: Fixed Dispose method.
2004-05-28 Ravindra <rkumar@novell.com>
* gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
rectangles.
* Graphics.cs: Implemented Dispose method and changed Draw/Fill
rectangles implementation (This is basically done to avoid lots
of brush and pen setup happening in libgdiplus.)
2004-05-27 Ravindra <rkumar@novell.com>
* Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
2004-05-26 Sanjay Gupta <gsanjay@novell.com>
* ImageFormatConverter.cs: Fixed issues discovered from nunit
test cases.
2004-05-26 Ravindra <rkumar@novell.com>
* Color.cs: Corrected Color.Green property.
2004-05-24 Jordi Mas i Hernandez <jordi@ximian.com>
* gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
2004-05-20 Sanjay Gupta <gsanjay@novell.com>
* Icon.cs: Fixed issue with size property.
2004-05-18 Ravindra <rkumar@novell.com>
* Pen.cs: Added value checks in DashPattern and CompoundArray
properties.
2004-05-16 Gert Driesen <drieseng@users.sourceforge.net>
* Graphics.cs: fixed warning
* ImageAnimator.cs: fixed warning
* FontConverter.cs: fixed public API
2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
* gdipFunctions.cs: Fixed prototype for
GdipGetEncoderParameterList
* Image.cs: Reworked Save functions to handle EncoderParameters.
Implemented GetEncoderParameterList
Also removed unused setGDIPalette internal method.
2004-05-14 Peter Bartok <pbartok@novell.com>
* StringFormat.cs: Added CharacterRange handling
* Graphics.cs: Implemented MeasureCharacterRanges method
2004-05-14 Peter Bartok <pbartok@novell.com>
* Graphics.cs: Added error check
2004-05-14 Duncan Mak <duncan@ximian.com>
* gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
(GdipFlattenPath, GdipWarpPath, GdipWidenPath):
(GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
2004-05-14 Sanjay Gupta <gsanjay@novell.com>
* ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
2004-05-13 Sanjay Gupta <gsanjay@novell.com>
* ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method.
2004-05-13 Peter Bartok <pbartok@novell.com>
* Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
resize the image.
2004-05-12 Peter Bartok <pbartok@novell.com>
* Image.cs: Implemented GetThumbnailImage
2004-05-13 Sanjay Gupta <gsanjay@novell.com>
* Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and
FromXDrawable(IntPtr, IntPtr) internal.
2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
* Color.cs: work for API compatibilty: private date, todos
* Font.cs: work for API compatibilty: private date, todos
* FontFamily.cs: work for API compatibilty: private date, todos
* Graphics.cs: work for API compatibilty: private date, todos
* Icon.cs: work for API compatibilty: private date, todos
* Image.cs: work for API compatibilty: private date, todos
* ImageAnimator.cs: work for API compatibilty: private date, todos
* Point.cs: work for API compatibilty: private date, todos
* PointF.cs: work for API compatibilty: private date, todos
* Rectangle.cs: work for API compatibilty: private date, todos
* RectangleF.cs: work for API compatibilty: private date, todos
* Region.cs: work for API compatibilty: private date, todos
* Size.cs: work for API compatibilty: private date, todos
* SizeF.cs: work for API compatibilty: private date, todos
* SolidBrush.cs: work for API compatibilty: private date, todos
* StringFormat.cs: work for API compatibilty: private date, todos
* SystemPens.cs: work for API compatibilty: private date, todos
* TextureBrush.cs: work for API compatibilty: private date, todos
* gdipStructs.cs: work for API compatibilty: private date, todos
2004-05-12 Ravindra <rkumar@novell.com>
* Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
Added missing attributes and some coding style fixes.
* Pen.cs: Implementing CustomStartCap and CustomEndCap properties and
some fixes.
2004-05-11 Sanjay Gupta <gsanjay@novell.com>
* ImageAnimator.cs: Implemented first version.
2004-05-11 Ravindra <rkumar@novell.com>
* gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
for the same.
2004-05-10 Ravindra <rkumar@novell.com>
* gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
for the same. Added few related P/Invokes for Pen also.
2004-05-06 Sanjay Gupta <gsanjay@novell.com>
* ImageAnimator.cs: Corrected implementation of CanAnimate() method.
2004-05-06 Ravindra <rkumar@novell.com>
* RectangleConverter.cs: Implemented GetProperties () method.
* SizeConverter.cs: Implemented GetProperties () method.
* PointConverter.cs: Implemented GetProperties () method.
* FontConverter.cs: Implemented some of the methods.
2004-05-06 Ravindra <rkumar@novell.com>
* Color.cs: Fixed Name property.
* ColorTranslator.cs: Fixed the existing methods and implemented
the missing methods.
* ColorConverter.cs: Fixed the existing methods and implemented
the missing methods. Also, fixed coding style.
2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
* Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
* Image.cs: raw_format should be handled by GDI+
* Bitmap.cs: raw_format should be handled by GDI+
2004-05-04 Ravindra <rkumar@novell.com>
* Pen.cs: Modified exception message. Fixed Transform, DashPattern,
and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
properties and SetLineCap method. In constructors use IntPtr instead
of int.
* SolidBrush.cs: Modified exception message.
* TextureBrush.cs: Fixed Transform property.
* gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
LinearGradientBrush.cs.
2004-04-30 Sanjay Gupta <gsanjay@novell.com>
* Image.cs: Implemented FrameDimensionsList property.
2004-04-30 Ravindra <rkumar@novell.com>
* gdipFunctions.cs: Added few more P/Invoke calls for
lineargradient brush and added one case statement in
CheckStatus method.
2004-04-30 Jordi Mas i Hernandez <jordi@ximian.com>
* Image.cs: takes into account MemoryBmp format when saving
2004-04-30 Ravindra <rkumar@novell.com>
* StringFormat.cs: Added checks for status.
2004-04-30 Sanjay Gupta <gsanjay@novell.com>
* Image.cs: Removed calls which passes byte[] for Guid parameter.
* gdipFunctions.cs: Removed unwanted unix specific function calls.
2004-04-30 Ravindra <rkumar@novell.com>
* Graphics.cs: Added checks for status.
* Image.cs: Added a check for status.
* FontFamily.cs: Added checks for status.
2004-04-29 Peter Bartok <pbartok@novell.com>
* Brushes.cs: Fixed bug #52695. No longer creates a new
brush for every request and behaves Microsoft compatible
2004-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
* Image.cs: fixes Save method. It now retrieves the proper encoder and uses
its ClsID instead of the formatID (as GDI+ expects)
2004-04-29 Ravindra <rkumar@novell.com>
* Font.cs: Added checks for status.
* Bitmap.cs: Added checks for status.
* Pen.cs: Added checks for status.
2004-04-28 Sanjay Gupta <gsanjay@novell.com>
* ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
Converted to unix format from dos format.
2004-04-28 Sanjay Gupta <gsanjay@novell.com>
* ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
2004-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
* gdipStructs.cs: added GdipImageCodecInfo struct
2004-04-28 Sanjay Gupta <gsanjay@novell.com>
* ImageFormatConverter.cs: Corrected ConvertFrom method.
2004-04-27 Sanjay Gupta <gsanjay@novell.com>
* ImageConverter.cs: Added exception message.
* IconConverter.cs: Added exception message.
* ImageFormatConverter.cs: Implemented first version.
2004-04-27 Sanjay Gupta <gsanjay@novell.com>
* ImageConverter.cs: Implemented first version.
2004-04-27 Sanjay Gupta <gsanjay@novell.com>
* IconConverter.cs: Implemented first version.
2004-04-26 Sanjay Gupta <gsanjay@novell.com>
* Image.cs: Corrected implementation of Property RawFormat.
* gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
2004-04-25 Sanjay Gupta <gsanjay@novell.com>
* Bitmap.cs: Resolved a compile time error.
* Image.cs: Changed the implementation of few methods to progress
with ImageAnimator class.
* gdipFunctions.cs: Added few linux only function calls.
* Icon.cs: Removed unused variable from code.
2004-04-25 Vladimir Vukicevic <vladimir@pobox.com>
* Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
2004-04-23 Vladimir Vukicevic <vladimir@pobox.com>
* Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
serialization for Bitmaps. (Bugzilla #52568)
2004-04-23 Ravindra <rkumar@novell.com>
* RectangleConverter.cs: Fixed ConvertTo () method.
* SizeConverter.cs: Fixed ConvertTo () method.
* PointConverter.cs: Fixed ConvertTo () method.
2004-04-23 Sanjay Gupta <gsanjay@novell.com>
* ImageAnimator.cs: Implemented CanAnimate() method.
2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
* Image.cs: added RotateFlip and RemovePropertyItem calls
2004-04-22 Ravindra <rkumar@novell.com>
* RectangleConverter.cs: Implemented. Also changed file format
dos2unix.
* Rectangle.cs: Fixed ToString method.
* RectangleF.cs: Fixed ToString method.
2004-04-22 Ravindra <rkumar@novell.com>
* SizeConverter.cs: Implemented some of the functions.
* PointConveter.cs: Implemented.
* gdipFunctions.cs: Corrected one typo.
* Brushes.cs: Added a comment.
2004-04-22 Vladimir Vukicevic <vladimir@pobox.com>
* gdipFunctions.cs: Fix StreamGetBytesImpl to handle
returning portions of the peek buffer back. Fixes #57379.
2004-04-21 Peter Bartok <pbartok@novell.com>
* Font.cs: Implemented Font.FromHfont method
* gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
* gdipFunctions.cs: Added imports for functions required to support
Font.FromHfont method
2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
* RectangleConverter.cs: stubbed out
* Font.cs : added missing members
2004-04-19 Sanjay Gupta <gsanjay@novell.com>
* Icon.cs: Fixed problem in extracting bitmap from Icon.
2004-04-16 Ravindra <rkumar@novell.com>
* Pen.cs: GC should be allowed to collect any pen including
system pens.
* SolidBrush.cs: GC should be allowed to collect any SolidBrush
including system brushes.
* Brushes.cs: Coding style.
* Pens.cs: Objects created by Pens are not modifiable on
MS.NET, so we are now. Also, coding style fixes.
* SystemPens.cs: Removed static constructor and changed file
format dos2unix.
* SystemBrushes.cs: Some cosmetic changes.
2004-04-15 Sanjay Gupta <gsanjay@novell.com>
* Icon.cs: Implemented more missing bits and fixed the problem
of icon not getting saved in proper format
2004-04-14 Sanjay Gupta <gsanjay@novell.com>
* Icon.cs: Implemented more missing bits
2004-04-13 Sanjay Gupta <gsanjay@novell.com>
* Icon.cs: Implemented few more missing bits
2004-04-12 Sanjay Gupta <gsanjay@novell.com>
* Icon.cs: Implemented first version
2004-04-11 Peter Bartok <pbartok@novell.com>
* Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
the code and using our own private gdiplus function when on Unix and using Win32
functions when running on Windows
* gdipStructs.cs: Added LOGFONTA structure
* gdipFunctions.cs: Added various DllImports required for Font.ToHfont
2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
* Image.cs: Save should use encoder.FormatID, not Clsid
2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
* Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
* gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
2004-04-06 Duncan Mak <duncan@ximian.com>
* gdipFunctions.cs (GdipCreatePath2): Fixed signature.
2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
* Region.cs: fixes GetRegionScans
* gdipFunctions.cs: fixes GetRegionScans
2004-04-06 Vladimir Vukicevic <vladimir@pobox.com>
* gdipFunctions.cs: Added stream delegate helpers for
stream loading/saving on linux
* Image.cs, Bitmap.cs: Converted to call into GDIPlus for
loading/saving image data.
2004-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
* Region.cs: implemented new methods
* Graphics.cs: implemented new methods
2004-04-02 Jordi Mas i Hernandez <jordi@ximian.com>
* Region.cs: implemented
2004-04-01 Duncan Mak <duncan@ximian.com>
* Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
* gdipFunctions.cs (GdipAddPathCurveI):
(GdipAddPathCurve2, GdipAddPathCurve2I):
(GdipAddPathCurve3, GdipAddPathCurve3I):
(GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
(GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
wrappers from GDI+.
2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
* Image.cs: implemented a few GDI+ wrapper calls
2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
* Bitmap.cs: remove redundant data already present at Image.cs
* Image.cs: use GDI+ functions to get image details
* StringFormat.cs: missing constructor and property
2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
* FontFamily.cs: added missing members and style clean
* Graphics.cs: fixed signature of DrawArc and DrawPie
* Image.cs: added missing members, fixes
* StringFormat.cs: missing constructor and property
2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
* Graphics.cs: Added missing DrawImage GDI+ calls
* gdipFunctions.cs: Added missing DrawImage GDI+ calls
2004-03-23 Ravindra <rkumar@novell.com>
* gdipFunctions.cs: Added few more P/Invoke calls for
LinearGradientBrush.
2004-03-22 Ravindra <rkumar@novell.com>
* gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
and did few coding style fixes.
2004-03-18 Ravindra <rkumar@novell.com>
* Brush.cs: Fixed Dispose method.
* SolidBrush.cs: Fixed clone method.
* TextureBrush.cs: Fixed clone method.
* gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
2004-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
2004-03-10 Ravindra <rkumar@novell.com>
* Pen.cs: Implemented PenType property.
* Brush.cs: Coding style.
2004-03-06 Ravindra <rkumar@novell.com>
* gdipFunctions.cs: Added few more GDI+ P/Invoke calls
for PathGradientBrush.
2004-03-06 Ravindra <rkumar@novell.com>
* gdipFunctions.cs: Added GDI+ P/Invoke calls for
PathGradientBrush.
2004-03-04 Duncan Mak <duncan@ximian.com>
* Region.cs: Indentation.
* RectangleF.cs: Changed the internal structure from a PointF,
SizeF to floats in order to match the layout from the C API.
2004-03-04 Jordi Mas i Hernandez <jordi@ximian.com>
* StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
2004-03-03 Sanjay Gupta <gsanjay@novell.com>
* gdipFunctions.cs: Added functions for ImageAttributes
2004-03-03 Sanjay Gupta <gsanjay@novell.com>
* Icon.cs: Missing function stubs added
* Icon.cs: Missing function stubs added
* IconConverter.cs: Missing function stubs added
* ImageAnimator.cs: Missing function stubs added
* ImageConverter.cs: Missing function stubs added
* ImageFormatConverter.cs: Missing function stubs added
2004-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
* Font.cs: Allow multiple styles
2004-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
* StringFormat.cs: Clone method
2004-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
* font.cs: fixes, Clone, and ToString
2004-02-21 Jordi Mas i Hernandez <jordi@ximian.com>
* gdipFunctions.cs: MeasureString
* Graphics.cs : MeasureString
2004-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
* Font.cs: destructor and unit conversion
* Graphics.cs : system dpi support
2004-02-13 Ravindra <rkumar@novell.com>
* Pen.cs: Fixed some bugs.
* TextureBrush.cs: Fixed some bugs.
2004-02-13 Sanjay Gupta <gsanjay@novell.com>
* gdipFunctions.cs: Added ImageCodecInfo functions
* Image.cs: Added few methods
2004-02-13 Jordi Mas i Hernandez <jordi@ximian.com>
* FontFamily.cs: remove hardcoded font names, a few bug fixes
2004-02-12 Sanjay Gupta <gsanjay@novell.com>
* gdipFunctions.cs: Added Image class functions
* Image.cs: Added few methods
2004-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
* graphics.cs: fixes parameters for DrawStrings functions
2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* SRDescriptionAttribute.cs: Added and implemented
* ToolboxBitmapAttribute.cs: Implemented a few members
* SystemIcons.cs: Stubbed
* StringFormat.cs: Implemented method
* Region.cs: Added Todo, fixed attribute
* Size.cs: Added attribute
* SizeF.cs: Added attribute
* RectangleF.cs: Added attributes
* Rectangle.cs: Added attributes
* PointF.cs: Added attribute
* Point.cs: Added attribute
2004-02-06 Ravindra <rkumar@novell.com>
* Brush.cs: Renamed GetException method to CheckStatus
and moved it to gdipFunctions.cs.
* gdipFunctions.cs: Added CheckStatus method.
* SolidBrush.cs: Using CheckStatus method.
* TextureBrush.cs: Using CheckStatus method.
* gdipEnums.cs: Added a missing value.
2004-02-05 Ravindra <rkumar@novell.com>
* Brush.cs: Added a missing namespace.
2004-02-05 Ravindra <rkumar@novell.com>
* gdipFunctions.cs: Added methods for HatchBrush and
SolidBrush.
* SolidBrush.cs: Added checks for status.
* Brush.cs: Added support for HatchBrush and TextureBrush
types in internal CreateBrush() method.
2004-02-03 Jordi Mas <jordi@ximian.com>
* Font.cs: Setup font properties
2004-02-03 Ravindra <rkumar@novell.com>
* TextureBrush.cs and Brush.cs: Moved GetException (Status)
method from TextureBrush.cs to Brush.cs.
* Brush.cs: Made GetException (Status) method internal.
2004-02-03 Sanjay Gupta <gsanjay@novell.com>
* gdipFunctions.cs: Added methods for Image class.
2004-01-30 Ravindra <rkumar@novell.com>
* TextureBrush.cs: Added more methods to complete it.
* gdipFunctions.cs: Added methods for TextureBrush class.
2004-01-30 Ravindra <rkumar@novell.com>
* gdipFunctions.cs: Added methods for TextureBrush class.
2004-01-30 Ravindra <rkumar@novell.com>
* Pen.cs: Modified to handle TextureBrush also.
* Bitmap.cs: Added one internal constructor.
* TextureBrush.cs: Implemented.
2004-01-29 Duncan Mak <duncan@ximian.com>
* gdipFunctions.cs
* Graphics.cs: Indentation fixes, removed long dangling lines and
extra spaces.
* Graphics.cs (IsVisible): Renamed variable to not use hungarian
notation.
2004-01-29 Sanjay Gupta <gsanjay@novell.com>
* FontFamily.cs: Implemented few methods and a constructor
2004-01-28 Sanjay Gupta <gsanjay@novell.com>
* gdipFunctions.cs: Added FontFamily and FontCollection functions.
* FontFamily.cs: Implemented missing functionalities.
2004-01-24 Duncan Mak <duncan@ximian.com>
* Graphics.cs (DrawPath): Implemented.
2004-01-23 Ravindra <rkumar@novell.com>
* Point.cs: ToString modified.
* PointF.cs: ToString modified.
* Size.cs: ToString modified.
* SizeF.cs: ToString modified. ToPoint and ToSize methods
are added.
2004-01-21 Jordi Mas i Hernàndez
* Bitmap.cs: Several new methods added.
2004-01-21 Duncan Mak <duncan@ximian.com>
* gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
OutAttribute to the array argument. This fixes the PathPoints
property in System.Drawing.Drawing2D.GraphicsPath.
2004-01-20 Ravindra <rkumar@novell.com>
* Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
this property was hanging and getting was throwing a NullRef
Exception. Earlier we were passing Matrix object to and fro
which was causing the problem. Now, we are using IntPtr.
Thanks to Duncan for helping me.
Also, .NET behavior is to maintain Pen.Color and Pen.Brush
together. If color is set, a SolidBrush automatically gets
set with the same color, Pen loses the old brush object.
If a SolidBrush is set, Pen.Color gets the value same as that
of brush color losing the old value. Pen shows this behavior
now.
* gdipFunctions.cs: Changed the signature of GdipGetPenTransform
and GdipSetPenTransform methods to use IntPtr instead of Matrix.
2004-01-19 Duncan Mak <duncan@ximian.com>
* gdipFunctions.cs: Import functions for GraphicsPath.
2004-01-14 Ravindra <rkumar@novell.com>
* SolidBrush.cs: Made SolidBrush to initialize its color
from IntPtr.
* gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
2004-01-11 Duncan Mak <duncan@ximian.com>
* Bitmap.cs (LockBits):
* Graphics.cs (DrawString): Removed reference to GpRectF.
2004-01-09 Duncan Mak <duncan@ximian.com>
* gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
Removed. Didn't know that structs are laid out sequentially by
default. We don't need these anymore.
2004-01-12 Ben Maurer <bmaurer@users.sourceforge.net>
* Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
2004-01-11 Daniel Morgan <danielmorgan@verizon.net>
* Graphics.cs: fix compile error on Windows builds for out
parameter state in call to GdipSaveGraphics
2004-01-10 Ravindra <rkumar@novell.com>
* All Enums: Made serializable.
* Image.cs: Corrected signature of Dispose(bool) method.
* Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs:
Corrected coding style mistakes of my previous commit.
* PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
* PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
* StringFormat.cs: Inherits MarshalByRefObject.
* ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
2004-01-08 Ravindra <rkumar@novell.com>
* Pen.cs: Added isModifiable (bool) variable. It is required to
make Pens created by SystemPens.cs unmodifiable. All property
setters are modified for this.
* SolidBrush.cs: Added isModifiable variable (bool). It is
required to make Brushes created by SystemBrushes.cs unmodifiable.
All property setters are modified for this.
* SystemBrushes.cs: Modified all the properties as per the .NET
specs, so that Brushes are not created every time. Also, missing
properties are added.
* SystemPens.cs: Modified all the properties as per the .NET
specs, so that Brushes are not created every time. Also, missing
properties are added.
2003-12-12 Miguel de Icaza <miguel@ximian.com>
* Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
it serializable
2004-01-06 Duncan Mak <duncan@ximian.com>
* gdipFunctions.cs: Import GraphicsPath functions from GDI+.
2003-12-21 Duncan Mak <duncan@ximian.com>
* Graphics.cs (DrawArc): Fixed the method signature and hooked it
up to the GDI+ implementation.
(RotateTransform): Uncommented.
* gdipFunctions.cs (DrawArc, DrawArcI): Import from
libgdiplus.so.dll.
2003-12-13 Todd Berman <tberman@sevenl.net>
* Font.cs: Implementing a couple things for porting purposes
* SystemBrushes.cs: ^
* StringFormat.cs: ^^
2003-11-28 Duncan Mak <duncan@ximian.com>
* Pen.cs (CompoundArray): Hide this for now.
2003-11-28 Duncan Mak <duncan@ximian.com>
* Brush.cs (CreateBrush): new internal factory method for creating
specific brushes based on the internal (GDI+ C API) BrushType
enum.
(Brush (IntPtr)): new internal constructor.
* Pen.cs: Removed all the C# fields. We are using GDI+ completely
now.
(Pen (IntPtr)): new internal constructor.
(Pen (Brush, float)): Use GdipCreateBrush2.
(Clone): Implemented using GdipClonePen.
(Alignment, Brush, Color, Width): Use GDI+ implementations
instead.
(CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
Implemented these properties.
(CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
(MultiplyTransform, ResetTransform, RotateTransform):
(ScaleTransform, TranslateTransform): Implemented these methods.
* SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
* gdipEnums.cs (BrushType): Added new GDI+ enum.
* gdipFunctions.cs: Imported new Brush and Pen functions.
2003-11-22 Duncan Mak <duncan@ximian.com>
* gdipFunctions.cs
(GdipResetWorldTransform, GdipSetWorldTransform):
(GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
* Graphics.cs: Remove unnecessary TODO, and reformatted the code.
(transform): Removed this field. Always use the
matrix associated in the GpGraphics ptr.
(DrawBeziers): Implemented.
(DrawLine): Don't need to manually invoke the transform now.
(MultiplyTransform, ResetTransform):
(ScaleTransform, TranslateTransform): Use GDI+ implementation.
(Transform): Instead of storing a Matrix in managed code, use
equivalent GDI+ functions.
2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SizeConverter.cs: fixed class signature and implemented some methods.
2003-11-17 Duncan Mak <duncan@ximian.com>
* gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
* Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
2003-11-17 Duncan Mak <duncan@ximian.com>
* Bitmap.cs (LockBits):
* Graphics.cs (DrawString): Use GpRectF.
* gdipFunctions.cs: Updated method signatures.
* Graphics.cs (MultiplyTransform): Implemented using
GdipMultiplyWorldTransform from GDI+.
* gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
GpRect, to be more consistent with the C naming.
2003-11-16 Miguel de Icaza <miguel@ximian.com>
* Graphics.cs: Implement the other DrawString overloads .
2003-11-16 Miguel de Icaza <miguel@ximian.com>
* gdipStructs.cs (GdipRectF): Added utility constructor
2003-11-15 Duncan Mak <duncan@ximian.com>
* gdipFunctions.cs: Imported matrix functions.
2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* Bitmap.cs: Added Attributes
* ColorTranslator.cs: Added private constructor
* Font.cs: Added Attributes
* FontFamily.cs: sealed
* Icon.cs: Added Attributes
* IconConverter.cs: Fixed signature
* Image.cs: Added attributes
* ImageAnimator.cs:
* ImageConverter.cs:
* ImageFormatConverter.cs:
* SolidBrush.cs:
* StringFormat.cs:
* SystemBrushes.cs:
* SystemColors.cs:
* SystemIcons.cs:
* SystemPens.cs:
* TextureBrush.cs: Fixed signature
* Color.cs: Added attributes
* Point.cs:
* PointF.cs:
* Rectangle.cs:
* Size.cs:
* SizeF.cs: Added attributes
* ContentAlignment.cs: Added attribute
2003-11-13 Duncan Mak <duncan@ximian.com>
* Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
* gdipFunctions.cs
(GdipSetPenMiterLimit, GdipGetPenMiterLimit):
(GdipSetPenLineJoin, GdipGetPenLineJoin):
(GdipSetPenLineJoin, GdipGetPenTransform): imported.
2003-11-12 Alexandre Pigolkine <pigolkine@gmx.de>
* Bitmap.cs
* gdipFunctions.cs copy image in Bitmap constructor
2003-11-06 Duncan Mak <duncan@ximian.com>
* Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
angle parameters for the integer case.
(DrawBezier): Hook it up with GdipDrawBezier.
(DrawEllipse): Fix Width, Height ordering.
2003-11-05 Duncan Mak <duncan@ximian.com>
* Graphics.cs (DrawPie):
* gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
in graphics.c.
2003-10-28 Duncan Mak <duncan@ximian.com>
* Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
(FillEllipse, FillPolygon): implemented.
(RenderingOrigin): implemented.
* gdipFunctions.cs: Added new GDI+ equivalents.
2003-10-25 Alexandre Pigolkine <pigolkine@gmx.de>
* Bitmap.cs
* Image.cs small fixes
2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
2003-10-24 Miguel de Icaza <miguel@ximian.com>
* SystemBrushes.cs: Some more brushe3s.
* SystemPens.cs: More pens.
* Pen.cs: Implement IDisposable, ICloneable.
* Region.cs: Add some more stubs here.
* StringFormat.cs: Add some more code here.
2003-10-23 Miguel de Icaza <miguel@ximian.com>
* Image.cs: Kill the InternalImageInfo, everything is now done in
terms of Image and BitmapData.
* Rectangle.cs: Make this one also sequential, change from using
Point + Size to use x, y, width, height; So we can use GdiPlus.
* gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
BitmapData class argument, and instead use the [In,Out]
attributes, which will do struct marshalling on the fields. Now
we can use C#'s BitmapData directly to talk to Gdiplus.
* gdipStructs.cs: Every internal structure that has to talk to
Gdi+ is properly prefixed, to minimize the confussion.
* Bitmap.cs Bitmap (int width, int height, PixelFormat format):
Compute the stride here where we have the BPP information,
allocate a buffer of the proper size, and pass this to
GdipCreateBitmapFromScan0
* Image.cs: Implement Dispose pattern.
2003-10-14 Alexandre Pigolkine <pigolkine@gmx.de>
* Graphics.cs
* gdipFunctioncs.cs
* gdipStructs.cs DrawString function added
2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
* gdipEnums.cs
* gdipFunctions.cs
* gdipStructs.cs added
2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
* Bitmap.cs
* Brush.cs
* Font.cs
* FontFamily.cs
* Graphics.cs
* Image.cs
* Pen.cs
* SolidBrush.cs
implementation changed to gdi+
2003-09-08 Duncan Mak <duncan@ximian.com>
* Factories.cs (DefaultImplementationNamespace): Change it from
"XrImpl" to "Cairo".
2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Color.cs: fixed FromArgb to handle alpha value correctly. Closes
bug #47727.
2003-08-08 Duncan Mak <duncan@ximian.com>
* Graphics.cs (DrawBezier): Fixed.
2003-08-03 Alexandre Pigolkine <pigolkine@gmx.de>
* Graphics.cs delegate Dispose to implementation
2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* FontConverter.cs: stub it out so that system.web compiles.
2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
* Image.cs InternalImageInfo class improved
2003-07-23 Miguel de Icaza <miguel@ximian.com>
* Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
is set, default to Win32Impl
2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
* Image.cs implementation added
2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* Icon.cs: Stubed out (fix for System.Drawing.Design)
2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* StringFormat.cs: Changes to become CLS-compliant
2003-07-14 Miguel de Icaza <miguel@ximian.com>
* Factories.cs: Remove debugging message.
2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
* Color.cs code generation program modified
2003-06-29 Alexandre Pigolkine
* Graphics.cs image drawing
2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
* Color.cs
* SystemColors.cs
supply KnowColor enum value to save Enum.Parse at runtime
2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
* Graphics.cs coordinate transformations
* Image.cs small fix
2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
* Factories.cs
* FontFamily.cs more implementation
2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
* Font.cs
* FontFamily.cs more implementation
2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
* Graphics.cs few more calls to implementation
2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
* Bitmap.cs BITMAP declaration removed
* Graphics.cs few more calls to implementation
* Image.cs InternalImageInfo structure, image read/write functions
2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
* Factories.cs analyse environment variable and machine.config to select implementation
* Image.cs PixelFormat property added
2003-04-30 Nick Drochak <ndrochak@gol.com>
* Factories.cs: Change weird characters that broke build on windows.
2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ColorConverter.cs:
(ConvertFrom): return a system or named color if there's one that fits
teh values parsed with Color.FromArgb.
2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
* Bitmap.cs
* Brush.cs
* Font.cs
* Graphics.cs
* Image.cs
* Pen.cs
* SolidBrush.cs
* SystemBrushes.cs
* Factories.cs
delegate function calls to implementation
2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
* Bitmap.cs
* ChangeLog
* Image.cs
* SystemBrushes.cs switch to Linux style line terminators
2003-03-29 Alan Tam <Tam@SiuLung.com>
* ToolboxBitmapAttribute
stubbed more constructors and fixed base class
2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
* SystemBrushes.cs
added stubs to compile SWF
2003-02-21 Alexandre Pigolkine <pigolkine@gmx.de>
* Font.cs
* Graphics.cs
* Image.cs
* SystemBrushes.cs
small changes to be able to run SWF apps
2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Graphics.cs: stubbed out all the methods.
2003-02-08 Piers Haken <piersh@friskit.com>
* fixed case of pens.cs and font.cs
2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
* Font.cs Added
* Graphics.cs
* StringFormat.cs
* SystemBrushes.cs
stubs added
2002-11-21 Dennis Hayes (dennish@raytek.com)
* checkin for Matt Stump (mstump@swfo.arizona.edu)
* Pens.cs
* Added file
2002-10-19 Rachel Hestilow <hestilow@ximian.com>
* ColorTranslator.cs (FromHtml): Implement.
2002-10-14 Dennis Hayes (dennish@raytek.com)
* Region.cs
* changed using namespace from Drawing2d to Drawing2D
2002-9-15 Asier Llano <asierllano@infonegocio.com>
* Fixes the enum values in the following enums
* ContentAlignment.cs:
* FontStyle.cs:
* GraphicsUnit.cs:
* KnownColor.cs:
* RotateFlipType.cs:
* StringAligment.cs:
* StringDigitSubstitute.cs:
* StringFormatFlags.cs:
* StringTrimming.cs:
* StringUnit.cs:
* SolidBrush.cs: Easy implementation
* Brushes.cs: Implementation based on SolidBrush and Color class.
* Brush.cs: Fixes based on the status web).
* CharacterRange.cs: Implemented the missing Lenth property.
2002-9-14 Dennis Hayes (dennish@raytek.com)
* sample.cs
* removed personal template that should not have been checked in
2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ColorConverter.cs: readded MonoTODOs and implemented a couple of
methods.
2002-9-14 DennisHayes <dennish@raytek.com>
* FontConverter.cs
* FontFamily.cs
* Icon.cs
* IconConverter.cs
* ImageAnimator.cs
* ImageConverter.cs
* ImageFormatConverter.cs
* PointConverter.cs
* RectangleConverter.cs
* Sample.cs
* SizeConverter.cs
* SolidBrush.cs
* StringFormat.cs
* SystemBrushes.cs
* SystemIcons.cs
* SystemPens.cs
* TextureBrush.cs
* ToolboxBitmapAttribute.cs
* Added null classes for most/all classes, Many stubs, and some implmentation
2002-9-2 DennisHayes <dennish@raytek.com>
* Bitmap.cs
* Color.cs
* ColorConverter.cs
* Image.cs
* Pen.cs
* Added stubs, implmentation
2002-9-2 DennisHayes <dennish@raytek.com>
* Brushes.cs : stubbed, added colors. Not sure how to implement,
but this should at least save someone some typing.
* CharacterRange.cs :Implmented
* Region.cs : stub needed for system.windows.forms
2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ColorTranslator.cs: use Color.Name.
2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Color.cs: implemented SystemColors and NamedColors properties that
are used by ColorConverter, removed public constructor, use
SystemColors, and misc. fixes to make it behave as MS (ToString,
parsing names, FromKnownColor,...).
* ColorConverter.cs: use NamedColors and SystemColors from Color when
trying to get the color from its name.
* SystemColors.cs: new file.
2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Color.cs: changed static properties to use FromArgbNamed. Also
modified the program included in comments that get the values for
static properties.
(FromArgbNamed): build named colors.
(FromKnownColor): fixed.
(FromName): use a hash to look up colors by name.
(FillColorNames): create the hash of colors.
(Equals): compare values and name.
(ToString): improved.
* ColorTranslator.cs: implemented ToHtml.
2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Color.cs: added TypeConverter attribute.
* ColorConverter.cs: added constructor.
2002-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ColorConverter.cs: implemented minimal set of features needed by xsp.
2002-05-03 Mike Kestner <mkestner@speakeasy.net>
* Bitmap.cs : using System.IO
* ColorTranslator.cs : Stubbed off build breakers.
* Image.cs : Stub off IDisposable and ICloneable.
2002-04-27 Christian Meyer <Christian.Meyer@cs.tum.edu>
* Bitmap.cs: Ximian is the new copyright holder now.
* Image.cs: ditto
2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
* Uppercased several files.
2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
* color.cs: Fixed a typo in GetSaturation ().
2002-02-26 Christian Meyer <Christian.Meyer@cs.tum.edu>
* Bitmap.cs: Added method headers.
2002-02-25 Christian Meyer <Christian.Meyer@cs.tum.edu>
* Bitmap.cs: Added, no implementation's done, yet.
2001-12-15 Mike Kestner <mkestner@speakeasy.net>
* Rectangle.cs : Add a doc comment.
* RectangleF.cs : New struct implementation.
2001-12-15 Mike Kestner <mkestner@speakeasy.net>
* Rectangle.cs : New struct implementation.
2001-08-17 Mike Kestner <mkestner@speakeasy.net>
* PointF.cs, Size.cs, SizeF.cs : New struct implementations.
2001-08-16 Mike Kestner <mkestner@speakeasy.net>
* Point.cs : New. Implementation of System.Drawing.Point struct.
|