In that case maybe we're looking at this the wrong way.
Perhaps you need to apply a filter to your canvas to get you the
required result?

PaintFlagsDrawFilter setfil = new PaintFlagsDrawFilter(0,
Paint.FILTER_BITMAP_FLAG);
                Canvas _canvas = new Canvas();
                _canvas.setBitmap(someBitmap);
                _canvas.setDrawFilter(setfil);

Also, applying a filter will let you know whether your canvas is
taking the extra "properties" into consideration correctly (much
easier to see with some obvious filter).
If your code is working properly you'll see the new filter and we'll
know that you're actually drawing in 888, from there on we'll have to
look for something else to make your gradients smoother.
If your code isn't working properly you won't see the new filter and
we'll know that there's something wrong with your code.

On May 6, 3:23 pm, fexpop <[email protected]> wrote:
> On 6 Mai, 14:23, blew <[email protected]> wrote:
>
> > Why don't you put your bitmap888 when constructing your canvas888.
>
> > Canvas canvas888 = new Canvas(bitmap888);
>
> Ooops, that's because I wanted to edit the actual code I used for this
> message. I added the 888 for clarity, but forgot so in the
> constructor. In other words: A mistake in transcription ;-)
>
> Nevertheless, in my actual code I'm really drawing on the canvas888
> with bitmap888 behind it. The result is as stated above: Looks like
> 5-6-5.
>
> Kind regards and thanks,
>
> Felix
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to