亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cegraph.htm

?? 嵌入式WINCE下圖形開發
?? HTM
字號:
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Introduction WinCE High Speed Graphics Library</title>
</head>

<body bgcolor="#FFFFFF">

<p><font face="Times New Roman"><b><font size="4">Introduction</font></b><br>
<br>
CEDraw is high speed graphics library in WinCE . it’s depend on GAPI .<br>
This code was writen in C++ and using embedded VC++ to complie it. Testing in 
iPaq h3600 with WinCE 3.0.<br>
CEDraw use double buffer and direct write video buffer technology to enhance 
Draw speed. With own graphics arithmetic, the draw speed is much more faster 
than WinGDI.<br>
<br>
CE Draw support those function:<br>
<br>
<font color="#FF0000">Draw Pixel<br>
Fill Screen<br>
Draw Line,HLine,VLine<br>
Draw Polyline<br>
Draw Polygon<br>
Draw Rectangle<br>
Fill Rectangle ( with alpha blend support )<br>
Fill Polygon<br>
Draw Bitmap ( Support Bmp,Gif,Jpg format, Support alpha blend )<br>
Draw Text ( Own font file, support Chinese, support gdi text )</font><br>
<br>
SDKSample Screen Shot:(screenshot.jpg)<br>
<img border="0" src="ScreenShot.jpg" width="268" height="399"><br>
<br>
<b><font size="4">How to using it</font></b><br>
<br>
Before use the CEDraw Library, you must copy some support file in you system.<br>
<br>
a. Copy the dll to you WinCE system directory<br>
(1) If using in emulation system,copy two of the <font color="#FF0000">dll in …\CEGraph\DLL\X86Em 
directory ( gx.dll &amp; cegl.dll)</font> to<br>
emulation windows system directory, always in D:\Windows CE Tools\wce300\MS 
Pocket PC\emulation\palm300\windows<br>
Then copy the file <font color="#FF0000">Hzk16 which in …\CEGraph\Res directory 
to the WinCE Root directory.</font><br>
Always in D:\Windows CE Tools\wce300\MS Pocket PC\emulation\palm300<br>
<br>
(2) if Using in Arm system,copy two fo the <font color="#FF0000">dll in …\CEGraph\DLL\Arm 
( gx.dll &amp; cegl.dll) to Pocket PC windows system directory.</font><br>
Then copy the file <font color="#FF0000">HZK16 to the System Root directory.</font><br>
<br>
<br>
There a 4 step to use it:<br>
<br>
<b>Step 1 Directory:</b><br>
<br>
Set the including directory to …\CEGraph\Include<br>
And lib directory to …\CEGraph\Lib\X86Em ( if using in emulation system)<br>
Or …\CEGraph\Lib\Arm ( if using in pocketpc)<br>
 </font></p>

<p><font face="Times New Roman">Open the project setting-&gt;Link-&gt;Object/library 
Modules&nbsp; </font></p>

<p><font face="Times New Roman"><font color="#FF0000">Add CEGL.lib</font><br>
<br>
<b>Setp 2 Head file Including:</b><br>
Include the cedraw graphics header file: CEGL.h<br>
<br>
#include &quot;stdafx.h&quot;<br>
#include &quot;SDKSample.h&quot;<br>
#include &lt;commctrl.h&gt;<br>
<br>
<font color="#FF0000">#include &lt;cegl.h&gt; // Include CE Graphics library</font><br>
<br>
<b>Step 3 Create the CE Draw Class:</b><br>
<br>
// Create the CE Draw Object:<br>
<font color="#FF0000">CCEDraw m_ceDraw; </font><br>
<br>
// Initlizate after CreateWindow()<br>
<br>
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)<br>
<br>
{<br>
HWND hWnd;<br>
TCHAR szTitle[MAX_LOADSTRING]; // The title bar text<br>
TCHAR szWindowClass[MAX_LOADSTRING]; // The window class name<br>
<br>
hInst = hInstance; // Store instance handle in our global variable<br>
// Initialize global strings<br>
LoadString(hInstance, IDC_SDKSAMPLE, szWindowClass, MAX_LOADSTRING);<br>
MyRegisterClass(hInstance, szWindowClass);<br>
LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);<br>
hWnd = CreateWindow(szWindowClass, szTitle, WS_VISIBLE,<br>
<font color="#FF0000">0, 0, GetSystemMetrics(SM_CXSCREEN), GetSystemMetrics(SM_CYSCREEN)</font>, NULL, NULL, hInstance, NULL);<br>
if (!hWnd)<br>
{ <br>
return FALSE;<br>
}<br>
<br>
<font color="#FF0000">// Create the CE Grahpics Library<br>
m_ceDraw.Create( hWnd );</font><br>
<br>
ShowWindow(hWnd, nCmdShow);<br>
UpdateWindow(hWnd);<br>
<br>
return TRUE;<br>
}<br>
<br>
<b>Step 4: Using CE Draw freely</b><br>
<br>
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)<br>
{<br>
HDC hdc;<br>
int wmId, wmEvent;<br>
PAINTSTRUCT ps;<br>
TCHAR szHello[MAX_LOADSTRING];<br>
<br>
switch (message) <br>
{<br>
case WM_PAINT:<br>
RECT rt;<br>
hdc = BeginPaint(hWnd, &amp;ps);<br>
GetClientRect(hWnd, &amp;rt);<br>
LoadString(hInst, IDS_HELLO, szHello, MAX_LOADSTRING);<br>
DrawText(hdc, szHello, _tcslen(szHello), &amp;rt, <br>
DT_SINGLELINE | DT_VCENTER | DT_CENTER);<br>
EndPaint(hWnd, &amp;ps);<br>
<br>
<font color="#FF0000">Render(); // Render screen</font><br>
break;<br>
……………………………<br>
}<br>
}<br>
<br>
<font color="#FF0000">void Render( void )<br>
{<br>
POINT pt[5] ={ { 140, 100 }, { 70,120 }, { 104, 150 }, { 210, 122 }, { 75, 200 } 
};<br>
<br>
</font>// Create the ce pen object...<font color="#FF0000"><br>
CCEPen cePen;<br>
cePen.CreatePen( 1, 1, m_ceDraw.ConvertColor( 255, 0, 0 ) );  </font>// Convert RGB 
color to CE support Color<font color="#FF0000"><br>
<br>
</font>// Select it to the graphics system
<font color="#FF0000"> <br>
m_ceDraw.SetGDIObject( &amp;cePen );<br>
<br>
</font>// Create the ce brush object...<font color="#FF0000"><br>
CCEBrush ceBrush1, ceBrush2;<br>
ceBrush1.CreateBrush( 1, m_ceDraw.ConvertColor( 200, 200, 100 ), 1 );<br>
ceBrush2.CreateBrush( 1, m_ceDraw.ConvertColor( 0, 240, 0 ), 1 );<br>
<br>
</font>// Select it to the graphics system
<font color="#FF0000"> <br>
m_ceDraw.SetGDIObject( &amp;ceBrush1 );<br>
<br>
</font>// Begin Draw<font color="#FF0000"><br>
m_ceDraw.BeginDraw();<br>
m_ceDraw.Clear( (DWORD)255 );  </font>// Clear screen use white color<font color="#FF0000"><br>
<br>
m_ceDraw.DrawLine( 1, 1, 100, 100 );  </font>// Draw line<font color="#FF0000"><br>
<br>
m_ceDraw.DrawRect( 10, 10, 110, 80 );</font> // Draw Rect<font color="#FF0000"><br>
<br>
m_ceDraw.FillRect( 30, 30, 50, 50 );  </font>// Fill Rect<font color="#FF0000"><br>
<br>
m_ceDraw.SetGDIObject( &amp;ceBrush2 );  </font>// Select another color brush<font color="#FF0000"><br>
m_ceDraw.FillRect( 40, 40, 100, 100, 0.4 );  </font>// fill Rect with alpha blend<font color="#FF0000"><br>
<br>
m_ceDraw.FillPolygon( pt, 5 );  </font>// Draw an polygon<font color="#FF0000"><br>
m_ceDraw.SetGDIObject( &amp;ceBrush1 );</font> // Select another color brush<font color="#FF0000"><br>
m_ceDraw.FillPolygon( pt, 5, 40, 40 );  </font>// Draw an polygon
<font color="#FF0000"> <br>
<br>
CCEBitmap ceBmp1,ceBmp2;<br>
ceBmp1.LoadBitmap( &amp;m_ceDraw, L&quot;windows\\wcelogo1.gif&quot; );&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font>
// Load Gif picture from file<font color="#FF0000"><br>
ceBmp2.LoadBitmap( &amp;m_ceDraw, L&quot;windows\\welcomehead.gif&quot; );<br>
ceBmp2.BitBlt( &amp;m_ceDraw, 1, 80, 0, 0, 0, 0, SRCALPHA, 0.6f );  </font>// Draw bitmap 
with alpha blend<font color="#FF0000"><br>
ceBmp1.BitBlt( &amp;m_ceDraw, 1, 200, 0, 0, 0, 0, SRCALPHA, 0.6f );<br>
<br>
POINT ptText = { 1, 300 };<br>
m_ceDraw.DrawText( &amp;ptText, &quot;Hello CE Graph!&quot;, 16, 1 );  </font>// Draw text with pen 
color<font color="#FF0000"><br>
<br>
</font>// End Draw<font color="#FF0000"><br>
m_ceDraw.EndDraw();<br>
m_ceDraw.Flip();  </font>// Flip the back buffer to the video buffer<font color="#FF0000"><br>
}</font><br>
<br>
<br>
<br>
<b>Step 5:</b><br>
<br>
Don’t forgot to release it:<br>
 </font></p>

