Code snippet for drawing text on a bitmap:
Canvas mCanvas = new Canvas(mBitmap);
mCanvas.drawText(...);
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA, Inc.
On Aug 14, 12:37 am, aniket <[email protected]> wrote:
> Hi,
>
> I'd like to know if there is a way to get bitmaps corresponding to a
> glyph of a font. I have a bitmap and was looking for an API that would
> let me overlay some text on top of it and give me the output bitmap. I
> could not find any such API so was thinking of doing a custom
> implementation.
>
> The issue is that I couldn't find a way to get the bitmaps
> corresponding to the glyphs either.
>
> Is there API that I may have overlooked or some round about way to
> achieve this?
>
> Thanks,
> aniket
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---