c语言库函数itof,c语言图像函数库详解(Detailed description of C language image function library).doc...

这篇博客详细介绍了C语言中的图像处理函数库,包括像素操作、直线绘制、图形绘制、曲线与圆弧、填充功能以及图像读写等。从putpixel()和getpixel()的基础像素操作,到line()、rectangle()、circle()等复杂图形函数,涵盖了一系列图形绘制和编辑的常用方法,为C语言的图形编程提供了全面的指南。
摘要由CSDN通过智能技术生成

c语言图像函数库详解(Detailed description of C language image function library)

c语言图像函数库详解(Detailed description of C language image function library)

Graphics and image functions are included in the graphics.h

(1) pixel function

56. putpiel () draw pixel function

57. GetPixel () returns the pixel color function

(two) linear and linear functions

58. line () draw line function

59. lineto () draw line function

60. linerel () relative line drawing function

61. setlinestyle () sets the line type function

62. getlinesettings () gets the line setup function

63. setwritemode () sets the line mode function

(three) polygon function

64. rectangle () draw rectangular function

65. bar () draws a strip function

66. bar3d () draw block function

67. drawpoly () draw polygon function

(four) circle, arc and curve functions

68. getaspectratio () obtain aspect ratio function

69. circle () drawing a circle function

70. arc () draw arc function

71. ellipse () draw elliptic arc function

72. fillellipse () draw elliptic region function

73. pieslice () draw sector functions

74. sector () draw elliptic sector functions

75. getarccoords () obtain arc coordinate function

(five) filled function

76. setfillstyle () sets the fill pattern and the color function

77. setfillpattern () sets the user pattern function

78. floodfill () fills the closed field function

79. fillpoly () fills a polygon function

80. getfillsettings () gets the fill settings function

81. getfillpattern () gets the user pattern settings function

(six) image function

82. ImageSize () image storage size function

83. getimage () save the image function

84. putimage () output image function

Four, graphics and image functions

For many graphics applications, lines and curves are very useful. But some graphics can only be drawn by manipulating a single pixel. Of course, the function of lines and curves cannot be operated without the function of drawing pixels. Moreover, by using pixel functions on a large scale, the entire graph can be saved, written, erased, and superimposed on the original graphics on the scre

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值