mirror of
https://bitbucket.org/anguist/ntpa
synced 2026-10-02 16:31:57 +00:00
Version 0.2 changes
This commit is contained in:
+17
-22
@@ -29,30 +29,25 @@
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Drawing;
|
||||
|
||||
namespace NPlot
|
||||
{
|
||||
/// <summary>
|
||||
/// This interface is useful in the Plot classes for transforming
|
||||
/// world to physical coordinates. Create on using the GetTransformer
|
||||
/// static method in Transform2D.
|
||||
/// </summary>
|
||||
public interface ITransform2D
|
||||
{
|
||||
/// <summary>
|
||||
/// Transforms the given world point to physical coordinates
|
||||
/// </summary>
|
||||
PointF Transform(double x, double y);
|
||||
|
||||
/// <summary>
|
||||
/// This interface is useful in the Plot classes for transforming
|
||||
/// world to physical coordinates. Create on using the GetTransformer
|
||||
/// static method in Transform2D.
|
||||
/// </summary>
|
||||
public interface ITransform2D
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Transforms the given world point to physical coordinates
|
||||
/// </summary>
|
||||
PointF Transform( double x, double y );
|
||||
|
||||
/// <summary>
|
||||
/// Transforms the given world point to physical coordinates
|
||||
/// </summary>
|
||||
PointF Transform( PointD worldPoint );
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Transforms the given world point to physical coordinates
|
||||
/// </summary>
|
||||
PointF Transform(PointD worldPoint);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user