⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 anglearc.htm

📁 WinAPI函数打包下载.rar
💻 HTM
字号:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<style><!--
body,table {font-family:"宋体"; font-size: 9pt; line-height:11pt;}
a {text-decoration:none} a:hover {color:red;text-decoration:underline}
--></style>
<title>AngleArc</title>
</head>

<body link="#FF0000" vlink="#FF0000" alink="#FF0000" bgcolor="#FFC8C8">
<div align="center"><center>

<table border="0" width="100%" height="22" cellspacing="0" cellpadding="0">
  <tr>
    <td width="100%" height="16"><a name="AngleArc">AngleArc</a></td>
  </tr>
</table>
</center></div><div align="center"><center>

<table border="1" width="100%" bordercolorlight="#808080" cellspacing="0"
bordercolordark="#FFFFFF">
  <tr>
    <td width="100%" colspan="2">VB声明</td>
  </tr>
  <tr>
    <td width="100%" colspan="2">Declare Function AngleArc Lib &quot;gdi32&quot; Alias 
    &quot;AngleArc&quot; (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal dwRadius 
    As Long, ByVal eStartAngle As Double, ByVal eSweepAngle As Double) As Long</td>
  </tr>
  <tr>
    <td width="100%" colspan="2">说明</td>
  </tr>
  <tr>
    <td width="100%" colspan="2">用一个连接弧画一条线,参考注解</td>
  </tr>
  <tr>
    <td width="100%" colspan="2">返回值</td>
  </tr>
  <tr>
    <td width="100%" colspan="2">Long,非零表示成功,零表示失败</td>
  </tr>
  <tr>
    <td width="100%" colspan="2">参数表</td>
  </tr>
  <tr>
    <td width="25%">参数</td>
    <td width="75%">类型及说明</td>
  </tr>
  <tr>
    <td width="25%">hdc</td>
    <td width="75%">Long,要在其中作图的设备场景</td>
  </tr>
  <tr>
    <td width="25%">x,y</td>
    <td width="75%">Long,对弧进行描述的一个圆的中心点坐标</td>
  </tr>
  <tr>
    <td width="25%">dwRadius</td>
    <td width="75%">Long,圆的半径</td>
  </tr>
  <tr>
    <td width="25%">eStartAngle</td>
    <td width="75%">Double,线同圆连接时的角度(以度数为单位)</td>
  </tr>
  <tr>
    <td width="25%">eSweepAngle</td>
    <td width="75%">Double,弧在圆上占据的范围(以度数为单位)</td>
  </tr>
  <tr>
    <td width="100%" colspan="2">注解</td>
  </tr>
  <tr>
    <td width="50%"><p align="left"><img src="AngleArc.gif" tppabs="http://personal.hb.cninfo.net/~vbapi/AngleArc.gif" alt="AngleArc.gif (1417 字节)"
    border="0" WIDTH="197" HEIGHT="238"></td>
    <td width="50%">注意eStartAngle和eSweepAngle参数是以度数为单位指定的,而且应该是单精度数(Single)而不是双精度。相应的函数声明为:Declare 
    Function AngleArc&amp; Lib &quot;gdi32&quot; (ByVal hdc As Long, ByVal x As Long, ByVal y 
    As Long, ByVal dwRadius As Long, ByVal eStartAngle As Single, ByVal eSweepAngle As Single)。<br>
    我的理解:本文开头的函数声明复制于vb的api文本查看器,此处的声明来自于我的参考资料,也不知谁对谁错。参数表的说明,按vb的api文本查看器中复制来的声明中的数据类型。请使用者注意</td>
  </tr>
</table>
</center></div><div align="center"><center>

<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td width="100%"><p align="right"><a href="#AngleArc">Top</a></td>
  </tr>
</table>
</center></div>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -