C# 클래스 Fluent.DpiHelper

파일 보기 프로젝트 열기: Gainedge/BetterExplorer

공개 메소드들

메소드 설명
DevicePixelsToLogical ( Point devicePoint ) : Point

Convert a point in system coordinates to a point in device independent pixels (1/96").

DeviceRectToLogical ( Rect deviceRectangle ) : Rect
DeviceSizeToLogical ( Size deviceSize ) : Size
LogicalPixelsToDevice ( Point logicalPoint ) : Point

Convert a point in device independent pixels (1/96") to a point in the system coordinates.

비공개 메소드들

메소드 설명
DpiHelper ( ) : System
LogicalRectToDevice ( Rect logicalRectangle ) : Rect
LogicalSizeToDevice ( Size logicalSize ) : Size

메소드 상세

DevicePixelsToLogical() 공개 정적인 메소드

Convert a point in system coordinates to a point in device independent pixels (1/96").
public static DevicePixelsToLogical ( Point devicePoint ) : Point
devicePoint Point A point in the physical coordinate system.
리턴 Point

DeviceRectToLogical() 공개 정적인 메소드

public static DeviceRectToLogical ( Rect deviceRectangle ) : Rect
deviceRectangle System.Windows.Rect
리턴 System.Windows.Rect

DeviceSizeToLogical() 공개 정적인 메소드

public static DeviceSizeToLogical ( Size deviceSize ) : Size
deviceSize System.Windows.Size
리턴 System.Windows.Size

LogicalPixelsToDevice() 공개 정적인 메소드

Convert a point in device independent pixels (1/96") to a point in the system coordinates.
public static LogicalPixelsToDevice ( Point logicalPoint ) : Point
logicalPoint Point A point in the logical coordinate system.
리턴 Point