PathView Class

Constructors & Destructor | Member Functions | Member Variables

Definition

Line 150 of System.Windows/PathView.cm

Inheritance

Constructors & Destructor

public PathView(PathViewCreateParams& createParams)

Member Functions

public Result<bool> AddPathComponent(const String<char>& pathComponentName, void* data)
public Result<bool> Clear()
private Result<bool> DrawTick(Graphics& graphics, PointF& origin)
public inline const Padding& GetPathComponentPadding() const
public inline const Brush& GetTextBrush() const
private Result<bool> Measure(Graphics& graphics)
public inline const Brush& MouseClickBrush() const
public inline const Brush& MouseOverBrush() const
protected override Result<bool> OnMouseDown(MouseEventArgs& args)
protected override Result<bool> OnMouseEnter(EnterLeaveEventArgs& args)
protected override Result<bool> OnMouseLeave(EnterLeaveEventArgs& args)
protected override Result<bool> OnMouseMove(MouseEventArgs& args)
protected override Result<bool> OnMouseUp(MouseEventArgs& args)
protected override Result<bool> OnPaint(PaintEventArgs& args)
protected virtual void OnPathComponentSelected(PathComponentEventArgs& args)
private Result<PathComponent*> PathComponentAt(const Point& location)
public Event<PathComponentSelectedEventHandler, PathComponentEventArgs>& PathComponentSelectedEvent()
public Result<bool> PushPathComponent(const String<char>& pathComponentName, void* data)
public Result<bool> SetMaxWidth(int maxWidth_)
public void SetTextHeight(float textHeight_)

Member Variables

private int maxWidth
private SolidBrush mouseClickBrush
private PathComponent* mouseDownComponent
private SolidBrush mouseOverBrush
private PathComponent* mouseOverComponent
private Padding pathComponentPadding
private Event<PathComponentSelectedEventHandler, PathComponentEventArgs> pathComponentSelectedEvent
private ComponentContainer pathComponents
private float sqrt3per2
private SolidBrush textBrush
private float textHeight
private SolidBrush tickBrush
private float tickHeight
private Padding tickPadding
private float tickSizePercent
private float tickWidth

Constructor& Destructor Details

PathView Constructor

public PathView(PathViewCreateParams& createParams)

Definition
Line 152 of System.Windows/PathView.cm


Member Function Details

AddPathComponent Member Function

public Result<bool> AddPathComponent(const String<char>& pathComponentName, void* data)

Definition
Line 217 of System.Windows/PathView.cm


Clear Member Function

public Result<bool> Clear()

Definition
Line 186 of System.Windows/PathView.cm


DrawTick Member Function

private Result<bool> DrawTick(Graphics& graphics, PointF& origin)

Definition
Line 480 of System.Windows/PathView.cm


GetPathComponentPadding Member Function

public inline const Padding& GetPathComponentPadding()

Definition
Line 244 of System.Windows/PathView.cm


GetTextBrush Member Function

public inline const Brush& GetTextBrush()

Definition
Line 248 of System.Windows/PathView.cm


Measure Member Function

private Result<bool> Measure(Graphics& graphics)

Definition
Line 457 of System.Windows/PathView.cm


MouseClickBrush Member Function

public inline const Brush& MouseClickBrush()

Definition
Line 256 of System.Windows/PathView.cm


MouseOverBrush Member Function

public inline const Brush& MouseOverBrush()

Definition
Line 252 of System.Windows/PathView.cm


OnMouseDown Member Function

protected override Result<bool> OnMouseDown(MouseEventArgs& args)

Definition
Line 347 of System.Windows/PathView.cm


OnMouseEnter Member Function

protected override Result<bool> OnMouseEnter(EnterLeaveEventArgs& args)

Definition
Line 412 of System.Windows/PathView.cm


OnMouseLeave Member Function

protected override Result<bool> OnMouseLeave(EnterLeaveEventArgs& args)

Definition
Line 419 of System.Windows/PathView.cm


OnMouseMove Member Function

protected override Result<bool> OnMouseMove(MouseEventArgs& args)

Definition
Line 389 of System.Windows/PathView.cm


OnMouseUp Member Function

protected override Result<bool> OnMouseUp(MouseEventArgs& args)

Definition
Line 367 of System.Windows/PathView.cm


OnPaint Member Function

protected override Result<bool> OnPaint(PaintEventArgs& args)

Definition
Line 269 of System.Windows/PathView.cm


OnPathComponentSelected Member Function

protected virtual void OnPathComponentSelected(PathComponentEventArgs& args)

Definition
Line 435 of System.Windows/PathView.cm


PathComponentAt Member Function

private Result<PathComponent*> PathComponentAt(const Point& location)

Definition
Line 439 of System.Windows/PathView.cm


PathComponentSelectedEvent Member Function

public Event<PathComponentSelectedEventHandler, PathComponentEventArgs>& PathComponentSelectedEvent()

Definition
Line 264 of System.Windows/PathView.cm


PushPathComponent Member Function

public Result<bool> PushPathComponent(const String<char>& pathComponentName, void* data)

Definition
Line 227 of System.Windows/PathView.cm


SetMaxWidth Member Function

public Result<bool> SetMaxWidth(int maxWidth_)

Definition
Line 202 of System.Windows/PathView.cm


SetTextHeight Member Function

public void SetTextHeight(float textHeight_)

Definition
Line 260 of System.Windows/PathView.cm