Esempio n. 1
0
 internal ColorOperation(MouseArea mousecontrol)
 {
     this.mouseAreaControl = null;
     this.translatePath    = new GraphicsPath();
     this.scalePath        = new GraphicsPath();
     this.rotatePath       = new GraphicsPath();
     this.equalPath        = new GraphicsPath();
     this.skewxPath        = new GraphicsPath();
     this.skewyPath        = new GraphicsPath();
     this.anglescalePath   = new GraphicsPath();
     this.vscalPath        = new GraphicsPath();
     this.controlPoints    = null;
     this.reversePath      = new GraphicsPath();
     this.startPoint       = PointF.Empty;
     this.win32            = new Win32();
     this.ratiomatrix      = new Matrix();
     this.graphMatrix      = new Matrix();
     this.selectMatrix     = new Matrix();
     this.gradientMatrix   = new Matrix();
     this.gradientPath     = new GraphicsPath();
     this.gradientheight   = 1f;
     this.centerPoint      = PointF.Empty;
     this.gradientstr      = string.Empty;
     this.colorpickerstr   = string.Empty;
     this.mouseAreaControl = mousecontrol;
     this.win32            = mousecontrol.win32;
     this.gradientstr      = DrawAreaConfig.GetLabelForName("gradienttransform").Trim();
     this.colorpickerstr   = DrawAreaConfig.GetLabelForName("colorpicker").Trim();
 }
Esempio n. 2
0
 // Methods
 public LinkDialog()
 {
     this.components = null;
     this.InitializeComponent();
     this.Text           = DrawAreaConfig.GetLabelForName("linkdialog");
     this.lblink.Text    = DrawAreaConfig.GetLabelForName("link");
     this.lbtarget.Text  = DrawAreaConfig.GetLabelForName("target");
     this.btnOK.Text     = LayoutManager.GetLabelForName("ok");
     this.btncancel.Text = LayoutManager.GetLabelForName("cancel");
 }