在讨论该解决方案的地图绘制部分之前,您需要了解如何将一个简单的三个字母的字符串(如den)转换为地图上的一点。
Before I can get to the mapping part of the solution, you need to understand how a simple three-letter string like DEN gets converted to a point on a map.
对象有绘制点、字符串、直线、圆弧、椭圆和许多其他形状的方法。
Object has methods to draw points, strings, lines, arcs, ellipses, and many other shapes.
如果有一个鼠标单击事件发生,它将在客户区中鼠标光标的位置处绘制这个字符串。
If at least one mouse click has occurred, it draws the string in the client area at the mouse position.
使用该字体、画笔和目标点将字符串绘制到屏幕。
Draws the string to the screen using the font, brush, and destination point.
创建要绘制的文本字符串。
在指定图形表面上的指定边界内,以指定的字体、颜色和格式绘制处于禁用状态的指定字符串。
Draws the specified string in a disabled state on the specified graphics surface; within the specified bounds; and in the specified font, color, and format.
返回指定的字符串在用当前视觉样式元素的字体绘制时的大小和位置。
Returns the size and location of the specified string when drawn with the font of the current visual style element.
绘制处于禁用状态的指定字符串。
返回指定的字符串当用当前视觉样式元素的字体在指定的初始边框内绘制时的大小和位置。
Returns the size and location of the specified string when drawn with the font of the current visual style element within the specified initial bounding rectangle.
返回指定的字符串当用当前视觉样式元素的字体在指定的初始边框内绘制时的大小和位置。
Returns the size and location of the specified string when drawn with the font of the current visual style element within the specified initial bounding rectangle.
应用推荐