Beispiel #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);
        }
Beispiel #2
0
        private void translateToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TranslateForm dialog = new TranslateForm();

            dialog.ShowDialog();

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

            dialog.ShowDialog();

            ImageGenerate.Scale(model, dialog.value);
        }
Beispiel #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();
 }
Beispiel #5
0
 private void redFilterToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.RedChannelFilter(model);
 }
Beispiel #6
0
 private void sobelToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.Sobel(model);
 }
Beispiel #7
0
 private void fillCornflowerBlueToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.FillCornflowerBlue(model);
 }
Beispiel #8
0
 private void VerticalLine_Click(object sender, EventArgs e)
 {
     ImageGenerate.VerticalLine(model);
     Invalidate();
 }
Beispiel #9
0
 private void verticalBlueGradientToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.FillVerticalBlueGradient(model);
 }
Beispiel #10
0
 private void compositionRedToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.ComposeRed(model);
 }
Beispiel #11
0
 private void sharpenToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.Sharpen(model);
 }
Beispiel #12
0
 private void medianToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.Median(model);
 }
Beispiel #13
0
 private void monochromeToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.Mono(model);
 }
Beispiel #14
0
 private void diagonalLineToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.DiagonalLine(model);
 }
Beispiel #15
0
 private void verticalLIneToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.VerticalLine(model);
 }
Beispiel #16
0
 private void horizontalLineToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.HorizontalLine(model);
 }
Beispiel #17
0
 private void diagonalGradientToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.FillDiagonalGradient(model);
 }
Beispiel #18
0
 private void prewittToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.Prewitt(model);
 }
Beispiel #19
0
 private void triangelWarpToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.Triangle(model);
 }
Beispiel #20
0
 private void FillSeaGreenMenuOption_Click(object sender, EventArgs e)
 {
     ImageGenerate.FillSeaGreen(model);
     Invalidate();
 }
Beispiel #21
0
 private void pointilismToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.Point(model);
 }
Beispiel #22
0
 private void verticalBlueGradient_Click(object sender, EventArgs e)
 {
     ImageGenerate.VerticalGradient(model);
     Invalidate();
 }
Beispiel #23
0
 private void fillWhiteMenu_Click(object sender, EventArgs e)
 {
     ImageGenerate.FillWhite(model);
 }
Beispiel #24
0
 private void horizontalGradientToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.FillHorizontalGradient(model);
 }
Beispiel #25
0
 private void horizontalGradient_Click(object sender, EventArgs e)
 {
     ImageGenerate.HorizontalGradient(model);
     Invalidate();
 }
Beispiel #26
0
 private void flipHorizontalToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.flipHorizontally(model);
 }
Beispiel #27
0
 private void HorizontalLine_Click(object sender, EventArgs e)
 {
     ImageGenerate.HorizontalLine(model);
     Invalidate();
 }
Beispiel #28
0
 private void blueScreenToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.BlueScreen(model);
 }
Beispiel #29
0
 private void DiagonalLine_Click(object sender, EventArgs e)
 {
     ImageGenerate.DiagonalLine(model);
     Invalidate();
 }
Beispiel #30
0
 private void fillGreenToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImageGenerate.FillGreen(model);
 }