C# 클래스 Svg.SvgUnit

파일 보기 프로젝트 열기: vvvv/SVG 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Empty SvgUnit
None SvgUnit

공개 메소드들

메소드 설명
Equals ( SvgUnit other ) : bool
Equals ( object obj ) : bool
GetDevicePoint ( SvgUnit x, SvgUnit y, ISvgRenderer renderer, SvgElement owner ) : PointF
GetDevicePointOffset ( SvgUnit x, SvgUnit y, ISvgRenderer renderer, SvgElement owner ) : PointF
GetDeviceSize ( SvgUnit width, SvgUnit height, ISvgRenderer renderer, SvgElement owner ) : SizeF
GetHashCode ( ) : int
SvgUnit ( SvgUnitType type, float value ) : System

Initializes a new instance of the SvgUnit struct.

SvgUnit ( float value ) : System

Initializes a new instance of the SvgUnit struct.

ToDeviceValue ( ISvgRenderer renderer, UnitRenderingType renderType, SvgElement owner ) : float

Converts the current unit to one that can be used at render time.

ToPercentage ( ) : SvgUnit

Converts the current unit to a percentage, if applicable.

ToString ( ) : string
operator ( ) : bool

비공개 메소드들

메소드 설명
GetFont ( ISvgRenderer renderer, SvgElement owner ) : IFontDefn

메소드 상세

Equals() 공개 메소드

public Equals ( SvgUnit other ) : bool
other SvgUnit
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetDevicePoint() 공개 정적인 메소드

public static GetDevicePoint ( SvgUnit x, SvgUnit y, ISvgRenderer renderer, SvgElement owner ) : PointF
x SvgUnit
y SvgUnit
renderer ISvgRenderer
owner SvgElement
리턴 System.Drawing.PointF

GetDevicePointOffset() 공개 정적인 메소드

public static GetDevicePointOffset ( SvgUnit x, SvgUnit y, ISvgRenderer renderer, SvgElement owner ) : PointF
x SvgUnit
y SvgUnit
renderer ISvgRenderer
owner SvgElement
리턴 System.Drawing.PointF

GetDeviceSize() 공개 정적인 메소드

public static GetDeviceSize ( SvgUnit width, SvgUnit height, ISvgRenderer renderer, SvgElement owner ) : SizeF
width SvgUnit
height SvgUnit
renderer ISvgRenderer
owner SvgElement
리턴 System.Drawing.SizeF

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

SvgUnit() 공개 메소드

Initializes a new instance of the SvgUnit struct.
public SvgUnit ( SvgUnitType type, float value ) : System
type SvgUnitType The type.
value float The value.
리턴 System

SvgUnit() 공개 메소드

Initializes a new instance of the SvgUnit struct.
public SvgUnit ( float value ) : System
value float The value.
리턴 System

ToDeviceValue() 공개 메소드

Converts the current unit to one that can be used at render time.
public ToDeviceValue ( ISvgRenderer renderer, UnitRenderingType renderType, SvgElement owner ) : float
renderer ISvgRenderer
renderType UnitRenderingType
owner SvgElement
리턴 float

ToPercentage() 공개 메소드

Converts the current unit to a percentage, if applicable.
public ToPercentage ( ) : SvgUnit
리턴 SvgUnit

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool

프로퍼티 상세

Empty 공개적으로 정적으로 프로퍼티

Gets and empty SvgUnit.
public static SvgUnit,Svg Empty
리턴 SvgUnit

None 공개적으로 정적으로 프로퍼티

Gets an SvgUnit with a value of none.
public static SvgUnit,Svg None
리턴 SvgUnit