📄 polybezier.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>PolyBezier</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">PolyBezier, PolyBezierTo</td>
</tr>
</table>
</center></div><div align="center"><center>
<table border="1" width="100%" bordercolorlight="#808080" cellspacing="0"
bordercolordark="#FFFFFF">
<tr>
<td width="102%" colspan="2">VB声明</td>
</tr>
<tr>
<td width="102%" colspan="2">Declare Function PolyBezier& Lib "gdi32" (ByVal
hdc As Long, lppt As POINTAPI, ByVal cPoints As Long)<br>
Declare Function PolyBezierTo& Lib "gdi32" (ByVal hdc As Long, lppt As
POINTAPI, ByVal cCount As Long)</td>
</tr>
<tr>
<td width="102%" colspan="2">说明</td>
</tr>
<tr>
<td width="102%" colspan="2">描绘一条或多条贝塞尔(Bezier)曲线。PolyBezierTo用于将当前画笔位置设为前一条曲线的终点</td>
</tr>
<tr>
<td width="102%" colspan="2">返回值</td>
</tr>
<tr>
<td width="102%" colspan="2">Long,非零表示成功,零表示失败</td>
</tr>
<tr>
<td width="102%" colspan="2">参数表</td>
</tr>
<tr>
<td width="25%">参数</td>
<td width="77%">类型及说明</td>
</tr>
<tr>
<td width="25%">hdc</td>
<td width="77%">Long,要在其中绘图的设备场景</td>
</tr>
<tr>
<td width="25%">lppt</td>
<td width="77%"><a href="POINTAPI.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/POINTAPI.htm">POINTAPI</a>,指定一个<a href="POINTAPI.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/POINTAPI.htm">POINTAPI</a>结构数组。其中的第一个结构指定了起点。剩下的点三个一组——包括两个控件点和一个终点<br>
原文:An array of <a href="POINTAPI.htm" tppabs="http://personal.hb.cninfo.net/~vbapi/POINTAPI.htm">POINTAPI</a> structures. The first structure
specifies the starting point. The remaining points are in groups of three, consisting of
two control points and an end point.</td>
</tr>
<tr>
<td width="25%">cPoints</td>
<td width="77%">Long,lppt数组的总点数</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">Top</td>
</tr>
</table>
</center></div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -