@Override protected void updateCache() { // TODO Auto-generated method stub List<InsertableObjectBase> list = new ArrayList<InsertableObjectBase>(mInsertableObjectList); for (InsertableObjectBase object : list) { drawWholeVisualElement( mFrameCache.getCanvas(), mInternalDoodle.getVisualManager().getVisualElement(object)); } }
void drawAllToCache(Canvas canvas) { List<InsertableObjectBase> list = mInternalDoodle.getModelManager().getInsertableObjectList(); for (InsertableObjectBase object : list) { drawWholeVisualElement(canvas, mInternalDoodle.getVisualManager().getVisualElement(object)); } }
public DrawStrategyForShape( Canvas canvas, IInternalDoodle internalDoodle, List<InsertableObjectBase> list) { super(canvas, internalDoodle.getFrameCache(), null); mInsertableObjectList = list; mInternalDoodle = internalDoodle; }