diff --git a/Int/bin/Debug/Int.exe b/Int/bin/Debug/Int.exe index 647e0fb..1a8166b 100755 Binary files a/Int/bin/Debug/Int.exe and b/Int/bin/Debug/Int.exe differ diff --git a/Int/bin/Debug/Int.exe.mdb b/Int/bin/Debug/Int.exe.mdb index 3341643..e4db905 100644 Binary files a/Int/bin/Debug/Int.exe.mdb and b/Int/bin/Debug/Int.exe.mdb differ diff --git a/Int/bin/Debug/Kary.Intactus.dll b/Int/bin/Debug/Kary.Intactus.dll index 66aae50..1e803c3 100755 Binary files a/Int/bin/Debug/Kary.Intactus.dll and b/Int/bin/Debug/Kary.Intactus.dll differ diff --git a/Int/bin/Debug/Kary.Intactus.dll.mdb b/Int/bin/Debug/Kary.Intactus.dll.mdb index c231283..ef23b05 100644 Binary files a/Int/bin/Debug/Kary.Intactus.dll.mdb and b/Int/bin/Debug/Kary.Intactus.dll.mdb differ diff --git a/Int/bin/Debug/Kary.Leopard.dll b/Int/bin/Debug/Kary.Leopard.dll index c653b70..060f9a4 100755 Binary files a/Int/bin/Debug/Kary.Leopard.dll and b/Int/bin/Debug/Kary.Leopard.dll differ diff --git a/Int/obj/Debug/Int.exe b/Int/obj/Debug/Int.exe index 647e0fb..1a8166b 100755 Binary files a/Int/obj/Debug/Int.exe and b/Int/obj/Debug/Int.exe differ diff --git a/Int/obj/Debug/Int.exe.mdb b/Int/obj/Debug/Int.exe.mdb index 3341643..e4db905 100644 Binary files a/Int/obj/Debug/Int.exe.mdb and b/Int/obj/Debug/Int.exe.mdb differ diff --git a/Intactus.userprefs b/Intactus.userprefs index aff4c62..d8c46b8 100644 --- a/Intactus.userprefs +++ b/Intactus.userprefs @@ -1,9 +1,9 @@  - + - - + + diff --git a/Intactus/Kary.Intactus.csproj b/Intactus/Kary.Intactus.csproj index 3d73c38..349f93e 100644 --- a/Intactus/Kary.Intactus.csproj +++ b/Intactus/Kary.Intactus.csproj @@ -7,6 +7,7 @@ Library Kary.Intactus Kary.Intactus + false true diff --git a/Intactus/bin/Debug/Kary.Intactus.dll b/Intactus/bin/Debug/Kary.Intactus.dll index 66aae50..1e803c3 100755 Binary files a/Intactus/bin/Debug/Kary.Intactus.dll and b/Intactus/bin/Debug/Kary.Intactus.dll differ diff --git a/Intactus/bin/Debug/Kary.Intactus.dll.mdb b/Intactus/bin/Debug/Kary.Intactus.dll.mdb index c231283..ef23b05 100644 Binary files a/Intactus/bin/Debug/Kary.Intactus.dll.mdb and b/Intactus/bin/Debug/Kary.Intactus.dll.mdb differ diff --git a/Intactus/bin/Debug/Kary.Leopard.dll b/Intactus/bin/Debug/Kary.Leopard.dll index c653b70..060f9a4 100755 Binary files a/Intactus/bin/Debug/Kary.Leopard.dll and b/Intactus/bin/Debug/Kary.Leopard.dll differ diff --git a/Intactus/obj/Debug/Kary.Intactus.dll b/Intactus/obj/Debug/Kary.Intactus.dll index 66aae50..1e803c3 100755 Binary files a/Intactus/obj/Debug/Kary.Intactus.dll and b/Intactus/obj/Debug/Kary.Intactus.dll differ diff --git a/Intactus/obj/Debug/Kary.Intactus.dll.mdb b/Intactus/obj/Debug/Kary.Intactus.dll.mdb index c231283..ef23b05 100644 Binary files a/Intactus/obj/Debug/Kary.Intactus.dll.mdb and b/Intactus/obj/Debug/Kary.Intactus.dll.mdb differ diff --git a/README.md b/README.md new file mode 100644 index 0000000..7ad51a5 --- /dev/null +++ b/README.md @@ -0,0 +1,106 @@ +![](title.png) + +Intactus is a super lightweight kit based on the Kary Framework's Leopard text facilities that provides native "text based" ASCII art like Mathematical Notation and Chart rendering for .NET technologies. + +The text rendered using Intactus is better to be displayed using `Menlo` font family. + +
+ +![](int.png) + +
+ +## API + +#### Intactus.Notation + +To create "Mathematical Notation" you can use this simple API + +```C# +Intactus.Notation.Generate( string ); +``` + +You feed it with a string representation of your notation and it will simply generate you an advance rendering: + +``C# +string simple_notation = "sqrt( abs( -32 / 2 ) )" +string rendered_notion = Intactus.Notation.Generate(simple_notation); +`` + +And then the `rendered_notion` will be: + +``` +┌ ┐ +⎪ ___________ ⎪ +⎪ ╱ ⎜ ⎟ ⎪ +⎪ ╱ ⎜ -32 ⎟ ⎪ +⎪ ╱ ⎜ ───── ⎟ ⎪ +⎪ ╱ ⎜ 2 ⎟ ⎪ +⎪ ╲╱ ⎜ ⎟ ⎪ +⎪ ⎪ +└ ┘ +``` + +
+ +#### Intactus.Charts.ColumnChart + +The API lets you create a column chart with your own defined with an specified height size and using an array of numbers: + +```C# +Intactus.Charts.ColumnChart (double[] numbers, int height); +``` + +So for example this code: + +```C# +double[] numbers = {33.5, 10, 24, 11.23, 34.32}; +Intactus.Charts.ColumnChart (numbers, 15); +``` + +Will result: + +``` +│ +│ ┌─┐ +│ ┌─┐ │ │ +│ │ │ │ │ +│ │ │ │ │ +│ │ │ │ │ +│ │ │ ┌─┐ │ │ +│ │ │ │ │ │ │ +│ │ │ │ │ │ │ +│ │ │ │ │ │ │ +│ │ │ │ │ │ │ +│ │ │ ┌─┐ │ │ ┌─┐ │ │ +│ │ │ │ │ │ │ │ │ │ │ +│ │ │ │ │ │ │ │ │ │ │ +│ │ │ │ │ │ │ │ │ │ │ +└──┴─┴──┴─┴──┴─┴──┴─┴──┴─┴── + 1 2 3 4 5 +``` + + +

+ +## License + +``` +Kary.Intactus - Advance Mathematical Notation and Chart Rendering Kit +Copyright (c) 2015 Kary Systems, Inc. All rights reserved. +Copyright (c) 2015 Pouya Kary + + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +``` \ No newline at end of file diff --git a/int.png b/int.png new file mode 100644 index 0000000..ca51b09 Binary files /dev/null and b/int.png differ diff --git a/title.png b/title.png new file mode 100644 index 0000000..159ad4c Binary files /dev/null and b/title.png differ