48 lines
785 B
C#
48 lines
785 B
C#
![]() |
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using CPF.Drawing;
|
|||
|
using CPF.ReoGrid.Interaction;
|
|||
|
using CPF.ReoGrid.Rendering;
|
|||
|
|
|||
|
namespace CPF.ReoGrid.Views
|
|||
|
{
|
|||
|
internal interface IView : IUserVisual
|
|||
|
{
|
|||
|
IViewportController ViewportController { get; set; }
|
|||
|
|
|||
|
Rect Bounds { get; set; }
|
|||
|
|
|||
|
float Left { get; }
|
|||
|
|
|||
|
float Top { get; }
|
|||
|
|
|||
|
float Width { get; }
|
|||
|
|
|||
|
float Height { get; }
|
|||
|
|
|||
|
float Right { get; }
|
|||
|
|
|||
|
float Bottom { get; }
|
|||
|
|
|||
|
void UpdateView();
|
|||
|
|
|||
|
float ScaleFactor { get; set; }
|
|||
|
|
|||
|
bool PerformTransform { get; set; }
|
|||
|
|
|||
|
void Draw(CellDrawingContext dc);
|
|||
|
|
|||
|
void DrawChildren(CellDrawingContext dc);
|
|||
|
|
|||
|
bool Visible { get; set; }
|
|||
|
|
|||
|
Point PointToView(Point p);
|
|||
|
|
|||
|
Point PointToController(Point p);
|
|||
|
|
|||
|
IView GetViewByPoint(Point p);
|
|||
|
|
|||
|
IList<IView> Children { get; set; }
|
|||
|
}
|
|||
|
}
|