You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
|
|
using System.Drawing;
|
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
using GeoSigma.SigmaDrawerStyle;
|
|
|
|
|
|
using GeoSigma.SigmaDrawerStyle.Converter;
|
|
|
|
|
|
using GeoSigmaDrawLib;
|
|
|
|
|
|
|
|
|
|
|
|
namespace SigmaDrawerElement
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 组合图元
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public class DrawerBlock : ElementBase
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Initializes a new instance of the <see cref="DrawerBlock"/> class.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public DrawerBlock()
|
|
|
|
|
|
{
|
|
|
|
|
|
ElementType = DrawElementType.ELEMENT_BLOCK;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 头部信息
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public DrawerBlockHead Head { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public class DrawerBlockScale
|
|
|
|
|
|
{
|
|
|
|
|
|
public double ScaleFactor { get; set; }
|
|
|
|
|
|
public double X { get; set; }
|
|
|
|
|
|
public double Y { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 组合图元HEAD
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public class DrawerBlockHead
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 名称
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 图件范围
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public RectangleD MapRange { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|