Re: Clipping Issues on k300

Robin Chaddock <[email protected]>
Newsgroups gmane.comp.java.sun.kvm
Message-ID <[email protected]>
A cleaner (and often more performant) solution for midp2 handsets is to
compute the clip yourself and use drawRegion.

----- Original Message -----
From: "James Closs" <[email protected]>
To: <[email protected]>
Sent: Thursday, August 23, 2007 12:13 PM
Subject: Re: Clipping Issues on k300


> Hi,
>
> There is definitely some clipping weirdness here.
>
> I have an image the is larger than full screen. The user can move the
> image about. What's happening is that even though the image is moving
> (all variables are updated correctly etc) the image is drawn in the
> same place. This happens on no other handsets and stuff that's drawn
> over the image appears fine.
>
> I've tried the usual solutions for fixing clipping bugs, explicitly
> setting the clip full screen etc, but this does no good. The only
> (hacky) way I've found to fix the problem is to draw some text
> 'behind' the image before the image is drawn, then everything is
> fine. Go figure...
>
> Anyway, hope this is of some use to someone if they run into similar
> problems.
>
> cheers
>
>
>>> Clipping of which drawing operations?
>>
>> drawImage()
>>
>>> I've just tested one of our K300s and it appears to (in all our
>>> test cases)
>>> clip all primitive types correctly.
>>
>> OK, thanks very much. It's possible it's not clipping at all but
>> that's the only thing I can think of at the moment!
>
> ====
>
> James Closs, Director, bitBull Ltd
>
> http://www.bitbull.com
>
> 07771 991171
>
> ====
>
> ===========================================================================
> To unsubscribe, send email to [email protected] and include in the
> body
> of the message "signoff KVM-INTEREST".  For general help, send email to
> [email protected] and include in the body of the message "help".
>


________________________________________________________________________
E-mail is an informal method of communication and may be subject to data corruption, interception and unauthorised amendment for which I-play, a trading name of Digital Bridges Ltd will accept no liability. Therefore, it will normally be inappropriate to rely on information contained on e-mail without obtaining written confirmation.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

(C) 2005. I-play is a trademark and trading name of Digital Bridges Limited. All Rights Reserved.
________________________________________________________________________
This message has been checked for all known viruses by the
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.