C# Class Demo.SDF.DistanceField

Datei anzeigen Open project: fealty/Frost Class Usage Examples

Public Properties

Property Type Description
MaxLevel float
MaximumError float
MinimumError float

Public Methods

Method Description
CreateField ( Shape geometry, double normalizedBaseline, Device2D device2D ) : Canvas

Private Methods

Method Description
ComputeTree ( Rectangle &region, Device2D device2D ) : Sample
ComputeTree ( Rectangle &region, Device2D device2D, Sample &parentTopLeft, Sample &parentTopRight, Sample &parentBottomLeft, Sample &parentBottomRight, double level = 1.0 ) : Sample
DistanceField ( ) : System

Method Details

CreateField() public method

public CreateField ( Shape geometry, double normalizedBaseline, Device2D device2D ) : Canvas
geometry Shape
normalizedBaseline double
device2D Device2D
return Frost.Canvas

Property Details

MaxLevel public_oe static_oe property

public static float MaxLevel
return float

MaximumError public_oe static_oe property

public static float MaximumError
return float

MinimumError public_oe static_oe property

public static float MinimumError
return float