Пример #1
0
 /// <summary>	
 /// Determines whether the geometry's stroke contains the specified point given the specified stroke thickness and style.</summary>
 /// <param name="point">Specified point</param>
 /// <param name="strokeWidth">Stroke width</param>
 /// <param name="strokeStyle">D2dStrokeStyle</param>
 /// <returns>True iff geometry's stroke contains specified point</returns>
 public bool StrokeContainsPoint(PointF point, float strokeWidth = 1.0f, D2dStrokeStyle strokeStyle = null)
 {
     return m_geometry.StrokeContainsPoint(point.ToSharpDX(), strokeWidth,
         strokeStyle != null ? strokeStyle.NativeStrokeStyle : null);
 }
Пример #2
0
 public void BeginFigure(PointF startPoint, D2dFigureBegin figureBegin)
 {
     m_sink.BeginFigure(startPoint.ToSharpDX(), (FigureBegin)figureBegin);
 }
Пример #3
0
 /// <summary>
 /// Indicates whether the area filled by the geometry would contain the specified point given the specified flattening tolerance</summary>
 /// <param name="point">Specified point</param>
 /// <returns>True iff area filled by the geometry contains point</returns>
 public bool FillContainsPoint(PointF point)
 {
     return m_geometry.FillContainsPoint(point.ToSharpDX());
 }
Пример #4
-1
 public void AddLine(PointF point)
 {
     m_sink.AddLine(point.ToSharpDX());
 }