皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
void Bresenham_line(CDC *pDC, int x0, int y0, int x1, int y1, long color) { int dx = abs(x1 - x0); int dy = abs(y1 - y0); int x = x0; int y = y0; int stepX = 1; int stepY = 1; if( ) //从右向左画 stepX = -1; if( ) stepY = -1; if( ) //沿着最长的那个轴前进 { int e = ( ); for(int i=0; i<=dx; i++) { pDC->SetPixel(x, y, color); x += ( ); e += ( ); if(e >= 0) { y += stepY; e -= dx; } } } else { int e = 2 * dx - dy; for(int i=0; i<=dy; i++) { pDC->SetPixel(x, y, color); y += ( ); e += ( ); if( ) { x += stepX; e -= ( ); } } } }
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】创建学生类Student。 其字段有id、name、、specialty、grade,分别代表主键,姓名、性别、专业、年级。
【单选题】During the Olympic Games, people from all over the world come together in peace and friendship. The first Olympic Games that we have【21】of were in Greece in 776 B.C. The games lasted one day. The only...
A.
books
B.
history
C.
records
D.
publications
【单选题】“庚子西狩”指的是八国联军侵华战争期间,慈禧太后和光绪皇帝逃亡()。
A.
奉天
B.
热河
C.
西安
D.
保定
【单选题】People all over the world celebrate __________ New Year’s Day and people in China celebrate __________ Spring Festival as well.
A.
the ; /
B.
/ ; the
C.
/ ; /
【简答题】对于给定的某离心泵装置,当水泵转速提高时,会使 水泵流量 和轴功率()。 (注:填“ 变大 ” 、“变小”或“不变” )
【简答题】阅读短文,回答问题。 On March 27, Saturday evening, people all over the world once again turned their lights off for an hour to help fight against global climate changes and give the world a brighter future. Fo...
【单选题】During the Olympic Games, people from all over the world come together in peace and friendship. The first Olympic Games that we have【21】of were in Greece in 776 B.C. The games lasted one day. The only...
A.
books
B.
history
C.
records
D.
publications
【单选题】哈代·克罗斯法的环状管网水力计算步骤是 ①闭合差大于允许值,计算校正流量;②计算管段水头损失;③校正各管段流量;④计算各基环闭合差;⑤确定管段管径;⑥初步分配流量;⑦计算闭合差,直至闭合差小于允许值。
A.
⑥③⑤②①④⑦
B.
⑥⑤②①③④⑦
C.
⑥⑤②④①③⑦
D.
⑥④①③⑤②⑦
【单选题】哈代·克罗斯法的环状管网水力计算步骤是( )1闭合差大于允许值,计算校正流量。2计算管段水头损失。3校正各管段流量。4计算各基环闭合差。5确定管段管径。6初步分配流量。7计算闭合差,直至闭合差小于允许值。
A.
⑥⑦5②①3④
B.
⑥④⑦5②①3
C.
⑥3④⑦5②①
D.
⑥5②①3④⑦
【简答题】音乐的功能主要包括 功能、保健功能、 功能和实用功能。
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题