首页 | 本学科首页   官方微博 | 高级检索  
     


A Text Creation Routine for Graphics on a Microcomputer
Authors:MICHAEL J MILLER
Affiliation:The Ohio State University
Abstract:Placing text on the graphics screen in any size any angle is an important function of a graphics program. Some microcomputers, however, will not print characters on the graphics screen, and others have very limited ability, such as printing only in 40-character or 80-character mode. Characters are needed for dimensions and notes on the drawing as well as for prompts and messages. Alternate fonts, rotation of the text, and different sizes of text are needed for many applications, not to mention text that is scaled up and down as the user zooms in or out to magnify or reduce the size of the image. This article examines available techniques and discusses the advantages and disadvantages of each. A method is presented for producing stroke generated text by designing each character as a matrix of dots on a standard grid and storing the coordinates of the dots as endpoints of vectors to be used to draw the character. The standard grid is assumed to have its origin in the lower left corner and each coordinate is defined relative to that origin.
Keywords:
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号