Package OpenCAGE.Zoom_Tables.Simple_Zoom_Tables

Class Simple_Zoom_Table

extends OpenCAGE.Zoom_Tables.Zoom_Table

This is a very simple implementation of the zoom tables which basicly stores one zoom value which can be increased and decreased.

Attributes

private Glib.Gfloat Global_Zoom 

the zoom level

private OpenCAGE.Zoom_Tables.Zoom_Observer_List.List Observers 

the list of observers

Operations

public Graphics.Points.Point Get_Zoomed_Point( Graphics.Points.Point My_Point);

returns a point corrected by the zoom level [This description is adopted from 'OpenCAGE.Zoom_Tables.Zoom_Table'.]

public Glib.Gfloat Get_Zoom( OpenCAGE.GIF.Node_Model Node);

returns the zoom level for a Node_Display [This description is adopted from 'OpenCAGE.Zoom_Tables.Zoom_Table'.]

public Glib.Gfloat Get_Zoom( OpenCAGE.GIF.Edge_Model Edge);

returns the zoom level for a Node_Display [This description is adopted from 'OpenCAGE.Zoom_Tables.Zoom_Table'.]

public Zoom_In(void);

increases the zoom level [This description is adopted from 'OpenCAGE.Zoom_Tables.Zoom_Table'.]

public Zoom_Out(void);

decreases the zoom level [This description is adopted from 'OpenCAGE.Zoom_Tables.Zoom_Table'.]

public Graphics.Area_Sizes.Area_Size Get_Zoomed_Area( Graphics.Area_Sizes.Area_Size My_Area);

returns an area corrected by the zoom level [This description is adopted from 'OpenCAGE.Zoom_Tables.Zoom_Table'.]

public Attach( OpenCAGE.Zoom_Tables.Zoom_Observer Observer);

attaches a zoom observer to the list of observers. [This description is adopted from 'OpenCAGE.Zoom_Tables.Zoom_Table'.]

public Detach( OpenCAGE.Zoom_Tables.Zoom_Observer Observer);

detaches a zoom observer from the list of observers. [This description is adopted from 'OpenCAGE.Zoom_Tables.Zoom_Table'.]

private Notify(void);

notifies all attached observers that something changed