摘要 |
<p>PURPOSE:To plot a straight line beautifully with ease by judging position specification for straight line plotting when the difference in coordinates between the start point and temporary end point of a straight line which are detected by a coordinate detecting means is larger than a prescribed value, and correcting the coordinates and plotting the straight line. CONSTITUTION:A data processor which has a straight line plotting function is equipped with a housing 11, an integral type input part 12 provided thereto, and a stylus pen 13 and the input part 12 is formed integrally by superposing a transparent table 15 as a coordinate input device on the display surface of an LCD (liquid crystal display device) 14 as a display device. Then the difference in vertical (horizontal) coordinate between the detected start point and temporary end point of the straight line is compared with the prescribed value and when the difference is smaller than the prescribed value, the position specification for horizontal (vertical) straight line plotting is judged and the coordinates are corrected to draw a straight line so that the vertical (horizontal coordinate of the temporary end point is the corresponding coordinate of a start point. Thus, the horizontal or vertical straight light is plotted beautifully.</p> |