Mercurial > MadButterfly
view Android/java/org/madbutterfly/shape.java @ 499:2d7df44e6299 Android_Skia
Make classes public
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Tue, 01 Dec 2009 22:49:33 +0800 |
parents | 1b6228092a57 |
children | c468e397614d |
line wrap: on
line source
package org.madbutterfly; public class shape { protected int addr; redraw_man rdman; protected coord parent; protected paint stroke, fill; public shape(redraw_man rdman, int addr) { this.addr = addr; this.rdman = rdman; this.parent = null; stroke = fill = null; } protected void invalid() { addr = 0; } protected void finalize() { if(addr != 0) _jni.rdman_shape_free(rdman._rdman_addr, addr); } }