smallsql
8ccc46a738
fix a NPE with printing after the last change
2011-06-16 20:16:03 +00:00
smallsql
af225ffca7
save TEXT_ANTIALIASING hint in a variable to more compatible behaviour
2011-06-16 17:22:06 +00:00
smallsql
19352c2c8b
Add a emulation for fixed metrix to make drawString and stringWidth compatible.
2011-04-16 19:59:15 +00:00
smallsql
e6457788e8
Implementation of several print attributes (Copies, Collation, Orientation, MediaSize, MediaTray). The PrintGraphics now fully supports the create() function.
2011-01-24 13:38:37 +00:00
smallsql
b0398ffc0a
Currently there are an inconsistency between NetFontMetrics and FontDesignMetrics. To prevent this we replace all with FontDesignMetrics and remove NetFontMetrics.
2011-01-23 11:20:38 +00:00
smallsql
b900d627e9
fix clearRect, must be independent from composite
2010-12-17 15:11:04 +00:00
smallsql
46be1e2aa9
drawString should use the same StringFormat like font metrics
2010-12-15 14:33:04 +00:00
smallsql
ae4128ae6c
Fix some stroke bugs
2010-11-28 10:01:07 +00:00
smallsql
77e06bbeb6
set the default InterpolationMode to NearestNeighbor like in Java
2010-11-16 11:09:08 +00:00
smallsql
9f3dac88c0
Because not all methods that modify the transaction has saved the Java transaction that it make no sense to hold a copy of the Java transaction. In most cases it is wrong.
2010-11-16 10:13:04 +00:00
smallsql
71210ee5d7
Implementation for some of alpha composite blending
2010-11-01 12:30:14 +00:00
jfrijters
f7e45f0d05
- Implemented screen insets.
...
- Moved bound setting to UI thread.
- Take menu presence into account for frame insets.
2010-10-28 08:25:12 +00:00
smallsql
b45c24fb2f
PixelOffsetMode also clone
2010-10-22 08:26:56 +00:00
smallsql
edb583ce3a
Some optimizations to receive more a output like Java
2010-10-21 11:17:36 +00:00
smallsql
8e99fef2d1
use renderings hinds of FontMetrics for drawGlyphVector
2010-10-11 19:11:04 +00:00
smallsql
adf4522c3d
Implements Graphics.setPaint with a LinearGradientPaint for Nimbus.
2010-10-07 10:54:23 +00:00
smallsql
6e816cddd2
implements createCompatibleVolatileImage for Nimbus
2010-10-06 12:39:36 +00:00
smallsql
14cd0fc9f9
Fix the metrix junit tests.
2010-09-07 09:50:24 +00:00
smallsql
e88e9e86fa
implements drawImage with AffineTransform
2010-09-02 21:06:04 +00:00
smallsql
15fa39c4b9
Add the Java symbolic font names to the list of all available font names.
2009-12-11 15:21:34 +00:00
smallsql
7018ad94a1
implements copyArea
2009-11-08 09:52:11 +00:00
smallsql
f361b69e06
implement getColorModel() and fix a junit test
2009-11-07 21:14:34 +00:00
smallsql
8877fb077d
PrintGraphics added
2009-11-01 12:01:38 +00:00
natl
c840872339
code reordering
2009-10-16 16:10:09 +00:00
natl
f4c5bb4908
reduce number of instances needed for finalizers to reduce GC work
2009-10-02 00:05:56 +00:00
natl
d51fba4fec
fix a bug where the default foreground/background color in paint method are not derived from the color setting of the component
2009-09-30 16:22:14 +00:00
jfrijters
c259490129
Avoid obsoleted FontFamily.GetFamilies() and use more efficient FontFamily.Families
2009-08-19 08:21:16 +00:00
natl
01fba1c28c
make sure PointToScreen is called in the UI thread
2009-08-17 23:52:44 +00:00
natl
bc24e7316b
fix scrolling update and screen update during frame move
2009-08-15 16:37:55 +00:00
smallsql
09515cdf6f
Graphics.setFont has set the wrong .NET font
2009-07-26 13:20:09 +00:00
smallsql
b938eaaeb9
Fix a NPE with Graphics2D.setBackgound(null)
2009-06-21 20:41:30 +00:00
jfrijters
3113757700
More component work.
2009-06-09 06:03:20 +00:00
jfrijters
ef4a9c1b27
foreground color, background color and font fixes. Background color still isn't working though.
2009-06-05 07:56:02 +00:00
jfrijters
61de1cfa27
- Changed NetComponentPeer construction to match JDK's WComponentPeer structure.
...
- Wrapped reflection in doPrivileged() blocks.
2009-06-05 07:09:34 +00:00
smallsql
2653e25818
fixing the painting of the GlyphVector with the StandardGlyphVector from Sun
2009-05-30 21:32:32 +00:00
smallsql
e6294e5ad3
fix a System.InvalidOperationException: Object is currently in use elsewhere
2009-05-25 20:07:04 +00:00
smallsql
dd1602d706
Implement createCompatibleVolatileImage(int,int)
2009-05-23 15:21:58 +00:00
smallsql
fccc39b788
Replace the GNU ClasspathToolkit with the SunToolkit in .NET Code. Replace the usage of the FontPeer with the Java2D. Replace the NetGlyphVector with the StandardGlyphVector
2009-05-16 16:34:40 +00:00
smallsql
8a7787a4fe
Loading the GraphicsEnvironment with the Sun mechanism
2009-05-07 12:52:48 +00:00
smallsql
f9e9ae8793
Add the new methods of the JDK6 peers with a NotImplementedException
2009-05-03 20:17:02 +00:00
jfrijters
9e01662f07
Handle Graphics2D.setPaint(null) correctly.
2009-04-17 06:34:41 +00:00
jfrijters
e3f95b0bcd
converter.cs
...
- ConvertRoundRect - correction in representation differences
- LineJoin, LineCap, Dash conversions
- CreateFontFamily - case sensitivity fix
fonts.cs, fonts-0.95.cs
- overriding FontMetrics.getStringBounds
- y coordinate of the returned rectangle should be the negative ascent in Java
graphics.cs
- NetGraphics.drawArc, fillArc - correction in representation differences
- NetGraphics.drawRoundRect, fillRoundRect - correction in representation differences
- NetGraphics.drawString - text was mispositioned
- NetGraphics.setStroke - BasicStroke support for LineCap, LineJoin, LineDash
- NetGraphicsEnvironment.createGraphics returned empty image
images.cs
- NetProducerImage.setPixels - implementation for byte[] argument
toolkit.cs, toolkit-0.95.cs
toolkit.cs: NetToolkit implements ikvm.awt.IkvmToolkit, see BufferedImage.createGraphics implementation
NetToolkit - getBestCursorSize, createCustomCursor implementation
NetToolkit - DoubleClick, ContextMenu support
NetToolkit - MapKeyCode did not work for Enter and Delete keys
NetToolkit - OnBoundsChanged - component resized event seems to be missing
NetToolkit - createImage(ImageProducer) implementation
NetToolkit - setCursorImpl, NetCustomCursor
NetDialogPeer - setting the title of the dialog
NetFramePeer - setting icon for the frame
Contributed by: Judit Vasko-Szedlar (Chemaxon)
2009-04-15 04:58:12 +00:00
smallsql
0029f0d8ff
Graphics improvement
2009-03-13 11:26:52 +00:00
jfrijters
b236ec07f1
Moved Y correction to Graphics2D float overload of drawString, so that it too positions the text (approx.) correctly.
2009-02-17 09:38:31 +00:00
jfrijters
46a4f6c9fb
Set foreground/background colors for Graphics created from Image correctly.
2009-02-17 08:12:48 +00:00
jfrijters
1a4091fad9
"implemented" Graphics.setComposite/getComposite/getFontRenderContext.
2009-02-10 09:34:12 +00:00
smallsql
ea4f6fa809
Hide new public methods in BufferedImage
2008-12-31 15:37:28 +00:00
smallsql
3d2604205a
Remove NetBufferedImage and merge the code in the class BufferedImage. Now the class BufferedImage has 2 buffers. A Java Raster and .NET Bitmap.
2008-12-30 10:28:10 +00:00
jfrijters
bb9b51fe46
- Lock bitmap when drawing it, to make modifying the bitmap from another thread safe.
...
- Make setPixels() lots faster by using direct memory copy (although this requires full trust).
2008-09-21 09:33:09 +00:00
jfrijters
684cdf651e
Generified all collections.
2008-08-15 12:01:06 +00:00