<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 09/19/2014 02:14 PM, Shuai Meng
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAOhhAYMXbjzPxePKYGARerhU2rM10j4VOgcd40UB+w1AWPKgQw@mail.gmail.com"
      type="cite">
      <div dir="ltr"><span class="">
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">+ 
                total = color[0] + 256 * color[1] + 256 * 256 *
              color[2];<br>
            </blockquote>
            <br>
            RGB() macro does the same thing.<br>
            <br>
          </blockquote>
        </span>
        <div>I don't quite understand this line..will you explain it in
          detail please? </div>
      </div>
    </blockquote>
    See <a class="moz-txt-link-freetext" href="http://source.winehq.org/source/include/wingdi.h#0434">http://source.winehq.org/source/include/wingdi.h#0434</a><br>
    So total = color[0] + 256 * color[1] + 256*256*color[2] is the same
    as total = RGB(color[0], color[1], color[2])<br>
  </body>
</html>