• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Images on Mac and Windows

 
Ranch Hand
Posts: 750
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'm making a rubiks cube in 3D.
I'm using AffineTransforms to transform a square image located at (0,0)
into a paralellogram on the cube.
Now I'm using Windows XP, and when I run the program, the 9 images on a big face of the whole cube fit snuggly together, and it looks as if its just 1 big image.

But when I the program on a Mac iBook G4, or on a Mac G4 Desktop, or Mac G5 each of the 9 images on the big face of the whole cube displays with a gap of 1 pixel between them, producing lines where the background shows through, kind of like a O's and X's board.

I don't know why this is happening, I guess its the way the operating system handles the drawImage command, or something like that.
Is there any way to fix this so when running on a Mac, no gaps will show, just like with Windows XP.

Thanks for any help, its much appreciated.
[ April 02, 2007: Message edited by: colin shuker ]
 
The first person to drink cow's milk. That started off as a dare from this tiny ad:
Enterprise-grade Excel API for Java
https://products.aspose.com/cells/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!