Click here to Skip to main content
15,885,537 members
Articles / Programming Languages / Visual Basic

Mathemathics Framework

Rate me:
Please Sign up or sign in to vote.
4.76/5 (56 votes)
16 Sep 2008CPOL6 min read 75.3K   6.2K   171  
.NET Mathematical Framework
Imports System.Drawing
Imports System.Windows.Forms

Public Enum EZoomType
    Full
    FullX
    FullY
    Previous
End Enum


'el zoom se tomara porcentual
Public Interface IZoomable

    Sub Zoom(ByVal factor As Single, ByVal Center As PointF)
    'rectangulo con las coordenadas depantalla que se desea hacer Zoom
    Sub Zoom(ByVal Rect As RectangleF)
    Sub Zoom(ByVal Corner1 As PointF, ByVal Corner2 As PointF)
    Sub Zoom(ByVal Back As EZoomType)

End Interface

'Public Interface IPannable

'    Sub Pan(ByVal Direction As EDirection)
'    Sub Pan(ByVal Direction As EDirection, ByVal Percentage As Single)
'    Sub Pan(ByVal ToPoint As PointF)

'End Interface

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Engineer Universidad Tecnológica Nacional
Argentina Argentina
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions