Skip to content Skip to sidebar Skip to footer
Showing posts with the label Android Canvas

Drawing A Line With Canvas From An Activity

I have read the following links: How to draw a line in android http://marakana.com/s/android_2d_gra… Read more Drawing A Line With Canvas From An Activity

Android: Draw A View On Canvas

I have a view inflated, I can draw it on canvas, but can't seem to position it properly. Layout… Read more Android: Draw A View On Canvas

How To Properly Scale A Game On Android

for the sake of simplicity let's assume that I'm making a simple Pong clone game for Androi… Read more How To Properly Scale A Game On Android

Android: Invalidate(dirty)

It seems like Android really doesn't like invalidate (Rect dirty), which is used to invalidate … Read more Android: Invalidate(dirty)

Tablet - Get Drawable Screen Resolution, Not Total Screen Resolution

With tablets and some phones running 4.0 there are on screen controls. I am developing a full scre… Read more Tablet - Get Drawable Screen Resolution, Not Total Screen Resolution

Android Bitmap/canvas Offset After Scale

If I have a canvas, on which I draw a Bitmap like this: canvas.drawBitmap(bmLargeImage, srcRect, de… Read more Android Bitmap/canvas Offset After Scale

Android Development: Combining Small Tiles/bitmaps Into One Bitmap

Im trying to get all my small images like grass, water and asphalt and so on, into one bitmap. I ha… Read more Android Development: Combining Small Tiles/bitmaps Into One Bitmap

Android - Trying To Gradually Fill A Circle Bottom To Top

I'm trying to fill a round circle (transparent other than the outline of the circle) in an Imag… Read more Android - Trying To Gradually Fill A Circle Bottom To Top