[sdljava-users] Anyone using get/setPixelDataXX()?
Status: Beta
Brought to you by:
ivan_ganza
From: S. Meslin-W. <st...@ta...> - 2005-06-22 16:21:40
|
Hi everyone, I'm cleaning up some code in Odonata and in the sdljava provider I've found that I use get/setPixelData32(long[]). Would it be possible to rationalise the types used for these methods? Does anyone still use them? long[] 64 bit colour data int[] 32 ... short[] 16 ... byte[] 8 ... Essentially it'd mean changing the signatures for the get/set methods to match the bit sizes they're operating with. I've seen the gradual move to using ByteBuffer and Buffers in general... Odonata intends to work with JVM versions 1.1+ so those classes wouldn't necessarily be available on those targets :) Cheers, Steph --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Stephane Meslin-Weber Email: st...@ta... Senior Software Engineer Web: http://odonata.tangency.co.uk =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |