Welcome![Sign In][Sign Up]
Location:
Search - lineto

Search list

[GDI-BitmapXYMoQiu

Description: 鼠标x-y原理与绘图, (1)CButton 显示ico/bmp, (2)多个按钮共享MessageHandler GetDlgItem,SetIcon,MoveTo/LineTo -mouse x-y Principle and Mapping, (1) CButton show ico / bmp, (2) various buttons sharing MessageHandler GetDlgItem, SetIcon, MoveTo / LineTo
Platform: | Size: 36060 | Author: szh | Hits:

[Other resourceliujunpeng03081528

Description: 实验内容: 1 实现扫描转换多边形的算法填充多边形。 实现内容: 1, 可以画任意多边形。 2, 三角形也是通过扫描转换多边形的算法实现。 具体实现: 画多边形用moveto(),lineto(),两个函数实现画没一条边。 构造ET表,AEL表,通过这两个表填充多边形。 画图步骤: 1. 取顶点:用n记录顶点个数,按下鼠标开始取点,第二次按下取得第二个顶点,第i次按下取得第i 个顶点。取得的顶点放到Verex[]中。 2. 画多边形:按下菜单按钮----多边形。画多边形时可通过颜色菜单选择填充颜色。 3. 填充多边形:按下菜单按钮----填充。填充时可通过颜色菜单选择填充颜色。 4. 重新画一个多边形时需要先点菜单---new,然后再重复1,2,3步。 -experiment : to achieve a polygon scan conversion algorithm filled polygons. Implementation : a can draw arbitrary polygon. 2, as well as through the triangular polygon scan conversion algorithm. Realization : painting polygon with moveto (), LineTo (), two paintings did not function to achieve an edge. Construction ET table, Table AEL, through these two tables filled polygons. Drawing steps : 1. Vertex admitted : n vertices record number, press the mouse started to admit, the second press made the second vertices, i pressed the first time i made its vertex. The vertex put Verex []. 2. Painting polygon : press the menu button-polygon. When painting polygon can be filled with color menu to choose colors. 3. Polygon Filling : press the menu button-filled. When filled with color by color fill
Platform: | Size: 51309 | Author: god | Hits:

[File Operatenotview

Description: 文件视图,CFrameWnd C Static CRect MoveWindow CreatePen CSize CDC SetBkMode SelectObject CPen LineTo SetTextColor CString TextOut CFont CreateFont DrawText CreateDC GetDeviceCaps DeleteDC GetObject GlobalAlloc GlobalLock GetStockObject GetDC SelectPalette RealizePalette GetDIBits ReleaseDC CreateFile WriteFile GlobalUnlock GlobalFree CloseHandle CPaintDC CBitmap CreateCompatibleDC CreateCompatibleBitmap PtInRect BitBlt DeleteObject CPoint ShowWindow ClientToScreen GetWindowDC GetWindowRect CFileDialog CWinApp CSingleDocTemplate CCommandLineInfo UpdateWindow CDialog CDataExchange CDocument CView CPrintInfo GetClientRect SetWindowLong GetWindowLong LoadLibrary GetProcAddress GetLastError FreeLibrary CreateDialog-document View, CFrameWnd CWnd CStatic CRect MoveWindow Creat ePen CSize CDC SetBkMode SelectObject CPen Lin eTo SetTextColor CString TextOut CFont Back Font DrawText CreateDC GetDeviceCaps DeleteD C GetObject GlobalAlloc GlobalLock GetStockO bject GetDC RealizePalette Get SelectPalette DIBits ReleaseDC CreateFile WriteFile Global Unlock GlobalFree CloseHandle CPaintDC CBitm ap CreateCompatibleDC CreateCompatibleBitm ap PtInRect BitBlt DeleteObject CPoint ShowWi ndow ClientToScreen GetWindowDC GetWindowRe ct CFileDialog CWinApp CSingleDocTemplate CC ommandLineInfo UpdateWindow CDialog CDataEx change CDocument CView CPrintInfo GetClientR ect SetWindowLong GetWindowLong LoadLibrary GetProcAddress GetLastError FreeLibrary Cre ateDialog
Platform: | Size: 26729 | Author: slansam | Hits:

[ActiveX/DCOM/ATLas3boxingtu

Description: pcm这段代码首先加载并播放一个声音,然后监听Event.ENTER_FRAME事件,也就是在声音播放时触发onEnterFrame()函数. onEnterFrame()首先调用SoundMixer.computeSpectrum()方法,把波形数据保存在ByteArray对象bytes中. 然后使用矢量绘图API绘制声音的波形.第一个for循环遍历前256个左声道的数据, 并使用Graphics.lineTo()方法从一个点绘到另一个点.第二个for循环遍历接下来的256个右声道的数据,这次以相反的次序绘图,从右到左.最后的波形图可以产生一个有趣的镜像效果.
Platform: | Size: 235008 | Author: ttttt | Hits:

[Dialog_WindowArrowSource

Description: 与MFC中的lineto函数相似,但是可以实现在view中画箭头线的功能。
Platform: | Size: 35452 | Author: fzz | Hits:

[Windows DevelopUVectorFont

Description: 本软件利用函数getglyphoutline函数得到字体的外框信息,并调用lineto把它画出来,从而得到一个矢量汉字
Platform: | Size: 45430 | Author: 刘洋 | Hits:

[Other resourceTBarcode

Description: 一个c only 的 ena-13 码编码 并在gdi 上通过moveto &lineto 绘制出来显示的 demo.其他类型条码 仅需要 加入相应 编码规则即可 实现更多类型条码, 是了解 条码绘制的 很好 范例。
Platform: | Size: 567159 | Author: 李高 | Hits:

[Other resourceyundongxiaoqiu

Description: 一定要在TC下运行,需要包括一些头文件,如graphic.h 要求:画一辆小车不停地水平从屏幕左边运动到右边,随着每一遍运动,小车高度均匀下降,降到最低后返回最高处 相关函数:delay(),kbhit(),lineto(),moveto(),arc(),circle()等。
Platform: | Size: 1488 | Author: 刘刚 | Hits:

[GDI-BitmapGRAph

Description: Rectangle GetDC SetROP2 ReleaseDC CreateRectRgn SelectClipRgn DeleteObject SelectObject CreatePen CreateSolidBrush SetTextColor SetBkColor SetRect LockResource UnlockResource GetCursor LoadCursor GetStockObject LineTo SetCursor ShowCursor DrawText LoadString MessageBox CreateFontIndirect GetTextMetrics ClientToScreen SetCursorPos GetMessageTime GetKeyState GetClientRect SetWindowPos BeginPaint EndPaint DefWindowProc
Platform: | Size: 95919 | Author: 安新军 | Hits:

[GDI-Bitmaptimerline

Description: 用vc6编写的一个windows屏幕保护程序,其中主要应用了timer和lineto函数-vc6 prepared using a screen saver windows, which mainly uses timer and LineTo function!
Platform: | Size: 2128 | Author: 算机 | Hits:

[Other resource基本画线实现算法

Description: 新建一个C++Builder项目 设置Form1的font为“宋体,小五” 在Form1中添加一个TRadioGroup组件rgDrawWhat供选择画什么图形;添加一个Tbutton组件colorBtn和一个TcolorDialog组件ColorDialog1;添加一个TImage组件Image1。 3、 将当前项目保存在自己实验文件夹的exp1子文件夹中(以防错误操作而前功尽弃)。 编写colorBtn的OnClick事件,激活ColorDialog1,并获取所选择的颜色: if (ColorDialog1->Execute()) Image1->Canvas->Pen->Color = ColorDialog1->Color 5、 编写Image1的OnImage1MouseUp事件,要求实现: 1) 若是第奇数次鼠标按钮弹起,则根据rgDrawWhat的选择,记录直线第一个端点或圆心坐标; 2) 若是第偶数次鼠标按钮弹起,则根据rgDrawWhat的选择,记录直线第二个端点并利用TCanvas的MoveTo()和LineTo()方法画出直线段,或计算出圆的外接矩形后调用TCanvas的Ellipse()方法画圆。-C Builder a new project set the font to Form1 "wherein V" in Form1 add a TRadioGroup components rgDrawWhat options for what painting graphics; Add a Tbutton colorBtn components and a TcolorDialog ColorDialog1 components; Add a TImage component Image1. 3, the current project will be kept in their laboratories folders exp1 Documents folder (to prevent erroneous operation and wasted). Preparation colorBtn the OnClick, ColorDialog1 activated, and access to the choice of colors : if (ColorDialog1 - gt; Execute ()) Image1 - gt; Canvas - gt; Pen-gt; Color = ColorDialog1 - gt; Color 5, the preparation of OnImage1MouseUp Image1, call for : a) If the first odd number of pop-up mouse button, then choose rgDrawWhat the record straight section or an endpoint Center coordinates; 2) If the firs
Platform: | Size: 584157 | Author: 朱磊 | Hits:

[SourceCode用MFC进行的曲线与曲面的绘制

Description: 在MFC下用LineTo和MoveTo绘制的曲线和曲面的例子,在VC6.0下编译成功,
Platform: | Size: 48494 | Author: wwwwangjiangbom@126.com | Hits:

[GDI-Bitmaptimerline

Description: 用vc6编写的一个windows屏幕保护程序,其中主要应用了timer和lineto函数-vc6 prepared using a screen saver windows, which mainly uses timer and LineTo function!
Platform: | Size: 2048 | Author: 算机 | Hits:

[2D Graphic基本画线实现算法

Description: 新建一个C++Builder项目 设置Form1的font为“宋体,小五” 在Form1中添加一个TRadioGroup组件rgDrawWhat供选择画什么图形;添加一个Tbutton组件colorBtn和一个TcolorDialog组件ColorDialog1;添加一个TImage组件Image1。 3、 将当前项目保存在自己实验文件夹的exp1子文件夹中(以防错误操作而前功尽弃)。 编写colorBtn的OnClick事件,激活ColorDialog1,并获取所选择的颜色: if (ColorDialog1->Execute()) Image1->Canvas->Pen->Color = ColorDialog1->Color 5、 编写Image1的OnImage1MouseUp事件,要求实现: 1) 若是第奇数次鼠标按钮弹起,则根据rgDrawWhat的选择,记录直线第一个端点或圆心坐标; 2) 若是第偶数次鼠标按钮弹起,则根据rgDrawWhat的选择,记录直线第二个端点并利用TCanvas的MoveTo()和LineTo()方法画出直线段,或计算出圆的外接矩形后调用TCanvas的Ellipse()方法画圆。-C Builder a new project set the font to Form1 "wherein V" in Form1 add a TRadioGroup components rgDrawWhat options for what painting graphics; Add a Tbutton colorBtn components and a TcolorDialog ColorDialog1 components; Add a TImage component Image1. 3, the current project will be kept in their laboratories folders exp1 Documents folder (to prevent erroneous operation and wasted). Preparation colorBtn the OnClick, ColorDialog1 activated, and access to the choice of colors : if (ColorDialog1- gt; Execute ()) Image1- gt; Canvas- gt; Pen-gt; Color = ColorDialog1- gt; Color 5, the preparation of OnImage1MouseUp Image1, call for : a) If the first odd number of pop-up mouse button, then choose rgDrawWhat the record straight section or an endpoint Center coordinates; 2) If the firs
Platform: | Size: 583680 | Author: 朱磊 | Hits:

[GDI-BitmapXYMoQiu

Description: 鼠标x-y原理与绘图, (1)CButton 显示ico/bmp, (2)多个按钮共享MessageHandler GetDlgItem,SetIcon,MoveTo/LineTo -mouse x-y Principle and Mapping, (1) CButton show ico/bmp, (2) various buttons sharing MessageHandler GetDlgItem, SetIcon, MoveTo/LineTo
Platform: | Size: 35840 | Author: szh | Hits:

[Graph Drawingliujunpeng03081528

Description: 实验内容: 1 实现扫描转换多边形的算法填充多边形。 实现内容: 1, 可以画任意多边形。 2, 三角形也是通过扫描转换多边形的算法实现。 具体实现: 画多边形用moveto(),lineto(),两个函数实现画没一条边。 构造ET表,AEL表,通过这两个表填充多边形。 画图步骤: 1. 取顶点:用n记录顶点个数,按下鼠标开始取点,第二次按下取得第二个顶点,第i次按下取得第i 个顶点。取得的顶点放到Verex[]中。 2. 画多边形:按下菜单按钮----多边形。画多边形时可通过颜色菜单选择填充颜色。 3. 填充多边形:按下菜单按钮----填充。填充时可通过颜色菜单选择填充颜色。 4. 重新画一个多边形时需要先点菜单---new,然后再重复1,2,3步。 -experiment : to achieve a polygon scan conversion algorithm filled polygons. Implementation : a can draw arbitrary polygon. 2, as well as through the triangular polygon scan conversion algorithm. Realization : painting polygon with moveto (), LineTo (), two paintings did not function to achieve an edge. Construction ET table, Table AEL, through these two tables filled polygons. Drawing steps : 1. Vertex admitted : n vertices record number, press the mouse started to admit, the second press made the second vertices, i pressed the first time i made its vertex. The vertex put Verex []. 2. Painting polygon : press the menu button-polygon. When painting polygon can be filled with color menu to choose colors. 3. Polygon Filling : press the menu button-filled. When filled with color by color fill
Platform: | Size: 51200 | Author: god | Hits:

[SCMOCM240128DriverAPI

Description: 液晶 OCM/TG240128 驱动 编程语言: C 原产品硬件ATMega128/1280 ,晶振14.7456M 软件AVR ICC7.14C 破解版 由产品源码中提取,详细的字符和图行操作.实现LCD内任何位置的定位操作. void LCD_Init(void) void GMoveTo(U8 yline, U8 xcolumn) void TMoveTo(U8 y, U8 x,U8 len) void DispStartLine(U8 gt, U8 line) void LCD_ClrRam (void) void LCD_ON(unsigned char on) void Draw_Pixel(U8 x, U8 y) void LineTo(U8 x0, U8 y0, U8 x1, U8 y1) void Draw_Line(unsigned char x0, unsigned char y0, unsigned char yl) void disp_img(unsigned int x0, unsigned int y0, unsigned int xl, unsigned int yl, const U8 *img) void DispString(unsigned char x, unsigned char y, char* string) void Printf(U8 x, U8 y, char *fmt, ...) ...... -LCD driver OCM/TG240128 programming languages: C original hardware products ATMega128/1280, crystal 14.7456M software cracked version of AVR ICC7.14C extracted from the product source code, detailed characters and map line operations. The realization of LCD in the positioning of any location operation. void LCD_Init (void) void GMoveTo (U8 yline, U8 xcolumn) void TMoveTo (U8 y, U8 x, U8 len) void DispStartLine (U8 gt, U8 line) void LCD_ClrRam (void) void LCD_ON (unsigned char on) void Draw_Pixel (U8 x, U8 y) void LineTo (U8 x0, U8 y0, U8 x1, U8 y1) void Draw_Line (unsigned char x0, unsigned char y0, unsigned char yl) void disp_img (unsigned int x0, unsigned int y0, unsigned int xl, unsigned int yl, const U8* img) void DispString (unsigned char x, unsigned char y, char* string) void Printf (U8 x, U8 y, char* fmt, ...) ......
Platform: | Size: 11264 | Author: | Hits:

[Windows Developdesign

Description: 实验内容: 1 实现扫描转换多边形的算法填充多边形。 实现内容: 1, 可以画任意多边形。 2, 三角形也是通过扫描转换多边形的算法实现。 具体实现: 画多边形用moveto(),lineto(),两个函数实现画没一条边。 构造ET表,AEL表,通过这两个表填充多边形。 画图步骤: 1. 取顶点:用n记录顶点个数,按下鼠标开始取点,第二次按下取得第二个顶点,第i次按下取得第i 个顶点。取得的顶点放到Verex[]中。 2. 画多边形:按下菜单按钮----多边形。画多边形时可通过颜色菜单选择填充颜色。 3. 填充多边形:按下菜单按钮----填充。填充时可通过颜色菜单选择填充颜色。 4. 重新画一个多边形时需要先点菜单---new,然后再重复1,2,3步。 编程时遇到的问题: 1, 删除一个接点时由于自己的理解偏差出错,经过两个小时的调试找到错误并改正。错误原因,把本该用p2->nex
Platform: | Size: 427008 | Author: 杜怀龙 | Hits:

[Windows Developdrawline

Description: Rectangle()//设置画图区域 SetTextColor()//设置文字显示颜色 TextOut()//在当前坐标(光标) 输出文本 MoveTo(x,y)//将光标移动到(x,y) 位置 LineTo(x,y)//从当前光标画线到(x,y), 并将光移到(x,y) SelectObject()//选择画笔对象 PtVisible(x,y)//判断(x,y)是否在 Rectangle()设置的区域中 CPen pen(PS_SOLID,1,RGB(0,255,0)) //定义画笔颜色-Rectangle ()// set the drawing area SetTextColor ()// set the text display color TextOut ()// coordinates in the current (cursor) output text MoveTo (x, y)// Move the cursor to (x, y) position LineTo ( x, y)// draw a line from the current cursor to the (x, y), and light move (x, y) SelectObject ()// Select the Brush object PtVisible (x, y)// determine the (x, y) whether the Rectangle () to set the area CPen pen (PS_SOLID, 1, RGB (0,255,0 )) // custom brush color
Platform: | Size: 11264 | Author: vic | Hits:

[Graph Drawinglineto-function_37

Description: lineto function draws a line current position(CP) to the point(x,y), you can get current position using getx and gety function.-lineto function draws a line current position(CP) to the point(x,y), you can get current position using getx and gety function.
Platform: | Size: 9216 | Author: mojojojo | Hits:
« 12 3 4 »

CodeBus www.codebus.net