fix(plotter): bind canvas paint event, attach tab manager, remove glitched glyphs and release v2.9.0
This commit is contained in:
parent
8228ae3514
commit
fcf315abda
8 changed files with 71 additions and 44 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
# 📐 ttCalculator v2.8.0
|
# 📐 ttCalculator v2.9.0
|
||||||
|
|
||||||
[](https://github.com/LilDosto/ttCalculator/releases)
|
[](https://github.com/LilDosto/ttCalculator/releases)
|
||||||
[](LICENSE)
|
[](LICENSE)
|
||||||
|
|
@ -13,11 +13,11 @@ Tüm matematiksel çekirdek, otomatik test paketinden **%100 başarıyla (0 hata
|
||||||
|
|
||||||
## 🚀 Hızlı Başlangıç & Kurulum
|
## 🚀 Hızlı Başlangıç & Kurulum
|
||||||
|
|
||||||
1. **[Releases](https://github.com/LilDosto/ttCalculator/releases/tag/v2.8.0)** sayfasına gidin.
|
1. **[Releases](https://github.com/LilDosto/ttCalculator/releases/tag/v2.9.0)** sayfasına gidin.
|
||||||
2. İhtiyacınıza göre indirin:
|
2. İhtiyacınıza göre indirin:
|
||||||
- **`ttCalculator-v2.8.0-Setup.exe` (Önerilen)**: Standart Windows kurulum sihirbazı. Masaüstüne ve Başlat Menüsüne kısayol oluşturur, Denetim Masası / Program Ekle-Kaldır entegrasyonu sağlar.
|
- **`ttCalculator-v2.9.0-Setup.exe` (Önerilen)**: Standart Windows kurulum sihirbazı. Masaüstüne ve Başlat Menüsüne kısayol oluşturur, Denetim Masası / Program Ekle-Kaldır entegrasyonu sağlar.
|
||||||
- **`ttCalculator.exe`**: Kurulumsuz doğrudan çalıştırılabilen tek dosya taşınabilir (portable) sürüm.
|
- **`ttCalculator.exe`**: Kurulumsuz doğrudan çalıştırılabilen tek dosya taşınabilir (portable) sürüm.
|
||||||
- **`ttCalculator-v2.8.0-win-x64.zip`**: Taşınabilir arşiv paketi.
|
- **`ttCalculator-v2.9.0-win-x64.zip`**: Taşınabilir arşiv paketi.
|
||||||
3. Çift tıklayarak doğrudan çalıştırın — ek bağımlılık gerektirmez!
|
3. Çift tıklayarak doğrudan çalıştırın — ek bağımlılık gerektirmez!
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
; Script generated by Antigravity for ttCalculator
|
; Script generated by Antigravity for ttCalculator
|
||||||
#define MyAppName "ttCalculator"
|
#define MyAppName "ttCalculator"
|
||||||
#define MyAppVersion "2.8.0"
|
#define MyAppVersion "2.9.0"
|
||||||
#define MyAppPublisher "LilDosto"
|
#define MyAppPublisher "LilDosto"
|
||||||
#define MyAppURL "https://github.com/LilDosto/ttCalculator"
|
#define MyAppURL "https://github.com/LilDosto/ttCalculator"
|
||||||
#define MyAppExeName "ttCalculator.exe"
|
#define MyAppExeName "ttCalculator.exe"
|
||||||
|
|
@ -25,7 +25,7 @@ DefaultGroupName={#MyAppName}
|
||||||
AllowNoIcons=yes
|
AllowNoIcons=yes
|
||||||
LicenseFile=..\LICENSE
|
LicenseFile=..\LICENSE
|
||||||
OutputDir=..\Release
|
OutputDir=..\Release
|
||||||
OutputBaseFilename=ttCalculator-v2.8.0-Setup
|
OutputBaseFilename=ttCalculator-v2.9.0-Setup
|
||||||
SetupIconFile=..\Release\logo.ico
|
SetupIconFile=..\Release\logo.ico
|
||||||
Compression=lzma2/ultra64
|
Compression=lzma2/ultra64
|
||||||
SolidCompression=yes
|
SolidCompression=yes
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ namespace MathApp.Controls
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.pnlHeader = ThemeHelper.CreateHeaderPanel(
|
this.pnlHeader = ThemeHelper.CreateHeaderPanel(
|
||||||
"Gelişmiş Çoklu Fonksiyon & Geometri Grafiği Stüdyosu",
|
"Gelişmiş Çoklu Fonksiyon ve Geometri Grafiği Stüdyosu",
|
||||||
"Çoklu katmanlı eğriler, kutupsal (polar) fonksiyonlar, otomatik kritik nokta tespiti (kök, extremum, büküm), teğet inceleme ve parametre sürgüleri.");
|
"Çoklu katmanlı eğriler, kutupsal (polar) fonksiyonlar, otomatik kritik nokta tespiti (kök, extremum, büküm), teğet inceleme ve parametre sürgüleri.");
|
||||||
|
|
||||||
this.pnlControls = new Panel();
|
this.pnlControls = new Panel();
|
||||||
|
|
@ -39,16 +39,16 @@ namespace MathApp.Controls
|
||||||
this.lblMaxX = new Label();
|
this.lblMaxX = new Label();
|
||||||
this.txtMaxX = new TextBox();
|
this.txtMaxX = new TextBox();
|
||||||
this.chkClampRange = new CheckBox();
|
this.chkClampRange = new CheckBox();
|
||||||
this.btnPlot = ThemeHelper.CreateActionButton("➕ Ekle / Çiz", 100, 27, true);
|
this.btnPlot = ThemeHelper.CreateActionButton("+ Ekle / Çiz", 100, 27, true);
|
||||||
|
|
||||||
// Scale & Analysis Toolbar buttons
|
// Scale & Analysis Toolbar buttons
|
||||||
this.btnZoomXIn = ThemeHelper.CreateActionButton("↔ X Genişlet (+)", 105, 26, false);
|
this.btnZoomXIn = ThemeHelper.CreateActionButton("X Genişlet (+)", 100, 26, false);
|
||||||
this.btnZoomXOut = ThemeHelper.CreateActionButton("X Daralt (-)", 85, 26, false);
|
this.btnZoomXOut = ThemeHelper.CreateActionButton("X Daralt (-)", 85, 26, false);
|
||||||
this.btnZoomX10 = ThemeHelper.CreateActionButton("X: 10×", 55, 26, false);
|
this.btnZoomX10 = ThemeHelper.CreateActionButton("X: 10×", 55, 26, false);
|
||||||
this.btnZoomYIn = ThemeHelper.CreateActionButton("↕ Y Genişlet (+)", 105, 26, false);
|
this.btnZoomYIn = ThemeHelper.CreateActionButton("Y Genişlet (+)", 100, 26, false);
|
||||||
this.btnZoomYOut = ThemeHelper.CreateActionButton("Y Daralt (-)", 85, 26, false);
|
this.btnZoomYOut = ThemeHelper.CreateActionButton("Y Daralt (-)", 85, 26, false);
|
||||||
this.btnAspect1to1 = ThemeHelper.CreateActionButton("1:1 Oran", 68, 26, false);
|
this.btnAspect1to1 = ThemeHelper.CreateActionButton("1:1 Oran", 68, 26, false);
|
||||||
this.btnResetView = ThemeHelper.CreateActionButton("🔄 Sıfırla", 68, 26, false);
|
this.btnResetView = ThemeHelper.CreateActionButton("Sıfırla", 68, 26, false);
|
||||||
this.chkCriticalPoints = new CheckBox();
|
this.chkCriticalPoints = new CheckBox();
|
||||||
this.chkInspectMode = new CheckBox();
|
this.chkInspectMode = new CheckBox();
|
||||||
this.chkShowAsymptotes = new CheckBox();
|
this.chkShowAsymptotes = new CheckBox();
|
||||||
|
|
@ -94,8 +94,8 @@ namespace MathApp.Controls
|
||||||
this.tbParamC = new TrackBar();
|
this.tbParamC = new TrackBar();
|
||||||
this.lblParamK = new Label();
|
this.lblParamK = new Label();
|
||||||
this.tbParamK = new TrackBar();
|
this.tbParamK = new TrackBar();
|
||||||
this.btnAnimate = ThemeHelper.CreateActionButton("▶ Canlı Dalga Animasyonu", 284, 30, true);
|
this.btnAnimate = ThemeHelper.CreateActionButton("Canlı Dalga Animasyonu", 284, 30, true);
|
||||||
this.btnResetParams = ThemeHelper.CreateActionButton("🔄 Parametreleri Sıfırla", 284, 28, false);
|
this.btnResetParams = ThemeHelper.CreateActionButton("Parametreleri Sıfırla", 284, 28, false);
|
||||||
this.lblSliderHint = new Label();
|
this.lblSliderHint = new Label();
|
||||||
|
|
||||||
// Tools Tab Controls
|
// Tools Tab Controls
|
||||||
|
|
@ -103,17 +103,17 @@ namespace MathApp.Controls
|
||||||
this.cmbToolF1 = new ComboBox();
|
this.cmbToolF1 = new ComboBox();
|
||||||
this.lblToolF2 = new Label();
|
this.lblToolF2 = new Label();
|
||||||
this.cmbToolF2 = new ComboBox();
|
this.cmbToolF2 = new ComboBox();
|
||||||
this.btnCommonTangent = ThemeHelper.CreateActionButton("📐 Ortak Teğet Doğrusunu Bul", 284, 28, true);
|
this.btnCommonTangent = ThemeHelper.CreateActionButton("Ortak Teğet Doğrusunu Bul", 284, 28, true);
|
||||||
this.btnNearestPoints = ThemeHelper.CreateActionButton("📍 En Yakın Noktalar & Doğru", 284, 28, false);
|
this.btnNearestPoints = ThemeHelper.CreateActionButton("En Yakın Noktalar ve Doğru", 284, 28, false);
|
||||||
this.lblToolSep = new Label();
|
this.lblToolSep = new Label();
|
||||||
this.lblToolPointTan = new Label();
|
this.lblToolPointTan = new Label();
|
||||||
this.txtTanPointX = new TextBox();
|
this.txtTanPointX = new TextBox();
|
||||||
this.txtTanPointY = new TextBox();
|
this.txtTanPointY = new TextBox();
|
||||||
this.btnPointTangent = ThemeHelper.CreateActionButton("📏 Noktadan Teğet Çiz", 284, 28, false);
|
this.btnPointTangent = ThemeHelper.CreateActionButton("Noktadan Teğet Çiz", 284, 28, false);
|
||||||
this.txtToolLog = new RichTextBox();
|
this.txtToolLog = new RichTextBox();
|
||||||
this.btnExportImage = ThemeHelper.CreateActionButton("📷 Grafiği Resim (PNG) Kaydet", 284, 28, false);
|
this.btnExportImage = ThemeHelper.CreateActionButton("Grafiği Resim (PNG) Kaydet", 284, 28, false);
|
||||||
this.btnExportCsv = ThemeHelper.CreateActionButton("📊 Değer Tablosunu CSV İndir", 284, 28, false);
|
this.btnExportCsv = ThemeHelper.CreateActionButton("Değer Tablosunu CSV İndir", 284, 28, false);
|
||||||
this.btnExportLatex = ThemeHelper.CreateActionButton("📜 LaTeX (TikZ) Kodu Üret", 284, 28, false);
|
this.btnExportLatex = ThemeHelper.CreateActionButton("LaTeX (TikZ) Kodu Üret", 284, 28, false);
|
||||||
|
|
||||||
// Shapes Tab Controls
|
// Shapes Tab Controls
|
||||||
this.lblShapeType = new Label();
|
this.lblShapeType = new Label();
|
||||||
|
|
@ -127,7 +127,7 @@ namespace MathApp.Controls
|
||||||
this.txtShapeDim2 = new TextBox();
|
this.txtShapeDim2 = new TextBox();
|
||||||
this.lblShapeAngle = new Label();
|
this.lblShapeAngle = new Label();
|
||||||
this.txtShapeAngle = new TextBox();
|
this.txtShapeAngle = new TextBox();
|
||||||
this.btnAddShape = ThemeHelper.CreateActionButton("📐 Şekli Grafiğe Ekle", 284, 32, true);
|
this.btnAddShape = ThemeHelper.CreateActionButton("Şekli Grafiğe Ekle", 284, 32, true);
|
||||||
|
|
||||||
this.pnlStatusBar = new Panel();
|
this.pnlStatusBar = new Panel();
|
||||||
this.lblStatus = new Label();
|
this.lblStatus = new Label();
|
||||||
|
|
@ -228,26 +228,26 @@ namespace MathApp.Controls
|
||||||
|
|
||||||
int yRow2 = 70;
|
int yRow2 = 70;
|
||||||
this.btnZoomXIn.Location = new Point(14, yRow2);
|
this.btnZoomXIn.Location = new Point(14, yRow2);
|
||||||
this.btnZoomXOut.Location = new Point(122, yRow2);
|
this.btnZoomXOut.Location = new Point(118, yRow2);
|
||||||
this.btnZoomX10.Location = new Point(210, yRow2);
|
this.btnZoomX10.Location = new Point(207, yRow2);
|
||||||
this.btnZoomYIn.Location = new Point(268, yRow2);
|
this.btnZoomYIn.Location = new Point(266, yRow2);
|
||||||
this.btnZoomYOut.Location = new Point(376, yRow2);
|
this.btnZoomYOut.Location = new Point(370, yRow2);
|
||||||
this.btnAspect1to1.Location = new Point(464, yRow2);
|
this.btnAspect1to1.Location = new Point(459, yRow2);
|
||||||
this.btnResetView.Location = new Point(535, yRow2);
|
this.btnResetView.Location = new Point(531, yRow2);
|
||||||
|
|
||||||
this.chkCriticalPoints.Text = "🎯 Kritik Noktalar";
|
this.chkCriticalPoints.Text = "Kritik Noktalar";
|
||||||
this.chkCriticalPoints.ForeColor = Color.FromArgb(52, 211, 153);
|
this.chkCriticalPoints.ForeColor = Color.FromArgb(52, 211, 153);
|
||||||
this.chkCriticalPoints.Location = new Point(608, yRow2 + 2);
|
this.chkCriticalPoints.Location = new Point(603, yRow2 + 2);
|
||||||
this.chkCriticalPoints.Size = new Size(125, 24);
|
this.chkCriticalPoints.Size = new Size(110, 24);
|
||||||
|
|
||||||
this.chkInspectMode.Text = "🔍 Teğet İncele";
|
this.chkInspectMode.Text = "Teğet İncele";
|
||||||
this.chkInspectMode.ForeColor = Color.FromArgb(56, 189, 248);
|
this.chkInspectMode.ForeColor = Color.FromArgb(56, 189, 248);
|
||||||
this.chkInspectMode.Location = new Point(738, yRow2 + 2);
|
this.chkInspectMode.Location = new Point(717, yRow2 + 2);
|
||||||
this.chkInspectMode.Size = new Size(115, 24);
|
this.chkInspectMode.Size = new Size(100, 24);
|
||||||
|
|
||||||
this.chkShowAsymptotes.Text = "Asimptotlar";
|
this.chkShowAsymptotes.Text = "Asimptotlar";
|
||||||
this.chkShowAsymptotes.ForeColor = Color.FromArgb(244, 63, 94);
|
this.chkShowAsymptotes.ForeColor = Color.FromArgb(244, 63, 94);
|
||||||
this.chkShowAsymptotes.Location = new Point(856, yRow2 + 2);
|
this.chkShowAsymptotes.Location = new Point(821, yRow2 + 2);
|
||||||
this.chkShowAsymptotes.Size = new Size(95, 24);
|
this.chkShowAsymptotes.Size = new Size(95, 24);
|
||||||
|
|
||||||
this.pnlControls.Controls.Add(this.pnlPresets);
|
this.pnlControls.Controls.Add(this.pnlPresets);
|
||||||
|
|
@ -283,6 +283,7 @@ namespace MathApp.Controls
|
||||||
this.tabManager.Controls.Add(this.tabSliders);
|
this.tabManager.Controls.Add(this.tabSliders);
|
||||||
this.tabManager.Controls.Add(this.tabTools);
|
this.tabManager.Controls.Add(this.tabTools);
|
||||||
this.tabManager.Controls.Add(this.tabShapes);
|
this.tabManager.Controls.Add(this.tabShapes);
|
||||||
|
this.pnlRightSide.Controls.Add(this.tabManager);
|
||||||
|
|
||||||
// tabFunctions
|
// tabFunctions
|
||||||
this.tabFunctions.Text = "Eğriler";
|
this.tabFunctions.Text = "Eğriler";
|
||||||
|
|
@ -392,7 +393,7 @@ namespace MathApp.Controls
|
||||||
this.btnPtColor.BackColor = Color.FromArgb(250, 204, 21);
|
this.btnPtColor.BackColor = Color.FromArgb(250, 204, 21);
|
||||||
this.btnPtColor.FlatStyle = FlatStyle.Flat;
|
this.btnPtColor.FlatStyle = FlatStyle.Flat;
|
||||||
|
|
||||||
this.btnAddPoint.Text = "➕ Ekle";
|
this.btnAddPoint.Text = "+ Ekle";
|
||||||
this.btnAddPoint.Location = new Point(236, 188);
|
this.btnAddPoint.Location = new Point(236, 188);
|
||||||
this.btnAddPoint.Size = new Size(58, 25);
|
this.btnAddPoint.Size = new Size(58, 25);
|
||||||
this.btnAddPoint.BackColor = ThemeHelper.AccentBlue;
|
this.btnAddPoint.BackColor = ThemeHelper.AccentBlue;
|
||||||
|
|
@ -424,7 +425,7 @@ namespace MathApp.Controls
|
||||||
this.btnClearPoints.ForeColor = Color.White;
|
this.btnClearPoints.ForeColor = Color.White;
|
||||||
this.btnClearPoints.FlatStyle = FlatStyle.Flat;
|
this.btnClearPoints.FlatStyle = FlatStyle.Flat;
|
||||||
|
|
||||||
this.lblPointHint.Text = "💡 İpucu: Grafik tuvalinde bir noktanın üzerine sağ tıklayarak da o noktayı silebilirsiniz.";
|
this.lblPointHint.Text = "İpucu: Grafik tuvalinde bir noktanın üzerine sağ tıklayarak da o noktayı silebilirsiniz.";
|
||||||
this.lblPointHint.Location = new Point(8, 295);
|
this.lblPointHint.Location = new Point(8, 295);
|
||||||
this.lblPointHint.Size = new Size(280, 50);
|
this.lblPointHint.Size = new Size(280, 50);
|
||||||
this.lblPointHint.ForeColor = ThemeHelper.MutedText;
|
this.lblPointHint.ForeColor = ThemeHelper.MutedText;
|
||||||
|
|
@ -503,7 +504,7 @@ namespace MathApp.Controls
|
||||||
this.btnAnimate.Location = new Point(8, 268);
|
this.btnAnimate.Location = new Point(8, 268);
|
||||||
this.btnResetParams.Location = new Point(8, 302);
|
this.btnResetParams.Location = new Point(8, 302);
|
||||||
|
|
||||||
this.lblSliderHint.Text = "💡 İpucu: Formülünüze a, b, c veya k değişkenlerini ekleyin (ör: a*sin(b*x + c)). Sürgüleri hareket ettirerek dalga animasyonunu canlı izleyin.";
|
this.lblSliderHint.Text = "İpucu: Formülünüze a, b, c veya k değişkenlerini ekleyin (ör: a*sin(b*x + c)). Sürgüleri hareket ettirerek dalga animasyonunu canlı izleyin.";
|
||||||
this.lblSliderHint.Location = new Point(8, 340);
|
this.lblSliderHint.Location = new Point(8, 340);
|
||||||
this.lblSliderHint.Size = new Size(284, 60);
|
this.lblSliderHint.Size = new Size(284, 60);
|
||||||
this.lblSliderHint.ForeColor = ThemeHelper.MutedText;
|
this.lblSliderHint.ForeColor = ThemeHelper.MutedText;
|
||||||
|
|
@ -522,7 +523,7 @@ namespace MathApp.Controls
|
||||||
this.tabSliders.Controls.Add(this.lblSliderHint);
|
this.tabSliders.Controls.Add(this.lblSliderHint);
|
||||||
|
|
||||||
// tabTools
|
// tabTools
|
||||||
this.tabTools.Text = "Araçlar & Analiz";
|
this.tabTools.Text = "Araçlar";
|
||||||
this.tabTools.BackColor = ThemeHelper.DarkBackground;
|
this.tabTools.BackColor = ThemeHelper.DarkBackground;
|
||||||
this.tabTools.Padding = new Padding(8);
|
this.tabTools.Padding = new Padding(8);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -144,6 +144,14 @@ namespace MathApp.Controls
|
||||||
AddFunctionCurve("sin(x)", false, -10f, 10f);
|
AddFunctionCurve("sin(x)", false, -10f, 10f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override void OnLoad(EventArgs e)
|
||||||
|
{
|
||||||
|
base.OnLoad(e);
|
||||||
|
GenerateAllPoints(false, isDraft: false);
|
||||||
|
DetectCriticalPoints();
|
||||||
|
pnlCanvas.Invalidate();
|
||||||
|
}
|
||||||
|
|
||||||
private void SetupEvents()
|
private void SetupEvents()
|
||||||
{
|
{
|
||||||
btnPlot.Click += (s, e) => AddCurrentInputCurve();
|
btnPlot.Click += (s, e) => AddCurrentInputCurve();
|
||||||
|
|
@ -170,12 +178,21 @@ namespace MathApp.Controls
|
||||||
chkInspectMode.CheckedChanged += (s, e) => pnlCanvas.Invalidate();
|
chkInspectMode.CheckedChanged += (s, e) => pnlCanvas.Invalidate();
|
||||||
chkShowAsymptotes.CheckedChanged += (s, e) => pnlCanvas.Invalidate();
|
chkShowAsymptotes.CheckedChanged += (s, e) => pnlCanvas.Invalidate();
|
||||||
|
|
||||||
// Canvas Mouse Events
|
// Canvas Mouse & Paint Events
|
||||||
|
pnlCanvas.Paint += pnlCanvas_Paint;
|
||||||
pnlCanvas.MouseDown += PnlCanvas_MouseDown;
|
pnlCanvas.MouseDown += PnlCanvas_MouseDown;
|
||||||
pnlCanvas.MouseMove += PnlCanvas_MouseMove;
|
pnlCanvas.MouseMove += PnlCanvas_MouseMove;
|
||||||
pnlCanvas.MouseUp += PnlCanvas_MouseUp;
|
pnlCanvas.MouseUp += PnlCanvas_MouseUp;
|
||||||
pnlCanvas.MouseLeave += (s, e) => { hoverMousePos = null; pnlCanvas.Invalidate(); };
|
pnlCanvas.MouseLeave += (s, e) => { hoverMousePos = null; pnlCanvas.Invalidate(); };
|
||||||
pnlCanvas.MouseWheel += PnlCanvas_MouseWheel;
|
pnlCanvas.MouseWheel += PnlCanvas_MouseWheel;
|
||||||
|
pnlCanvas.Resize += (s, e) =>
|
||||||
|
{
|
||||||
|
if (pnlCanvas.Width > 10 && pnlCanvas.Height > 10)
|
||||||
|
{
|
||||||
|
GenerateAllPoints(false, isDraft: false);
|
||||||
|
pnlCanvas.Invalidate();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
// Curve management
|
// Curve management
|
||||||
lstCurves.SelectedIndexChanged += LstCurves_SelectedIndexChanged;
|
lstCurves.SelectedIndexChanged += LstCurves_SelectedIndexChanged;
|
||||||
|
|
@ -981,8 +998,6 @@ namespace MathApp.Controls
|
||||||
rangeMaxY += shiftY;
|
rangeMaxY += shiftY;
|
||||||
|
|
||||||
lastMousePos = e.Location;
|
lastMousePos = e.Location;
|
||||||
txtMinX.Text = rangeMinX.ToString("0.##", CultureInfo.InvariantCulture);
|
|
||||||
txtMaxX.Text = rangeMaxX.ToString("0.##", CultureInfo.InvariantCulture);
|
|
||||||
|
|
||||||
GenerateAllPoints(false, isDraft: true);
|
GenerateAllPoints(false, isDraft: true);
|
||||||
pnlCanvas.Invalidate();
|
pnlCanvas.Invalidate();
|
||||||
|
|
@ -1616,7 +1631,7 @@ namespace MathApp.Controls
|
||||||
{
|
{
|
||||||
var validCurves = _curves.Where(c => c.Visible && !c.IsVerticalLine && !c.IsPolar).ToList();
|
var validCurves = _curves.Where(c => c.Visible && !c.IsVerticalLine && !c.IsPolar).ToList();
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.AppendLine("% ttCalculator v2.8 LaTeX Pgfplots / TikZ Kodu");
|
sb.AppendLine("% ttCalculator v2.9 LaTeX Pgfplots / TikZ Kodu");
|
||||||
sb.AppendLine("\\begin{tikzpicture}");
|
sb.AppendLine("\\begin{tikzpicture}");
|
||||||
sb.AppendLine("\\begin{axis}[");
|
sb.AppendLine("\\begin{axis}[");
|
||||||
sb.AppendLine($" xmin={rangeMinX:F1}, xmax={rangeMaxX:F1},");
|
sb.AppendLine($" xmin={rangeMinX:F1}, xmax={rangeMaxX:F1},");
|
||||||
|
|
|
||||||
2
src/ttCalculator/MainForm.Designer.cs
generated
2
src/ttCalculator/MainForm.Designer.cs
generated
|
|
@ -156,7 +156,7 @@ namespace MathApp
|
||||||
// Footer version label
|
// Footer version label
|
||||||
this.lblVersion.Dock = DockStyle.Bottom;
|
this.lblVersion.Dock = DockStyle.Bottom;
|
||||||
this.lblVersion.Height = 28;
|
this.lblVersion.Height = 28;
|
||||||
this.lblVersion.Text = "v2.8 • 128-bit Decimal Motoru • 60 FPS";
|
this.lblVersion.Text = "v2.9 • 128-bit Decimal Motoru • 60 FPS";
|
||||||
this.lblVersion.Font = new Font("Segoe UI", 8F);
|
this.lblVersion.Font = new Font("Segoe UI", 8F);
|
||||||
this.lblVersion.ForeColor = Color.FromArgb(100, 116, 139);
|
this.lblVersion.ForeColor = Color.FromArgb(100, 116, 139);
|
||||||
this.lblVersion.TextAlign = ContentAlignment.MiddleCenter;
|
this.lblVersion.TextAlign = ContentAlignment.MiddleCenter;
|
||||||
|
|
|
||||||
|
|
@ -96,6 +96,7 @@ namespace MathApp
|
||||||
Label lblTitle = new Label
|
Label lblTitle = new Label
|
||||||
{
|
{
|
||||||
Text = title,
|
Text = title,
|
||||||
|
UseMnemonic = false,
|
||||||
Location = new Point(24, 12),
|
Location = new Point(24, 12),
|
||||||
AutoSize = false,
|
AutoSize = false,
|
||||||
Size = new Size(900, 28),
|
Size = new Size(900, 28),
|
||||||
|
|
@ -107,6 +108,7 @@ namespace MathApp
|
||||||
Label lblSub = new Label
|
Label lblSub = new Label
|
||||||
{
|
{
|
||||||
Text = subtitle,
|
Text = subtitle,
|
||||||
|
UseMnemonic = false,
|
||||||
Location = new Point(24, 40),
|
Location = new Point(24, 40),
|
||||||
AutoSize = false,
|
AutoSize = false,
|
||||||
Size = new Size(900, 22),
|
Size = new Size(900, 22),
|
||||||
|
|
@ -171,6 +173,15 @@ namespace MathApp
|
||||||
tabControl.SizeMode = TabSizeMode.Fixed;
|
tabControl.SizeMode = TabSizeMode.Fixed;
|
||||||
tabControl.ItemSize = new Size(Math.Max(56, (tabControl.Width - 10) / Math.Max(1, tabControl.TabCount)), 32);
|
tabControl.ItemSize = new Size(Math.Max(56, (tabControl.Width - 10) / Math.Max(1, tabControl.TabCount)), 32);
|
||||||
|
|
||||||
|
tabControl.Resize += (s, e) =>
|
||||||
|
{
|
||||||
|
if (tabControl.TabCount > 0 && tabControl.Width > 20)
|
||||||
|
{
|
||||||
|
tabControl.ItemSize = new Size(Math.Max(56, (tabControl.Width - 10) / tabControl.TabCount), 32);
|
||||||
|
tabControl.Invalidate();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
tabControl.DrawItem += (s, e) =>
|
tabControl.DrawItem += (s, e) =>
|
||||||
{
|
{
|
||||||
Graphics g = e.Graphics;
|
Graphics g = e.Graphics;
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
<ApplicationIcon>logo.ico</ApplicationIcon>
|
<ApplicationIcon>logo.ico</ApplicationIcon>
|
||||||
<AssemblyName>ttCalculator</AssemblyName>
|
<AssemblyName>ttCalculator</AssemblyName>
|
||||||
<Product>ttCalculator - Gelişmiş Matematik & Nümerik Analiz Stüdyosu</Product>
|
<Product>ttCalculator - Gelişmiş Matematik & Nümerik Analiz Stüdyosu</Product>
|
||||||
<Version>2.8.0</Version>
|
<Version>2.9.0</Version>
|
||||||
<Company>ttCalculator</Company>
|
<Company>ttCalculator</Company>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ namespace MathApp.Tests
|
||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
Console.WriteLine("=================================================");
|
Console.WriteLine("=================================================");
|
||||||
Console.WriteLine("ttCalculator v2.8 Graph Plotter Studio Verification");
|
Console.WriteLine("ttCalculator v2.9 Graph Plotter Studio Verification");
|
||||||
Console.WriteLine("=================================================");
|
Console.WriteLine("=================================================");
|
||||||
|
|
||||||
int passed = 0;
|
int passed = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue