首页
新闻
下载
技术文章
范例程序
在线帮助
社区讨论
目录
基本说明
安装
超简单的使用预览
基本概念
颜色
坐标
设备
函数说明
绘图环境相关函数
clearcliprgn
cleardevice
closegraph
getaspectratio
graphdefaults
initgraph
setaspectratio
setcliprgn
setorigin
颜色模型
BGR
GetBValue
GetGValue
GetRValue
HSLtoRGB
HSVtoRGB
RGB
RGBtoGRAY
RGBtoHSL
RGBtoHSV
图形颜色及样式设置相关函数
FILLSTYLE
getbkcolor
getbkmode
getfillcolor
getfillstyle
getlinecolor
getlinestyle
getpolyfillmode
getrop2
LINESTYLE
setbkcolor
setbkmode
setfillcolor
setfillstyle
setlinecolor
setlinestyle
setpolyfillmode
setrop2
图形绘制相关函数
arc
circle
clearcircle
clearellipse
clearpie
clearpolygon
clearrectangle
clearroundrect
ellipse
fillcircle
fillellipse
fillpie
fillpolygon
fillrectangle
fillroundrect
floodfill
getheight
getpixel
getwidth
getx
gety
line
linerel
lineto
moverel
moveto
pie
polygon
polyline
putpixel
rectangle
roundrect
solidcircle
solidellipse
solidpie
solidpolygon
solidrectangle
solidroundrect
文字输出相关函数
drawtext
gettextcolor
gettextstyle
LOGFONT
outtext
outtextxy
settextcolor
settextstyle
textheight
textwidth
图像处理相关函数
getimage
GetImageBuffer
GetImageHDC
GetWorkingImage
IMAGE
loadimage
putimage
Resize
rotateimage
saveimage
SetWorkingImage
三元光栅操作码
鼠标相关函数
FlushMouseMsgBuffer
GetMouseMsg
MouseHit
MOUSEMSG
其它函数
BeginBatchDraw
EndBatchDraw
FlushBatchDraw
GetEasyXVer
GetHWnd
InputBox
graphics.h 新增函数
bar
bar3d
drawpoly
fillpoly
getcolor
getmaxx
getmaxy
initgraph
setcolor
setwritemode
示例程序
常见问题
与 BGI 绘图库的兼容情况
将图片内嵌到 exe 文件中
编译错误:2 个重载中没有一个可以转换所有参数类型
编译错误:EasyX is only for C++
联系我们
getheight
这个函数用于获取绘图区高度。
int getheight();
参数:
(无)
返回值:
返回绘图区高度。
示例:
(无)