Converts a coordinate in virtual space to a coordinate in client area.

Namespace: Sgry.Azuki
Assembly: Azuki (in Azuki.dll) Version: 1.7.13.40248

Syntax

C#
void VirtualToScreen(
	ref Point pt
)
Visual Basic
Sub VirtualToScreen ( 
	ByRef pt As Point
)

Parameters

pt
Type: System.Drawing..::..Point%

Remarks

Azuki uses two types of coordinate system - virtual coordinate system and client coordinate system. In client coordinate system, all points are relative to origin of upper-left corner of the 'client area.' The client area is the entire area used by Azuki so coordinate of the origin of text area will change depending on whether meta information areas (such as line number area) are displayed or not. In virtual coordinate system, all points are relative to the origin of text area. Text area is the main area which displays text content and it does not contain areas for displaying meta information.

This method converts a coordinate in client coordinate system to a coordinate in virtual coordinate system.

See Also