Gee, found it, BitmapFactory.

I think, I'm starting to feel the stress of the approaching date ;P,
and so much stuff still to do.


On 12 abr, 09:30, Rui Martins <[EMAIL PROTECTED]> wrote:
> Replying to myself :)
>
> I went digging in the documentation, and found 
> BitmapShaderhttp://code.google.com/android/reference/android/graphics/BitmapShade...
>
> Believe me that Shader is not the best name for such a Functionality !
> I would have never found it by this name, I just opened it out of
> curiosity, since Shaders fro me, and many others is a completly
> different thing.
>
> We also have it's parent class 
> Shaderhttp://code.google.com/android/reference/android/graphics/Shader.html
>
> The only minor problem, is that we loose control over Alpha
> (transparency), we had in Drawable.
> Yes, we can embed the Alpha in the Image, but If your intention was to
> reuse the same image with several different Alphas applyed to it, you
> are out of luck I guess. We will need to either preprocessing the
> bitmap ourselves first, or have several copies.
>
> Hope this info is useful to someone else.
>
> On 12 abr, 09:26, Rui Martins <[EMAIL PROTECTED]> wrote:
>
> > Is there any thing similar to a tiled drawable ?
> > i.e. can we set the bounds of a drawable larger than it's associated
> > bitmap, but somehow control the appearence, so that instead of a
> > resize, it just tiles the bitmap to fill the area defined by
> > setBounds(...) ?
>
> > Or is anything similar to this behaviour besides a Drawable, and
> > without using OpenGL Textures?
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to