日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

c 语言绘图函数,c语言图形编程(三、绘图函数-)(C language graphics programming (three, drawing function -)).doc...

發布時間:2024/2/28 编程问答 38 豆豆
生活随笔 收集整理的這篇文章主要介紹了 c 语言绘图函数,c语言图形编程(三、绘图函数-)(C language graphics programming (three, drawing function -)).doc... 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

c語言圖形編程(三、繪圖函數-)(C language graphics programming (three, drawing function -)).doc

c語言圖形編程(三、繪圖函數-01)(C language graphics programming (three, drawing function -01))A screen and a viewport setting and clear function

Setviewport (36.) set the viewport graphic function

Clearviewport (37.) clear graphical viewport function

38. cleardevice () clear screen function

Getviewsettings (39.) gets the graphics view settings function

Two, palette and color function

40. setpalette () set palette function

41. setallpalette () sets the entire palette function

Setting the background color function for 42. setbackcolor ()

43. SetColor () set the color function

44. GetBkColor () returns the background color function

45. getcolor () returns the current drawing color

46. getmaxcolor () returns the maximum color value function

47. GetPalette () to obtain palette function

48. getpalettesize () returns the palette size function

49. getdefaultpalette () to obtain the default palette function

Three, screen position function

50. getmaxx () returns the maximum X coordinate function

51. getmaxy () returns the maximum y coordinate function

52. geTx () returns the X coordinate function

53. gety () returns the Y coordinate function

54. moveto () function

55. moverel () relative moving function

----------------------------------------------------

Borland C++ provides a comprehensive set of graphical functions, the section describes the functions related to graphics display, this section describes the drawing function, the next section will introduce its graphics text function.

The general drawing, we must first clear the screen and set the graphics viewport, set the drawing color, and then in a location on the screen to draw points or lines or curves. The functions with these functions are given below.

A screen and a viewport setting and clear function

Setviewport (36.) set the viewport graphic function

Function: function (setviewport) to set the current graphical viewport.

Usage: the function calls are void setviewport (int left, int top, int right, int bottom, int clip);

Descr

總結

以上是生活随笔為你收集整理的c 语言绘图函数,c语言图形编程(三、绘图函数-)(C language graphics programming (three, drawing function -)).doc...的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。