usecase: SmartView

public usecase: SmartView
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 14.12.2005 7:35:32; Modified: 14.12.2005 9:07:49;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {C89D8F81-4132-47c3-8CC5-0388534122A1}

Goto: Scenarios

See also: Save as picture, Umatrix

Appears in: UC Visualization

SmartView Scenarios
Scenario Type Detail
Base Basic Path SmartView is class, that provides framework for drawing more object in one canvas. Every object, that want use SmartView, must contains draw method with parameters (Graphics grfx, int top, int left, int bottom, int right)

Method Add(DrawMethod method, int top, int left, int bottom, int right) add object draw method to list and this method return id of object in SmartView. If Redraw() method is called, all DrawMethod in list will be executed. If there is many object to draw, the better way to redraw object that change his state is use Redraw(int id) method. This method redraw only object with id and all object that overlapped this object.

This class also provides funtions for zooming through properties Zoom.

All object are drawed to Bitmap. After drawing is Bitmap added to PictureBox component.