中文
English
基本说明
安装
使用教程
基本概念
颜色
坐标
设备
函数说明
绘图设备相关函数
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
line
pie
polybezier
polygon
polyline
putpixel
rectangle
roundrect
solidcircle
solidellipse
solidpie
solidpolygon
solidrectangle
solidroundrect
文字输出相关函数
drawtext
gettextcolor
gettextstyle
LOGFONT
outtextxy
settextcolor
settextstyle
textheight
textwidth
图像处理相关函数
getimage
GetImageBuffer
GetImageHDC
GetWorkingImage
IMAGE
loadimage
putimage
Resize
rotateimage
saveimage
SetWorkingImage
三元光栅操作
消息处理相关函数
ExMessage
flushmessage
getmessage
peekmessage
其它函数
BeginBatchDraw
EndBatchDraw
FlushBatchDraw
GetEasyXVer
GetHWnd
InputBox
graphics.h 暂留函数
bar
bar3d
drawpoly
fillpoly
getcolor
getmaxx
getmaxy
getx
gety
linerel
lineto
moverel
moveto
outtext
setcolor
setwritemode
鼠标相关函数
FlushMouseMsgBuffer
GetMouseMsg
MouseHit
PeekMouseMsg
MOUSEMSG
示例程序
字符阵
星空
鼠标操作
彩虹
常见问题
编译错误:2 个重载中没有一个可以转换所有参数类型
编译错误:EasyX is only for Cpp
联系我们
Download
离线文档
gety
这个函数用于获取当前 y 坐标。
int gety();
参数
无
返回值
返回当前 y 坐标。
备注
该函数已废弃,仅在 graphics.h 中声明,不推荐使用。
示例
无
(贡献者:
慢羊羊
)
编辑