C语言图像函数库详解(国外英语资料).docVIP

  • 6
  • 0
  • 约2.11万字
  • 约 27页
  • 2017-06-26 发布于河南
  • 举报

C语言图像函数库详解(国外英语资料).doc

C语言图像函数库详解(国外英语资料)

C语言图像函数库详解(国外英语资料) Graphics and image functions are included in graphics.h (1) the pixel function Putpiel () draws a pixel function Getpixel () returns a plain color function (2) the line and line function Line () line function Lineto () draw a line function Linerel () relative to the line function Setlinestyle () sets the line function Getlinesettings () gets the line setting function Setwritemode () sets the line mode function (3) the polygon function Rectangle () rectangle function The bar () draw a function Bar3d () draw the bar function Drawpoly () draws a polygon function (4), circle, arc and curve function Getaspectratio () obtains the aspect ratio function Circle () circle function Arc () to draw the arc function Ellipse () draws the elliptic arc function Fillellipse () draws the elliptic function The pieslice () drawing sector function Sector () draws the elliptical sector function The getarccoords () gets the arc coordinate function (5) the filling function Setfillstyle () sets the fill pattern and color function Setfillpattern () sets the users pattern function Floodfill () fills the closed domain function Fillpoly () fills the polygon function Getfillsettings () gets the fill set function Getfillpattern () gets the users pattern setting function (6) the image function The imagesize () image stores the size function Getimage () saves the image function The putimage () output image function 4, graphics and image functions For many graphical applications, lines and curves are very useful. But some graphics can only be drawn by manipulating individual pixels. Of course, if you dont draw pixels, you cant operate the line and the function of the curve. And by using pixels on a large scale, the entire image can be saved, written, erased, and stacked with the original graphics on the screen. (1) the pixel function Putpixel () draws the pixel function Function: the function putpixel () draws a pixel on the screen in the graphical mode. Usage: the function is call

文档评论(0)

1亿VIP精品文档

相关文档