Esempio n. 1
0
        private void rotateToolStripMenuItem_Click(object sender, EventArgs e)
        {
            RotateForm rotateDialog = new RotateForm("Rotate by degrees (integer):");

            rotateDialog.ShowDialog();

            ImageGenerate.rotateImage(model, rotateDialog.value);
        }
Esempio n. 2
0
        private void translateToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TranslateForm dialog = new TranslateForm();

            dialog.ShowDialog();

            ImageGenerate.Translate(model, dialog.xTran, dialog.yTran);
        }
Esempio n. 3
0
        private void linearWarpscaleToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form1 dialog = new Form1();

            dialog.ShowDialog();

            ImageGenerate.Scale(model, dialog.value);
        }
Esempio n. 4
0
 //
 //forward menu calls-------------------------------------------------------------------------
 //
 private void newMenu_Click(object sender, EventArgs e)
 {
     editor = new ImageGenerate();
     model  = new Image(menuStrip1.Height);
     ImageGenerate.FillBlack(model);
     SetMenuOptionEnable(ModelType.Generate);
     Invalidate();
 }
Esempio n. 5
0
 private void redFilterToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.RedChannelFilter(model);
 }
Esempio n. 6
0
 private void sobelToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.Sobel(model);
 }
Esempio n. 7
0
 private void fillCornflowerBlueToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.FillCornflowerBlue(model);
 }
Esempio n. 8
0
 private void VerticalLine_Click(object sender, EventArgs e)
 {
     ImageGenerate.VerticalLine(model);
     Invalidate();
 }
Esempio n. 9
0
 private void verticalBlueGradientToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.FillVerticalBlueGradient(model);
 }
Esempio n. 10
0
 private void compositionRedToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.ComposeRed(model);
 }
Esempio n. 11
0
 private void sharpenToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.Sharpen(model);
 }
Esempio n. 12
0
 private void medianToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.Median(model);
 }
Esempio n. 13
0
 private void monochromeToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.Mono(model);
 }
Esempio n. 14
0
 private void diagonalLineToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.DiagonalLine(model);
 }
Esempio n. 15
0
 private void verticalLIneToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.VerticalLine(model);
 }
Esempio n. 16
0
 private void horizontalLineToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.HorizontalLine(model);
 }
Esempio n. 17
0
 private void diagonalGradientToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.FillDiagonalGradient(model);
 }
Esempio n. 18
0
 private void prewittToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.Prewitt(model);
 }
Esempio n. 19
0
 private void triangelWarpToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.Triangle(model);
 }
Esempio n. 20
0
 private void FillSeaGreenMenuOption_Click(object sender, EventArgs e)
 {
     ImageGenerate.FillSeaGreen(model);
     Invalidate();
 }
Esempio n. 21
0
 private void pointilismToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.Point(model);
 }
Esempio n. 22
0
 private void verticalBlueGradient_Click(object sender, EventArgs e)
 {
     ImageGenerate.VerticalGradient(model);
     Invalidate();
 }
Esempio n. 23
0
 private void fillWhiteMenu_Click(object sender, EventArgs e)
 {
     ImageGenerate.FillWhite(model);
 }
Esempio n. 24
0
 private void horizontalGradientToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.FillHorizontalGradient(model);
 }
Esempio n. 25
0
 private void horizontalGradient_Click(object sender, EventArgs e)
 {
     ImageGenerate.HorizontalGradient(model);
     Invalidate();
 }
Esempio n. 26
0
 private void flipHorizontalToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.flipHorizontally(model);
 }
Esempio n. 27
0
 private void HorizontalLine_Click(object sender, EventArgs e)
 {
     ImageGenerate.HorizontalLine(model);
     Invalidate();
 }
Esempio n. 28
0
 private void blueScreenToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.BlueScreen(model);
 }
Esempio n. 29
0
 private void DiagonalLine_Click(object sender, EventArgs e)
 {
     ImageGenerate.DiagonalLine(model);
     Invalidate();
 }
Esempio n. 30
0
 private void fillGreenToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.FillGreen(model);
 }