Android graphics - porting from existing AWT application -
Android graphics - porting from existing AWT application -
i porting existing awt application android. application makes utilize of next code:
graphics g = getgraphics(); how translate current canvas?
also, lot of code goes on following:
fontmetrics fm = g.getfontmetrics(); what existing classes within android can use? current class extends surfaceview if helps.
thanks in advance
for fontmetrics, you'll want check out paint.fontmetrics.
as getgraphics(), i'm not sure is. briefly reading method description, believe similar getcontext() in android.
i'm not familiar android many people around here, if i'm mistaken, sense free right me.
android awt android-canvas
Comments
Post a Comment