eDriven Framework API
GuiTransformBase Class
NamespaceseDriven.Gui.ComponentsGuiTransformBase
eDriven Framework API
A base GUI transform class
Declaration Syntax
C#Visual BasicVisual C++
public abstract class GuiTransformBase
Public MustInherit Class GuiTransformBase
public ref class GuiTransformBase abstract
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
GuiTransformBase(DisplayListMember)
Constructor It takes a target as an argument, and it holds the reference to that target

Apply(Point, Point, Rect, Rect)
Applies the transform info to a target
Usually called by the parent transform

ContainsPoint(Point)
Returns true if bounds contains point

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
GlobalBounds
Global (screen) Bounds for figuring out mouseovers (*RARE*)
We are not baking global bounds, because they are dynamic, i.e. depend of bounds of parent hierarchy
It would be too expensive if we are about to bake them each time we change the position of the ancestor

GlobalPosition
Global position

Invalidate()()()()
Invalidates the transform, meaning it has to be validated somehow
This method has to be implemented by subclass
The subclass might choose will it update immediatelly or later

InvalidateChild(DisplayObject)
Invalidates the transform, meaning it has to be validated somehow
This method has to be implemented by subclass
The subclass might choose will it update immediatelly or later

LocalBounds
Local bounds (*RARE*)
Bounds of the component observed from that component POW
Both X and Y are 0

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Position
Position (bakes rect)

RenderingPosition
Rendering position

ToString()()()() (Overrides Object.ToString()()()().)
Validate()()()()
Invalidates the transform, meaning it has to be validated somehow
This method has to be implemented by subclass
The subclass might choose will it update immediatelly or later

ValidateChild(DisplayObject)
Update a single child transform Has to be implemented by successor

ValidateChildren()()()()
Updates child transforms based on this transform

Inheritance Hierarchy
Object
GuiTransformBase

Assembly: eDriven.Gui (Module: eDriven.Gui) Version: 2.0.1.0 (2.0.1.0)