Пример #1
0
 public void SetClipBox(double x1, double y1, double x2, double y2)
 {
     m_clip_box.Left   = LineCoordSat.Convert(x1);
     m_clip_box.Bottom = LineCoordSat.Convert(y1);
     m_clip_box.Right  = LineCoordSat.Convert(x2);
     m_clip_box.Top    = LineCoordSat.Convert(y2);
     m_clipping        = true;
 }
Пример #2
0
 public void SetClipBox(double x1, double y1, double x2, double y2)
 {
     clippingRectangle.Left   = LineCoordSat.Convert(x1);
     clippingRectangle.Bottom = LineCoordSat.Convert(y1);
     clippingRectangle.Right  = LineCoordSat.Convert(x2);
     clippingRectangle.Top    = LineCoordSat.Convert(y2);
     doClipping = true;
 }
Пример #3
0
 public void LineTo(double x, double y)
 {
     LineTo(LineCoordSat.Convert(x), LineCoordSat.Convert(y));
 }