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

📄 group__draw__fns.htm

📁 MINIGUI1.6开发API
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>MiniGUI V1.6.10 API Reference: General drawing functions</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.2 --><div class="qindex"><a class="qindex" href="index.htm">Main&nbsp;Page</a> | <a class="qindex" href="modules.htm">Modules</a> | <a class="qindex" href="classes.htm">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.htm">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.htm">Directories</a> | <a class="qindex" href="files.htm">File&nbsp;List</a> | <a class="qindex" href="functions.htm">Data&nbsp;Fields</a> | <a class="qindex" href="globals.htm">Globals</a> | <a class="qindex" href="pages.htm">Related&nbsp;Pages</a></div><h1>General drawing functions<br><small>[<a class="el" href="group__gdi__fns.htm">GDI functions</a>]</small></h1><h2>Modules</h2><ul><li><a class="el" href="group__draw__adv__2d__fns.htm">Advanced 2-Dimension graphics functions.</a></ul><h2>Defines</h2><ul><li>#define <a class="el" href="group__draw__fns.htm#ga45">DrawHDotLine</a>(hdc, x, y, w)&nbsp;&nbsp;&nbsp;DrawHVDotLine (hdc, x, y, w, TRUE);<dl class="el"><dd class="mdescRight">Draws a horizontal dot dash line.  <a href="#ga45"></a><br></dl><li>#define <a class="el" href="group__draw__fns.htm#ga46">DrawVDotLine</a>(hdc, x, y, h)&nbsp;&nbsp;&nbsp;DrawHVDotLine (hdc, x, y, h, FALSE);<dl class="el"><dd class="mdescRight">Draws a vertical dot line.  <a href="#ga46"></a><br></dl></ul><h2>Typedefs</h2><ul><li>typedef void(* <a class="el" href="group__draw__fns.htm#ga0">CB_LINE</a> )(void *context, int stepx, int stepy)<dl class="el"><dd class="mdescRight">The type of line generator callback.  <a href="#ga0"></a><br></dl><li>typedef void(* <a class="el" href="group__draw__fns.htm#ga1">CB_CIRCLE</a> )(void *context, int x1, int x2, int y)<dl class="el"><dd class="mdescRight">The type of circle generator callback.  <a href="#ga1"></a><br></dl><li>typedef void(* <a class="el" href="group__draw__fns.htm#ga2">CB_ELLIPSE</a> )(void *context, int x1, int x2, int y)<dl class="el"><dd class="mdescRight">The type of ellipse generator callback.  <a href="#ga2"></a><br></dl><li>typedef void(* <a class="el" href="group__draw__fns.htm#ga3">CB_ARC</a> )(void *context, int x, int y)<dl class="el"><dd class="mdescRight">The type of arc generator callback.  <a href="#ga3"></a><br></dl><li>typedef void(* <a class="el" href="group__draw__fns.htm#ga4">CB_POLYGON</a> )(void *context, int x1, int x2, int y)<dl class="el"><dd class="mdescRight">The type of polygon generator callback.  <a href="#ga4"></a><br></dl><li>typedef <a class="el" href="group__simple__types.htm#ga0">BOOL</a>(* <a class="el" href="group__draw__fns.htm#ga5">CB_EQUAL_PIXEL</a> )(void *context, int x, int y)<dl class="el"><dd class="mdescRight">Flodd filling generator's equation callback.  <a href="#ga5"></a><br></dl><li>typedef void(* <a class="el" href="group__draw__fns.htm#ga6">CB_FLOOD_FILL</a> )(void *context, int x1, int x2, int y)<dl class="el"><dd class="mdescRight">Flodd filling generator's scan line callback.  <a href="#ga6"></a><br></dl><li>typedef void *(* <a class="el" href="group__draw__fns.htm#ga7">CB_GET_LINE_BUFF</a> )(void *context, int y)<dl class="el"><dd class="mdescRight">Bitmap scaler's getting line buffer callback.  <a href="#ga7"></a><br></dl><li>typedef void(* <a class="el" href="group__draw__fns.htm#ga8">CB_LINE_SCALED</a> )(void *context, const void *line, int y)<dl class="el"><dd class="mdescRight">Bitmap scaler's getting line buffer callback.  <a href="#ga8"></a><br></dl></ul><h2>Functions</h2><ul><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga9">SetPixel</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, int x, int y, <a class="el" href="group__gdi__types.htm#ga8">gal_pixel</a> pixel)<dl class="el"><dd class="mdescRight">Sets the pixel with a new pixel value at the specified position on a DC.  <a href="#ga9"></a><br></dl><li>MG_EXPORT <a class="el" href="group__gdi__types.htm#ga8">gal_pixel</a> GUIAPI <a class="el" href="group__draw__fns.htm#ga10">SetPixelRGB</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, int x, int y, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> r, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> g, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> b)<dl class="el"><dd class="mdescRight">Sets the pixel by a RGB triple at the specified position on a DC.  <a href="#ga10"></a><br></dl><li>MG_EXPORT <a class="el" href="group__gdi__types.htm#ga8">gal_pixel</a> GUIAPI <a class="el" href="group__draw__fns.htm#ga11">SetPixelRGBA</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, int x, int y, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> r, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> g, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> b, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> a)<dl class="el"><dd class="mdescRight">Sets the pixel by a RGBA quarter at the specified position on a DC.  <a href="#ga11"></a><br></dl><li>MG_EXPORT <a class="el" href="group__gdi__types.htm#ga8">gal_pixel</a> GUIAPI <a class="el" href="group__draw__fns.htm#ga12">GetPixel</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, int x, int y)<dl class="el"><dd class="mdescRight">Gets the pixel value at the specified position on a DC.  <a href="#ga12"></a><br></dl><li>MG_EXPORT <a class="el" href="group__gdi__types.htm#ga8">gal_pixel</a> GUIAPI <a class="el" href="group__draw__fns.htm#ga13">GetPixelRGB</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, int x, int y, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> *r, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> *g, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> *b)<dl class="el"><dd class="mdescRight">Gets the pixel value at the specified position on a DC in RGB triple.  <a href="#ga13"></a><br></dl><li>MG_EXPORT <a class="el" href="group__gdi__types.htm#ga8">gal_pixel</a> GUIAPI <a class="el" href="group__draw__fns.htm#ga14">GetPixelRGBA</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, int x, int y, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> *r, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> *g, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> *b, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> *a)<dl class="el"><dd class="mdescRight">Gets the pixel value at the specified position on a DC in RGBA quarter.  <a href="#ga14"></a><br></dl><li>MG_EXPORT <a class="el" href="group__gdi__types.htm#ga8">gal_pixel</a> GUIAPI <a class="el" href="group__draw__fns.htm#ga15">RGBA2Pixel</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> r, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> g, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> b, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> a)<dl class="el"><dd class="mdescRight">Gets the pixel value from a color in RGBA quarter under a DC.  <a href="#ga15"></a><br></dl><li>MG_EXPORT <a class="el" href="group__gdi__types.htm#ga8">gal_pixel</a> GUIAPI <a class="el" href="group__draw__fns.htm#ga16">RGB2Pixel</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> r, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> g, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> b)<dl class="el"><dd class="mdescRight">Gets the pixel value from a color in RGB triple under a DC.  <a href="#ga16"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga17">Pixel2RGB</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, <a class="el" href="group__gdi__types.htm#ga8">gal_pixel</a> pixel, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> *r, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> *g, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> *b)<dl class="el"><dd class="mdescRight">Gets the color in RGB triple from a pixel value under a DC.  <a href="#ga17"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga18">Pixel2RGBA</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, <a class="el" href="group__gdi__types.htm#ga8">gal_pixel</a> pixel, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> *r, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> *g, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> *b, <a class="el" href="group__basic__types.htm#ga0">Uint8</a> *a)<dl class="el"><dd class="mdescRight">Gets the color in RGBA quarter from a pixel value under a DC.  <a href="#ga18"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga19">FocusRect</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, int x0, int y0, int x1, int y1)<dl class="el"><dd class="mdescRight">Draws a focus rectangle.  <a href="#ga19"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga20">DrawHVDotLine</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, int x, int y, int w_h, <a class="el" href="group__simple__types.htm#ga0">BOOL</a> H_V)<dl class="el"><dd class="mdescRight">Draws a horizontal or vertical dot dash line.  <a href="#ga20"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__draw__fns.htm#ga21">LineClipper</a> (const <a class="el" href="struct__RECT.htm">RECT</a> *cliprc, int *_x0, int *_y0, int *_x1, int *_y1)<dl class="el"><dd class="mdescRight">The line clipper using Cohen-Sutherland algorithm.  <a href="#ga21"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga22">LineGenerator</a> (void *context, int x1, int y1, int x2, int y2, <a class="el" href="group__draw__fns.htm#ga0">CB_LINE</a> cb)<dl class="el"><dd class="mdescRight">A line generator based-on Breshenham algorithm.  <a href="#ga22"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga23">CircleGenerator</a> (void *context, int sx, int sy, int r, <a class="el" href="group__draw__fns.htm#ga1">CB_CIRCLE</a> cb)<dl class="el"><dd class="mdescRight">A circle generator.  <a href="#ga23"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga24">EllipseGenerator</a> (void *context, int sx, int sy, int rx, int ry, <a class="el" href="group__draw__fns.htm#ga2">CB_ELLIPSE</a> cb)<dl class="el"><dd class="mdescRight">An ellipse generator.  <a href="#ga24"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga25">CircleArcGenerator</a> (void *context, int sx, int sy, int r, int ang1, int ang2, <a class="el" href="group__draw__fns.htm#ga3">CB_ARC</a> cb)<dl class="el"><dd class="mdescRight">An arc generator.  <a href="#ga25"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__draw__fns.htm#ga26">MonotoneVerticalPolygonGenerator</a> (void *context, const <a class="el" href="struct__POINT.htm">POINT</a> *pts, int vertices, <a class="el" href="group__draw__fns.htm#ga4">CB_POLYGON</a> cb)<dl class="el"><dd class="mdescRight">A monotone vertical polygon generator.  <a href="#ga26"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__draw__fns.htm#ga27">PolygonIsMonotoneVertical</a> (const <a class="el" href="struct__POINT.htm">POINT</a> *pts, int vertices)<dl class="el"><dd class="mdescRight">Checks a polygon is monotone vertical or not.  <a href="#ga27"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__draw__fns.htm#ga28">PolygonGenerator</a> (void *context, const <a class="el" href="struct__POINT.htm">POINT</a> *pts, int vertices, <a class="el" href="group__draw__fns.htm#ga4">CB_POLYGON</a> cb)<dl class="el"><dd class="mdescRight">A general polygon generator.  <a href="#ga28"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__draw__fns.htm#ga29">FloodFillGenerator</a> (void *context, const <a class="el" href="struct__RECT.htm">RECT</a> *src_rc, int x, int y, <a class="el" href="group__draw__fns.htm#ga5">CB_EQUAL_PIXEL</a> cb_equal_pixel, <a class="el" href="group__draw__fns.htm#ga6">CB_FLOOD_FILL</a> cb_flood_fill)<dl class="el"><dd class="mdescRight">A flood filling generator.  <a href="#ga29"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__draw__fns.htm#ga30">BitmapDDAScaler</a> (void *context, const <a class="el" href="struct__BITMAP.htm">BITMAP</a> *src_bmp, int dst_w, int dst_h, <a class="el" href="group__draw__fns.htm#ga7">CB_GET_LINE_BUFF</a> cb_get_line_buff, <a class="el" href="group__draw__fns.htm#ga8">CB_LINE_SCALED</a> cb_line_scaled)<dl class="el"><dd class="mdescRight">A bitmap scaler using DDA algorithm.  <a href="#ga30"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__draw__fns.htm#ga31">BitmapDDAScaler2</a> (void *context, const <a class="el" href="struct__BITMAP.htm">BITMAP</a> *src_bmp, int dst_w, int dst_h, <a class="el" href="group__draw__fns.htm#ga7">CB_GET_LINE_BUFF</a> cb_get_line_buff, <a class="el" href="group__draw__fns.htm#ga8">CB_LINE_SCALED</a> cb_line_scaled)<dl class="el"><dd class="mdescRight">A bitmap scaler using DDA algorithm.  <a href="#ga31"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga32">MoveTo</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, int x, int y)<dl class="el"><dd class="mdescRight">Moves the current zero pen position.  <a href="#ga32"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga33">LineTo</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, int x, int y)<dl class="el"><dd class="mdescRight">Draws a zero line to a position.  <a href="#ga33"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga34">Rectangle</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, int x0, int y0, int x1, int y1)<dl class="el"><dd class="mdescRight">Draws a rectangle.  <a href="#ga34"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga35">PolyLineTo</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, const <a class="el" href="struct__POINT.htm">POINT</a> *pts, int vertices)<dl class="el"><dd class="mdescRight">Draws a polyline.  <a href="#ga35"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga36">SplineTo</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, const <a class="el" href="struct__POINT.htm">POINT</a> *pts)<dl class="el"><dd class="mdescRight">Draws a bezier spline.  <a href="#ga36"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga37">Circle</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, int sx, int sy, int r)<dl class="el"><dd class="mdescRight">Draws a circle.  <a href="#ga37"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga38">Ellipse</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, int sx, int sy, int rx, int ry)<dl class="el"><dd class="mdescRight">Draws a ellipse.  <a href="#ga38"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga39">CircleArc</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, int sx, int sy, int r, int ang1, int ang2)<dl class="el"><dd class="mdescRight">Draws an arc.  <a href="#ga39"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga40">FillBox</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, int x, int y, int w, int h)<dl class="el"><dd class="mdescRight">Fills a rectangle box.  <a href="#ga40"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga41">FillCircle</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, int sx, int sy, int r)<dl class="el"><dd class="mdescRight">Fills a circle.  <a href="#ga41"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__draw__fns.htm#ga42">FillEllipse</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, int sx, int sy, int rx, int ry)<dl class="el"><dd class="mdescRight">Fills an ellipse.  <a href="#ga42"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__draw__fns.htm#ga43">FillPolygon</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, const <a class="el" href="struct__POINT.htm">POINT</a> *pts, int vertices)<dl class="el"><dd class="mdescRight">Fills an polygon.  <a href="#ga43"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__draw__fns.htm#ga44">FloodFill</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, int x, int y)<dl class="el"><dd class="mdescRight">Fills an enclosed area starting at point <em></em>(x,y).  <a href="#ga44"></a><br></dl></ul><hr><h2>Define Documentation</h2><a class="anchor" name="ga45" doxytag="gdi.h::DrawHDotLine"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">#define DrawHDotLine          </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">hdc,         <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>x,         <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>y,         <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>w&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;DrawHVDotLine (hdc, x, y, w, TRUE);</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Draws a horizontal dot dash line. <p>This function draws a horizontal dot dash line with the zero pen.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>hdc</em>&nbsp;</td><td>The device context. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>x,y: The start point of the line. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>x,y: The start point of the line. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>The width of the horizontal dot line.</td></tr>  </table></dl><dl compact><dt><b>Note:</b></dt><dd>Defined as a macro calling DrawHVDotLine.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__draw__fns.htm#ga46">DrawVDotLine</a>, <a class="el" href="group__draw__fns.htm#ga20">DrawHVDotLine</a> </dd></dl><p>Definition at line <a class="el" href="gdi_8h-source.htm#l02746">2746</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="ga46" doxytag="gdi.h::DrawVDotLine"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">#define DrawVDotLine          </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">hdc,         <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>x,         <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>y,         <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>h&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;DrawHVDotLine (hdc, x, y, h, FALSE);</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Draws a vertical dot line. <p>This function draws a vertical dot dash line with the zero pen.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>hdc</em>&nbsp;</td><td>The device context. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>x,y: The start point of the line. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>x,y: The start point of the line. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>The height of the horizontal dot line.</td></tr>  </table></dl><dl compact><dt><b>Note:</b></dt><dd>Defined as a macro calling DrawHVDotLine.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__draw__fns.htm#ga45">DrawHDotLine</a>, <a class="el" href="group__draw__fns.htm#ga20">DrawHVDotLine</a> </dd></dl><p>Definition at line <a class="el" href="gdi_8h-source.htm#l02764">2764</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><hr><h2>Typedef Documentation</h2><a class="anchor" name="ga3" doxytag="gdi.h::CB_ARC"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">typedef void(* <a class="el" href="group__draw__fns.htm#ga3">CB_ARC</a>)(void *context, int x, int y)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The type of arc generator callback. <p><p>Definition at line <a class="el" href="gdi_8h-source.htm#l02912">2912</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="ga1" doxytag="gdi.h::CB_CIRCLE"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">typedef void(* <a class="el" href="group__draw__fns.htm#ga1">CB_CIRCLE</a>)(void *context, int x1, int x2, int y)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The type of circle generator callback. <p><p>Definition at line <a class="el" href="gdi_8h-source.htm#l02839">2839</a> of file <a class="el" href="gdi_8h-source.htm">gdi.h</a>.    </td>  </tr></table><a class="anchor" name="ga2" doxytag="gdi.h::CB_ELLIPSE"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">typedef void(* <a class="el" href="group__draw__fns.htm#ga2">CB_ELLIPSE</a>)(void *context, int x1, int x2, int y)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>

⌨️ 快捷键说明

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