SchematicItem
Object Hierarchy:
Description:
public abstract class SchematicItem : Object
Base class for items found in schematics or symbols
Content:
Creation methods:
Methods:
- public abstract Bounds calculate_bounds (SchematicPainter painter, bool reveal)
Calculate the bounds of this schematic item
- public abstract void draw (SchematicPainter painter, bool reveal, bool selected)
Draw this item using the given painter
- public abstract bool intersects_box (SchematicPainter painter, Bounds box)
Check if this item intersects a box
- public abstract void invalidate_on (Invalidatable invalidatable)
Draw this item using the given painter
- public abstract void mirror_x (int cx)
Mirror the item and child attributes along the x axis
- public abstract void mirror_y (int cy)
Mirror the item and child attributes along the y axis
- public virtual void read (DataInputStream stream) throws IOError, ParseError
Read this item from the input stream
- public abstract void read_with_params (string[] @params, DataInputStream stream) throws IOError, ParseError
Read this item from the input stream
- public abstract void rotate (int cx, int cy, int angle)
Rotate this item and its child attributes
- public abstract double shortest_distance (SchematicPainter painter, int x, int y)
Calculate the shortest distance from the point to the item
- public abstract void translate (int dx, int dy)
Translate this item and its child attributes
- public abstract void write (DataOutputStream stream) throws IOError
Write this item to the output stream
Signals:
Inherited Members:
All known members inherited from class GLib.Object
- interface_find_property
- interface_install_property
- interface_list_properties
- @new
- new_valist
- newv
- new_with_properties
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- @get
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- is_floating
- notify_property
- @ref
- ref_sink
- replace_data
- replace_qdata
- remove_toggle_ref
- remove_weak_pointer
- @set
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
- notify
- ref_count