MoveTo和LineTo有什么区别

zjs232 2003-08-22 08:43:11



MoveTo和LineTo有什么区别 初学,不好意思
...全文
1650 14 打赏 收藏 转发到动态 举报
写回复
用AI写文章
14 条回复
切换为时间正序
请发表友善的回复…
发表回复
zjs232 2003-08-22
  • 打赏
  • 举报
回复
无意点了“帖子加分”按钮,比预期多了20分

现在每人都4分拉
syl08341 2003-08-22
  • 打赏
  • 举报
回复
点击"管理"可以给分
agree
syl08341 2003-08-22
  • 打赏
  • 举报
回复

MoveTo 不画线啊
LineTo 画线,还移动.
一般都是MoveTo一个地方,再 LineTo另一个地方,就把这两点连起来了

agree
akiko 2003-08-22
  • 打赏
  • 举报
回复
点击"管理"可以给分.也分我点分吧,好歹答案也有不同支出啊.
zyzyandzyzy 2003-08-22
  • 打赏
  • 举报
回复
一个不画线,一个画
zjs232 2003-08-22
  • 打赏
  • 举报
回复
本帖以结
上面5位 谁能告诉我怎么给分
akiko 2003-08-22
  • 打赏
  • 举报
回复
MoveTo设定current position,LineTo从current position到你指定的point画一条线,并把current position设置为你指定的point
zjs232 2003-08-22
  • 打赏
  • 举报
回复
OK
每人4分
zjs232 2003-08-22
  • 打赏
  • 举报
回复
OK
每人4分
zhouyong0371 2003-08-22
  • 打赏
  • 举报
回复
MoveTo是把点移到那个位置,而LineTo才从这个点划线的
carbon107 2003-08-22
  • 打赏
  • 举报
回复
MoveTo是把点移到那个位置,而LineTo才从这个点划线的
ssbelle 2003-08-22
  • 打赏
  • 举报
回复
啊对
先moveto()一个点
然后以那个点为起始点lineto()另一个点
就画出一条线
jobine 2003-08-22
  • 打赏
  • 举报
回复
从字面上理解啊。
lineto就是以当前pen的所在点为起点向另一点画线。
moveto就是将当前的pen移到另一点,而不划出线。
  • 打赏
  • 举报
回复
MoveTo 不画线啊
LineTo 画线,还移动.
一般都是MoveTo一个地方,再 LineTo另一个地方,就把这两点连起来了
Title: Automate the Boring Stuff with Python: Practical Programming for Total Beginners Author: Albert Sweigart Length: 504 pages Edition: 1 Language: English Publisher: No Starch Press Publication Date: 2015-05-01 ISBN-10: 1593275994 ISBN-13: 9781593275990 If you've ever spent hours renaming files or updating hundreds of spreadsheet cells, you know how tedious tasks like these can be. But what if you could have your computer do them for you? In Automate the Boring Stuff with Python, you'll learn how to use Python to write programs that do in minutes what would take you hours to do by hand—no prior programming experience required. Once you've mastered the basics of programming, you'll create Python programs that effortlessly perform useful and impressive feats of automation to: Search for text in a file or across multiple files Create, update, move, and rename files and folders Search the Web and download online content Update and format data in Excel spreadsheets of any size Split, merge, watermark, and encrypt PDFs Send reminder emails and text notifications Fill out online forms Step-by-step instructions walk you through each program, and practice projects at the end of each chapter challenge you to improve those programs and use your newfound skills to automate similar tasks. Don't spend your time doing work a well-trained monkey could do. Even if you've never written a line of code, you can make your computer do the grunt work. Learn how in Automate the Boring Stuff with Python. Table of Contents Part I. Python Programming Basics Chapter 1. Python Basics Chapter 2. Flow Control Chapter 3. Functions Chapter 4. Lists Chapter 5. Dictionaries and Structuring Data Chapter 6. Manipulating Strings Part II. Automating Tasks Chapter 7. Pattern Matching with Regular Expressions Chapter 8. Reading and Writing Files Chapter 9. Organizing Files Chapter 10. Debugging Chapter 11. Web Scraping Chapter 12. Working with Excel Spreadsheets Chapter 13. Working with PDF and word Documents Chapter 14. Working with CSV Files and JSON Data Chapter 15. Keeping Time, Scheduling Tasks, and Launching Programs Chapter 16. Sending Email and Text Messages Chapter 17. Manipulating Images Chapter 18. Controlling the Keyboard and Mouse with GUI Automation Appendix A. Installing Third-Party Modules Appendix B. Running Programs Appendix C. Answers to the Practice Questions

16,471

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC相关问题讨论
社区管理员
  • 基础类社区
  • Web++
  • encoderlee
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……

试试用AI创作助手写篇文章吧