Exemplo n.º 1
0
 // Token: 0x06001600 RID: 5632 RVA: 0x00034F88 File Offset: 0x00033188
 public WindowSelect()
 {
     this.InitializeComponent();
     Class335.smethod_2(WindowSelect.string_0, true);
     this.Selector.BeginSelecting        += this.method_1;
     this.Selector.EndSelecting          += this.method_2;
     this.Selector.SelectedHandleChanged += this.method_0;
 }
Exemplo n.º 2
0
 // Token: 0x0600160A RID: 5642 RVA: 0x00035024 File Offset: 0x00033224
 private void OKButton_Click(object sender, EventArgs e)
 {
     Class335.smethod_3(WindowSelect.string_2, new object[]
     {
         this.SelectedHandle
     });
     base.DialogResult = DialogResult.OK;
 }
Exemplo n.º 3
0
 // Token: 0x0600160B RID: 5643 RVA: 0x00035058 File Offset: 0x00033258
 private void CancelBtn_Click(object sender, EventArgs e)
 {
     Class335.smethod_3(WindowSelect.string_1, new object[]
     {
         this.SelectedHandle
     });
     base.DialogResult = DialogResult.Cancel;
 }
Exemplo n.º 4
0
        public void Draw(
            Graphics graphics,
            Class335 coloredPath,
            bool fill,
            Matrix4D transform,
            Class385 context)
        {
            PointF pointF = transform.TransformToPointF(this.vector4D_0);

            context.ColorContext.imethod_0(graphics, coloredPath.Color, (int)pointF.X, (int)pointF.Y);
        }
Exemplo n.º 5
0
        public void Draw(
            Graphics graphics,
            Rasterizer2D fastRasterizer,
            Class335 coloredPath,
            bool fill,
            Matrix4D transform,
            Class385 context)
        {
            Point2D point2D = transform.TransformTo2D(this.vector4D_0);

            fastRasterizer.DrawPoint(point2D.X, point2D.Y, (uint)coloredPath.Color.ToArgb());
        }
Exemplo n.º 6
0
        public void Draw(
            Graphics graphics,
            Class335 coloredPath,
            bool fill,
            Matrix4D transform,
            Class385 context)
        {
            PointF pointF1 = transform.TransformToPointF(this.vector4D_0);
            PointF pointF2 = transform.TransformToPointF(this.vector4D_1);

            graphics.DrawLine(coloredPath.method_0(context, false), pointF1.X, pointF1.Y, pointF2.X, pointF2.Y);
        }
Exemplo n.º 7
0
        public void Draw(
            Graphics graphics,
            Rasterizer2D fastRasterizer,
            Class335 coloredPath,
            bool fill,
            Matrix4D transform,
            Class385 context)
        {
            Point2D p1 = transform.TransformTo2D(this.vector4D_0);
            Point2D p2 = transform.TransformTo2D(this.vector4D_1);

            fastRasterizer.DrawLineSegment(p1, p2, (uint)coloredPath.Color.ToArgb());
        }
Exemplo n.º 8
0
 public void Draw(
     Graphics graphics,
     Class335 coloredPath,
     bool fill,
     Matrix4D transform,
     Class385 context)
 {
     this.method_0(transform);
     if (fill && this.bool_0)
     {
         graphics.FillPolygon((Brush)coloredPath.method_3(context), this.pointF_0);
     }
     if (this.bool_0)
     {
         graphics.DrawPolygon(coloredPath.method_0(context, fill && this.bool_0), this.pointF_0);
     }
     else
     {
         graphics.DrawLines(coloredPath.method_0(context, fill && this.bool_0), this.pointF_0);
     }
 }
Exemplo n.º 9
0
        public void Draw(
            Graphics graphics,
            Rasterizer2D fastRasterizer,
            Class335 coloredPath,
            bool fill,
            Matrix4D transform,
            Class385 context)
        {
            this.method_0(transform);
            if (fill && this.bool_0)
            {
                graphics.FillPolygon((Brush)coloredPath.method_3(context), this.pointF_0);
            }
            Point2D p1   = (Point2D)(this.bool_0 ? this.pointF_0[this.pointF_0.Length - 1] : this.pointF_0[0]);
            uint    argb = (uint)coloredPath.Color.ToArgb();

            for (int index = this.bool_0 ? 0 : 1; index < this.pointF_0.Length; ++index)
            {
                Point2D p2 = (Point2D)this.pointF_0[index];
                fastRasterizer.DrawLineSegment(p1, p2, argb);
                p1 = p2;
            }
        }