Imported GNU Classpath 0.20
Imported GNU Classpath 0.20 * Makefile.am (AM_CPPFLAGS): Add classpath/include. * java/nio/charset/spi/CharsetProvider.java: New override file. * java/security/Security.java: Likewise. * sources.am: Regenerated. * Makefile.in: Likewise. From-SVN: r109831
This commit is contained in:
parent
bcb36c3e02
commit
2127637945
444 changed files with 75778 additions and 30731 deletions
|
@ -180,11 +180,14 @@ public class GdkGraphics2D extends Graphics2D
|
|||
else
|
||||
fg = new Color(g.fg.getRGB());
|
||||
|
||||
if (g.bg.getAlpha() != -1)
|
||||
bg = new Color(g.bg.getRed(), g.bg.getGreen(), g.bg.getBlue(),
|
||||
g.bg.getAlpha());
|
||||
else
|
||||
bg = new Color(g.bg.getRGB());
|
||||
if (g.bg != null)
|
||||
{
|
||||
if (g.bg.getAlpha() != -1)
|
||||
bg = new Color(g.bg.getRed(), g.bg.getGreen(), g.bg.getBlue(),
|
||||
g.bg.getAlpha());
|
||||
else
|
||||
bg = new Color(g.bg.getRGB());
|
||||
}
|
||||
|
||||
if (g.clip == null)
|
||||
clip = null;
|
||||
|
@ -1088,6 +1091,8 @@ public class GdkGraphics2D extends Graphics2D
|
|||
|
||||
public void setBackground(Color c)
|
||||
{
|
||||
if (c == null)
|
||||
c = Color.WHITE;
|
||||
bg = c;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue