[]
        
(Showing Draft Content)

C1.WPF.C1ListViewerPanel.ConvertToRenderCoordinates

ConvertToRenderCoordinates Method

ConvertToRenderCoordinates(Size)

Converts a size from absolute coordinates to render coordinates.

Declaration
protected Size ConvertToRenderCoordinates(Size size)
Parameters
Type Name Description
Size size

The size to be converted.

Returns
Type Description
Size

ConvertToRenderCoordinates(Point)

Converts a point from absolute coordinates to render coordinates.

Declaration
protected Point ConvertToRenderCoordinates(Point size)
Parameters
Type Name Description
Point size

The point to be converted.

Returns
Type Description
Point

ConvertToRenderCoordinates(Rect)

Converts a rectangle from absolute coordinates to render coordinates.

Declaration
protected Rect ConvertToRenderCoordinates(Rect rect)
Parameters
Type Name Description
Rect rect

The rectangle to be converted.

Returns
Type Description
Rect

ConvertToRenderCoordinates(double)

Converts a length from absolute coordinates to render coordinates in order to implement zoom panel easily.

Declaration
protected virtual double ConvertToRenderCoordinates(double length)
Parameters
Type Name Description
double length

The length to be converted.

Returns
Type Description
double