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

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

?? sec-gc.html

?? GTK+_ Gnome Application Development
?? HTML
?? 第 1 頁 / 共 3 頁
字號:
      </p>      <p>        The <span class="STRUCTNAME">line_style</span> field can        have one of three values:      </p>      <ul>        <li>          <p>            <span class="STRUCTNAME">GDK_LINE_SOLID</span> is the            default; a solid line.&#13;          </p>        </li>        <li>          <p>            <span class="STRUCTNAME">GDK_LINE_ON_OFF_DASH</span>            draws a dashed line with the foreground color, leaving            the "off" parts of the dash blank.&#13;          </p>        </li>        <li>          <p>            <span class="STRUCTNAME">GDK_LINE_DOUBLE_DASH</span>            draws a dashed line in the foreground color, but the            "off" parts of the dash are drawn in the background            color.&#13;          </p>        </li>      </ul>      <p>        Dashes are specified with <tt class="FUNCTION">        gdk_gc_set_dashes()</tt>; <span class="STRUCTNAME">        GdkGCValues</span> does not include a field for this. <tt        class="FUNCTION">gdk_gc_set_dashes()</tt> accepts three        arguments:      </p>      <ul>        <li>          <p>            <span class="STRUCTNAME">dash_list</span> is an array            of dash lengths. Even-indexed lengths are "on" dashes;            these are drawn in the foreground color. Odd-indexed            lengths are "off" dashes; they are not drawn or drawn            in the background color, depending on <span class=             "STRUCTNAME">line_style</span>. 0 is not a permitted            value; all lengths must be positive.&#13;          </p>        </li>        <li>          <p>            <span class="STRUCTNAME">dash_offset</span> is the            index of the first pixel to use in the dash list. That            is, if the dash list specifies 5 pixels "on" and 5            "off", and the offset is 3, the line will begin in the            middle of the "on" dash.&#13;          </p>        </li>        <li>          <p>            <span class="STRUCTNAME">n</span> is simply the number            of elements in <span class="STRUCTNAME">            dash_list</span>.&#13;          </p>        </li>      </ul>      <p>        You might set a whimsical dash pattern this way, for        example:      </p>      <table border="0" bgcolor="#E0E0E0" width="100%">        <tr>          <td><pre class="PROGRAMLISTING">&#13;  gchar dash_list[] = { 5, 5, 3, 3, 1, 1, 3, 3 };  gdk_gc_set_dashes(gc, 0, dash_list, sizeof(dash_list));&#13;</pre>          </td>        </tr>      </table>      <p>        The default dash list is <span class="STRUCTNAME">{4,        4}</span> with an offset of 0.      </p>      <p>        <a href="sec-gc.html#FIG-DASHRAW">Figure 13</a> shows some        dashed lines drawn with <span class="STRUCTNAME">        GDK_LINE_DOUBLE_DASH</span>. The graphics context's        foreground color is black, and its background color is a        light gray. The first five lines are the default <span        class="STRUCTNAME">{4, 4}</span> dash pattern with offsets        of 0, 1, 2, 3, and 4. Remember that 0 is the default. <a        href="sec-gc.html#FIG-DASHES-DEFAULT">Figure 14</a> shows a        magnified view of these five lines. The last line is the        whimsical dash pattern mentioned above; it's shown        magnified in <a href="sec-gc.html#FIG-DASHES-WHIMSICAL">        Figure 15</a>.      </p>      <div class="FIGURE">        <a name="FIG-DASHRAW"></a>        <p>          <img src="figures/dashes-raw.png">        </p>        <p>          <b>Figure 13. Five dashed lines, with <span class=           "STRUCTNAME">GDK_LINE_DOUBLE_DASH</span></b>        </p>      </div>      <div class="FIGURE">        <a name="FIG-DASHES-DEFAULT"></a>        <p>          <img src="figures/dashes-default.png">        </p>        <p>          <b>Figure 14. Default dash pattern, with varied          offsets</b>        </p>      </div>      <div class="FIGURE">        <a name="FIG-DASHES-WHIMSICAL"></a>        <p>          <img src="figures/dashes-whimsical.png">        </p>        <p>          <b>Figure 15. A complex dash pattern</b>        </p>      </div>      <p>        <span class="STRUCTNAME">cap_style</span> determines how X        draws line endpoints (or dash endpoints, if a line is        dashed). It has four possible values:      </p>      <ul>        <li>          <p>            <span class="STRUCTNAME">GDK_CAP_BUTT</span> is the            default; it means that lines have square ends (as you            might expect). &#13;          </p>        </li>        <li>          <p>            <span class="STRUCTNAME">GDK_CAP_NOT_LAST</span>            specifies that the last pixel is skipped for one-pixel            lines. It is otherwise the same as <span class=             "STRUCTNAME">GDK_CAP_BUTT</span>.&#13;          </p>        </li>        <li>          <p>            <span class="STRUCTNAME">GDK_CAP_ROUND</span> draws a            small arc on the end of the line, extending beyond the            line's endpoint. The center of the arc is on the            endpoint, and the radius of the arc is one-half the            width of the line. For one-pixel lines, it has no            effect (since there is no way to draw a one-pixel-wide            arc).&#13;          </p>        </li>        <li>          <p>            <span class="STRUCTNAME">GDK_CAP_PROJECTING</span>            extends the line past its endpoint by one-half its            width. It has no effect on one-pixel lines.&#13;          </p>        </li>      </ul>      <p>        The <span class="STRUCTNAME">join_style</span> parameter        affects how lines are connected to one another, when        drawing a polygon or drawing multiple lines in one function        call. If you think of lines as long, thin rectangles, it is        clear that they do not connect smoothly; there is a "notch"        where the two endpoints come together. The three join        styles fill in this notch:      </p>      <ul>        <li>          <p>            <span class="STRUCTNAME">GDK_JOIN_MITER</span> is the            default; it draws a sharp angle where the lines            intersect.&#13;          </p>        </li>        <li>          <p>            <span class="STRUCTNAME">GDK_JOIN_ROUND</span> creates            rounded corners by drawing an arc in the notch.&#13;          </p>        </li>        <li>          <p>            <span class="STRUCTNAME">GDK_JOIN_BEVEL</span> creates            a flat corner, filling the notch with the smallest            possible shape.&#13;          </p>        </li>      </ul>      <div class="FIGURE">        <a name="FL-GDKGC"></a>        <div class="FUNCSYNOPSIS">          <a name="FL-GDKGC.SYNOPSIS"></a>          <table border="0" bgcolor="#E0E0E0" width="100%">            <tr>              <td><pre class="FUNCSYNOPSISINFO">#include &lt;gdk/gdk.h&gt;</pre>              </td>            </tr>          </table>          <p>            <code><code class="FUNCDEF">GdkGC* <tt class=            "FUNCTION">gdk_gc_new</tt></code>(GdkWindow* <tt class=             "PARAMETER"><i>window</i></tt>);</code>          </p>          <p>            <code><code class="FUNCDEF">GdkGC* <tt class=            "FUNCTION">            gdk_gc_new_with_values</tt></code>(GdkWindow* <tt            class="PARAMETER"><i>window</i></tt>, GdkGCValues* <tt            class="PARAMETER"><i>values</i></tt>, GdkGCValuesMask            <tt class="PARAMETER"><i>values_mask</i></tt>);</code>          </p>          <p>            <code><code class="FUNCDEF">void <tt class="FUNCTION">            gdk_gc_set_dashes</tt></code>(GdkGC* <tt class=             "PARAMETER"><i>gc</i></tt>, gint <tt class="PARAMETER">            <i>dash_offset</i></tt>, gchar <tt class="PARAMETER">            <i>dash_list</i></tt>, gint <tt class="PARAMETER"><i>            n</i></tt>);</code>          </p>          <p>            <code><code class="FUNCDEF">void <tt class="FUNCTION">            gdk_gc_unref</tt></code>(GdkGC* <tt class="PARAMETER">            <i>gc</i></tt>);</code>          </p>        </div>        <p>          <b>Figure 16. <span class="STRUCTNAME">GdkGC</span></b>        </p>      </div>      <div class="TABLE">        <a name="TAB-GDKGC"></a>        <p>          <b>Table 6. GC Attributes</b>        </p>        <table border="1" bgcolor="#E0E0E0" cellspacing="0"        cellpadding="4" class="CALSTABLE">          <tr>            <th align="LEFT" valign="TOP">              Attribute            </th>            <th align="LEFT" valign="TOP">              <span class="STRUCTNAME">GdkGCValuesMask</span>            </th>            <th align="LEFT" valign="TOP">              Modifying Function            </th>            <th align="LEFT" valign="TOP">              Default Value            </th>          </tr>          <tr>            <td align="LEFT" valign="TOP">              GdkColor foreground            </td>            <td align="LEFT" valign="TOP">              <span class="STRUCTNAME">GDK_GC_FOREGROUND</span>            </td>            <td align="LEFT" valign="TOP">              <tt class="FUNCTION">gdk_gc_set_foreground()</tt>            </td>            <td align="LEFT" valign="TOP">              black            </td>          </tr>          <tr>            <td align="LEFT" valign="TOP">              GdkColor background            </td>            <td align="LEFT" valign="TOP">              <span class="STRUCTNAME">GDK_GC_BACKGROUND</span>            </td>            <td align="LEFT" valign="TOP">              <tt class="FUNCTION">gdk_gc_set_background()</tt>            </td>            <td align="LEFT" valign="TOP">              white            </td>          </tr>          <tr>            <td align="LEFT" valign="TOP">              GdkFont *font

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
97超碰欧美中文字幕| 日韩欧美高清在线| 91美女在线看| 欧美一卡二卡在线观看| 美女视频免费一区| 一区二区三区在线免费视频| 亚洲综合免费观看高清完整版在线| 国产欧美视频一区二区| 亚洲伦在线观看| 一区二区高清免费观看影视大全| 日韩**一区毛片| 久久久久成人黄色影片| 亚洲国产三级在线| 亚洲综合色噜噜狠狠| 狠狠色综合色综合网络| 精品视频999| 成人免费福利片| 欧美色国产精品| 一区二区三区中文字幕精品精品| 成人黄色电影在线| 国产精品超碰97尤物18| 国产成人免费av在线| 国产欧美精品一区二区三区四区| 美美哒免费高清在线观看视频一区二区 | 色综合天天综合给合国产| 精品国产凹凸成av人网站| 午夜电影一区二区三区| 欧美喷潮久久久xxxxx| 亚洲国产精品久久艾草纯爱| 美脚の诱脚舐め脚责91| 成人高清在线视频| 欧美欧美欧美欧美首页| 国产精品人成在线观看免费| 日韩黄色免费电影| 亚洲国产激情av| 欧美精品久久99久久在免费线| 国产精品亚洲第一| 亚洲精品国产一区二区精华液| 日韩1区2区3区| 91蝌蚪porny| 国产日韩一级二级三级| 麻豆国产精品一区二区三区| 成人免费的视频| 国产三级精品三级| 国产一区三区三区| 91精品国产一区二区三区| 国产精品乱码一区二区三区软件 | 日韩一区二区三区视频在线| 蜜桃一区二区三区在线观看| 久久亚洲春色中文字幕久久久| 日韩av电影一区| 精品国产91九色蝌蚪| 97精品国产97久久久久久久久久久久| 亚洲一二三四在线| 久久久久久久久久电影| 91福利国产成人精品照片| 久久精品国产99| 中文字幕国产精品一区二区| 欧美午夜精品一区二区蜜桃 | 亚洲综合免费观看高清完整版| 99久久国产综合色|国产精品| 亚洲成av人**亚洲成av**| 欧美精品一区二区三区很污很色的| 国产精品资源站在线| 亚洲成人av电影| 一区二区高清免费观看影视大全| 国产在线视频精品一区| 午夜国产精品影院在线观看| 亚洲观看高清完整版在线观看| 亚洲另类在线视频| 亚洲一区二区在线免费看| 亚洲午夜一区二区三区| 日韩福利视频网| 国产自产v一区二区三区c| 精品国产欧美一区二区| 麻豆国产91在线播放| 九一久久久久久| 黑人巨大精品欧美一区| 精品无人码麻豆乱码1区2区 | 高清视频一区二区| 国产精品一区二区久激情瑜伽| 国产一区二区三区在线看麻豆| 激情偷乱视频一区二区三区| 国产真实乱子伦精品视频| 国产麻豆精品一区二区| 美国av一区二区| 国产成人日日夜夜| 91久久久免费一区二区| 欧美日韩亚洲综合| 精品国产91久久久久久久妲己 | 欧美一区二区在线不卡| 日韩欧美第一区| 免费观看在线色综合| 亚洲欧美一区二区三区国产精品 | 欧美日韩另类一区| 亚洲精品成人天堂一二三| 粗大黑人巨茎大战欧美成人| 欧美videos大乳护士334| 一个色综合网站| 91在线小视频| 亚洲综合视频网| 欧美色图第一页| 美女一区二区三区| 欧美一区二区性放荡片| 美女视频黄a大片欧美| 欧美一区二区三区在| 免费视频最近日韩| 精品美女在线播放| voyeur盗摄精品| 亚洲午夜视频在线| 欧美一级夜夜爽| 国产91精品一区二区麻豆网站| 国产欧美日韩亚州综合| 91亚洲精华国产精华精华液| 亚洲欧美日韩人成在线播放| 欧美日韩精品一区视频| 久久99国产精品尤物| 国产欧美一区二区精品仙草咪| 国产美女在线观看一区| 亚洲黄色免费网站| 成人av网在线| 亚洲天堂中文字幕| 欧美日韩在线综合| 另类人妖一区二区av| 26uuu久久天堂性欧美| 成人涩涩免费视频| 亚洲电影第三页| 久久婷婷成人综合色| 99久久国产免费看| 青青草伊人久久| 最新国产精品久久精品| 欧美日韩国产综合久久| 国产高清精品在线| 亚洲第一激情av| 国产精品美女久久久久av爽李琼| 色老综合老女人久久久| 日本欧美一区二区| 国产精品嫩草99a| 欧美另类一区二区三区| voyeur盗摄精品| 久久aⅴ国产欧美74aaa| 亚洲少妇30p| 国产精品家庭影院| 国产精品午夜免费| 亚洲欧美一区二区三区国产精品 | 日本一区二区免费在线观看视频 | 欧美极品xxx| 国产精品一区二区久激情瑜伽| 亚洲人成在线播放网站岛国| 欧美精品少妇一区二区三区| 激情综合色综合久久| 中文字幕中文乱码欧美一区二区| 91蜜桃网址入口| 国产综合色在线视频区| 亚洲综合激情另类小说区| 日韩视频在线观看一区二区| 色一情一乱一乱一91av| 韩国欧美一区二区| 亚洲不卡在线观看| 国产精品婷婷午夜在线观看| 91精品国产综合久久久久久久久久| 国产乱国产乱300精品| 日本 国产 欧美色综合| 亚洲免费在线播放| 亚洲三级免费观看| 国产精品久久久久四虎| 久久久99精品久久| 精品少妇一区二区三区在线播放 | 亚洲精品水蜜桃| 国产精品久久免费看| 国产日韩欧美一区二区三区乱码| 欧美日韩亚洲综合在线| 欧美精选在线播放| 56国语精品自产拍在线观看| 欧美日本韩国一区二区三区视频| 91亚洲精品久久久蜜桃| 色天使色偷偷av一区二区| 不卡视频一二三| 欧洲视频一区二区| 欧美日韩免费高清一区色橹橹| 欧美精品 国产精品| 欧美一级xxx| 久久久久国产成人精品亚洲午夜| 精品国内片67194| 国产精品成人免费精品自在线观看| 亚洲国产精品国自产拍av| 中文字幕av一区二区三区| 亚洲日本在线天堂| 丝袜美腿亚洲综合| 国产999精品久久久久久| 91小视频在线免费看| 欧美一二三四区在线| 久久精品人人爽人人爽| 亚洲 欧美综合在线网络| 日韩成人一级片| av成人免费在线| 精品国产乱码久久| 亚洲影视在线观看| 国产成人啪免费观看软件| 欧美视频精品在线|