<p><font face="Times New Roman">case WM_DESTROY:<br>
<font color="#FF0000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_ceDraw.Release();</font><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
PostQuitMessage(0);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
break; <br>
<br>
<b><font size="4">Tips: </font></b><br>
This graphics can not be directly used in MFC appwizard generated frame. Because 
it has two window, One is frame window, the other is child Window.<br>
I’v write a Frame Code that support MFC. If anyone who want to use it in mfc. 
Write mail to me.<br>
 </font></p>

<ul>
  <li><font face="Times New Roman">The <font color="#FF0000">CEGLDLLPrj </font>
  is the dll project of CE Graphics Library. It's high recommand that if you 
  want to use this library, use the project to build your</font></li>
</ul>

<p><font face="Times New Roman">own DLL &amp; Lib Files. To Build this project. You 
Can setting the include directory and lib directory with ...\CEGraph\include &amp; 
lib(The same as&nbsp; Step 1 Directory )</font></p>

<ul>
  <li><font face="Times New Roman">The <font color="#FF0000">SDKSample</font> 
  Project is the sample NOT using MFC. Build it aftet setting &amp; copying the 
  library&amp;Dll Files.</font></li>
</ul>

<p><font face="Times New Roman">
<br>
<b><font size="4">Comments</font></b><br>
Please report any bugs or feedback to <a href="mailto:jiet@msn.com">jiet@msn.com</a><br>
<br>
<b><font size="4">Thanks</font></b><br>
<br>
This Code using GAPI Enum. Thanks to the Writer.<br>
<br>
<br>
<br>
<br>
<br>
<br>
 </font></p>

</body>

</html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲乱码国产乱码精品精98午夜| 欧美精品日韩综合在线| 一区二区在线观看免费| 欧美亚洲另类激情小说| 另类成人小视频在线| 欧美tk丨vk视频| 在线观看视频欧美| 九色综合狠狠综合久久| 欧美成人性战久久| 色国产精品一区在线观看| 麻豆国产欧美一区二区三区| 国产精品久久夜| 一区二区免费看| 天天色综合成人网| 九九在线精品视频| 懂色av噜噜一区二区三区av| 不卡大黄网站免费看| 一本大道综合伊人精品热热| 欧美日韩在线三区| 日韩视频一区在线观看| 国产亚洲精品aa午夜观看| 国产喷白浆一区二区三区| 亚洲欧美成人一区二区三区| 亚洲一区二区视频在线| 蜜臀av性久久久久蜜臀aⅴ流畅 | 91亚洲永久精品| 色婷婷狠狠综合| 欧美精品电影在线播放| 欧美一区二区久久| 中文字幕av资源一区| 亚洲午夜三级在线| 韩国女主播成人在线观看| aaa国产一区| 欧美妇女性影城| 国产精品久久久久久久久免费桃花| 一区二区三区在线影院| 久久99精品国产.久久久久久| 国产91综合一区在线观看| 欧美亚男人的天堂| 国产午夜一区二区三区| 亚洲成av人片一区二区三区| 久久99精品久久久久久国产越南 | 777午夜精品视频在线播放| 久久日韩粉嫩一区二区三区| 一区二区三区精品在线观看| 国产精品自产自拍| 欧美日韩电影在线| 亚洲人成影院在线观看| 国产一区二区三区免费看| 欧美在线观看一二区| 国产日本欧美一区二区| 免费在线观看精品| 欧美午夜精品久久久| 欧美国产日韩一二三区| 韩国成人福利片在线播放| 色婷婷一区二区| 久久精品视频在线免费观看 | 国产麻豆视频精品| 欧美猛男gaygay网站| 亚洲情趣在线观看| 国产精品一区二区你懂的| 欧美一级生活片| 偷拍亚洲欧洲综合| 日本精品裸体写真集在线观看| 国产校园另类小说区| 韩国三级中文字幕hd久久精品| 欧美一区二区视频在线观看2022| 一区二区三区四区视频精品免费| 成人动漫精品一区二区| 欧美韩国日本一区| 国产大陆a不卡| 国产亚洲欧美色| 韩日av一区二区| 久久久综合视频| 国产黄人亚洲片| 中文字幕av一区二区三区 | 中文字幕亚洲一区二区va在线| 激情五月婷婷综合| 91麻豆精品国产自产在线观看一区| 亚洲福利电影网| 精品视频123区在线观看| 亚洲精品欧美激情| 在线日韩av片| 日韩精品福利网| 欧美一区二区三区影视| 一区二区成人在线观看| 欧美裸体bbwbbwbbw| 蜜桃av一区二区三区电影| 精品国产sm最大网站免费看| 国产精华液一区二区三区| 中文字幕一区二区三区在线播放| 91在线视频播放地址| 亚洲一区二区综合| 欧美日韩精品专区| 看国产成人h片视频| 中文字幕欧美激情| 欧洲精品中文字幕| 美女性感视频久久| 国产欧美日韩在线视频| 91色在线porny| 日本va欧美va欧美va精品| 久久久久久久电影| 91精品1区2区| 韩日欧美一区二区三区| 亚洲婷婷综合久久一本伊一区 | 日韩精品一级二级| 久久夜色精品国产欧美乱极品| jiyouzz国产精品久久| 日韩综合在线视频| 国产精品素人视频| 91精品午夜视频| 成人午夜精品在线| 婷婷丁香激情综合| 亚洲视频小说图片| 日韩欧美中文一区二区| 91色|porny| 国产麻豆成人精品| 五月激情综合色| 综合久久一区二区三区| 精品福利在线导航| 欧美三区在线视频| 波多野结衣91| 经典三级在线一区| 亚洲第一av色| 国产精品久久久久aaaa| 精品国产制服丝袜高跟| 欧美性一级生活| 99国产精品久久久久久久久久| 狠狠狠色丁香婷婷综合久久五月| 亚洲国产cao| 一区二区三区四区国产精品| 国产日韩精品一区二区三区| 日韩一级二级三级精品视频| 91福利在线观看| 色噜噜久久综合| 99久久99久久精品国产片果冻| 韩国成人福利片在线播放| 亚洲大片在线观看| 亚洲日本电影在线| 国产精品灌醉下药二区| 久久精品在这里| 欧美大度的电影原声| 欧美精品乱人伦久久久久久| 色综合久久久网| 日本久久一区二区三区| 91色在线porny| 91在线观看高清| 97超碰欧美中文字幕| 成人三级在线视频| 成人不卡免费av| 成人免费毛片嘿嘿连载视频| 国产成人午夜电影网| 国产麻豆一精品一av一免费| 蜜臀av亚洲一区中文字幕| 亚洲欧美日韩久久| 久久久欧美精品sm网站| 久久久久99精品一区| 国产日韩欧美精品一区| 日本一区二区电影| 最新中文字幕一区二区三区 | 色噜噜狠狠一区二区三区果冻| 成人激情开心网| 成人性视频免费网站| 99精品视频免费在线观看| 一本久久精品一区二区| 色94色欧美sute亚洲线路二| 欧美日韩久久久一区| 欧美高清hd18日本| 久久奇米777| 中文字幕一区在线| 亚洲电影视频在线| 日韩国产精品久久久久久亚洲| 午夜国产不卡在线观看视频| 天天做天天摸天天爽国产一区| 精品在线观看免费| 99精品久久99久久久久| 欧美在线制服丝袜| 日韩欧美国产三级电影视频| 久久九九国产精品| 成人欧美一区二区三区小说| 亚洲午夜激情av| 精品一区二区在线看| jlzzjlzz亚洲女人18| 欧美视频一区二| 久久久久久电影| 午夜电影一区二区| 国产精品自拍av| 欧美日产国产精品| 中文字幕 久热精品 视频在线| 日韩美女视频一区| 美女网站视频久久| 91黄色在线观看| 国产午夜精品一区二区三区嫩草 | 懂色av一区二区三区蜜臀| 欧美三电影在线| 中文字幕成人在线观看| 午夜私人影院久久久久| 波多野结衣中文一区| 欧美一激情一区二区三区| 亚洲人123区|