<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Matt,<br>
    <br>
    QGIS uses blend modes baked into qtpainter. So the qt library is
    providing these blend modes. You would have to dig into the qt
    source code to find out details. See
    <a class="moz-txt-link-freetext" href="http://doc.qt.io/qt-4.8/qpainter.html#CompositionMode-enum">http://doc.qt.io/qt-4.8/qpainter.html#CompositionMode-enum</a> for a
    starter.<br>
    <br>
    But I would assume that blend modes are well covered in computer
    graphics literature and you could google some papers. They have been
    around for many years now.<br>
    <br>
    Andreas<br>
    <br>
    <div class="moz-cite-prefix">On 10.09.2015 04:02, Matt Boyd wrote:<br>
    </div>
    <blockquote
cite="mid:CAFgHUGLA-njGzqUrddaKcQq5p57soExMuyRnOKiaw=tdGm8DTQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Thanks Nicolas,
        <div>yes, I'm aware of those properties. What I'm trying to work
          out is how QGIS does this so I can use it outside of QGIS in
          another program. Some pointers to the sort of questions I
          should be asking google on transparency would be handy.</div>
        <div><br>
        </div>
        <div>Thanks</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Sep 10, 2015 at 10:33 AM,
          Nicolas Cadieux <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:nicolas.cadieux@archeotec.ca" target="_blank">nicolas.cadieux@archeotec.ca</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <p dir="ltr">Hi,</p>
            <p dir="ltr">In your raster properties, you can render
              layers using various methods like add, multiply...  It
              works very well.  Same options are available for vector
              layer and objects.</p>
            <p dir="ltr">Nicolas Cadieux M.Sc.<br>
              Les Entreprises Archéotec inc. <br>
              8548, rue Saint-Denis Montréal H2P 2H2<br>
              Téléphone: <a moz-do-not-send="true"
                href="tel:514.381.5112" value="+15143815112"
                target="_blank">514.381.5112</a>  Fax: <a
                moz-do-not-send="true" href="tel:514.381.4995"
                value="+15143814995" target="_blank">514.381.4995</a><br>
              <a moz-do-not-send="true" href="http://www.archeotec.ca"
                target="_blank">www.archeotec.ca</a></p>
            <div class="gmail_quote">
              <div>
                <div class="h5">On Sep 9, 2015 7:51 PM, "Matt Boyd [via
                  OSGeo.org]" <<a moz-do-not-send="true"
                    href="http:///user/SendEmail.jtp?type=node&node=5223435&i=0"
                    rel="nofollow" link="external" target="_blank">[hidden
                    email]</a>> wrote:<br type="attribution">
                </div>
              </div>
              <blockquote style="border-left:2px solid #cccccc;padding:0
                1em">
                <div>
                  <div class="h5">
                    <div dir="ltr">Hi Group,
                      <div>this is possibly one of those questions about
                        a question. I'd like to create some blended
                        layers that look the same as layers in QGIS with
                        transparency applied.</div>
                      <div>I've another application that my data lives
                        in and they supply a calculator that's able to
                        do some fairly reasonable maths on different
                        grids and other types of data.</div>
                      <div><br>
                      </div>
                      <div>How does QGIS do transparency, and can I use
                        those equations / method elsewhere.</div>
                      <div><br>
                      </div>
                      <div>Thanks</div>
                      <div>Matt</div>
                    </div>
                    <br>
                  </div>
                </div>
                _______________________________________________
                <br>
                Qgis-user mailing list
                <br>
                <a
                href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5223433&amp;i&#61;0">[hidden
                email]
                <br>
                <a moz-do-not-send="true"
                  href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
                  rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
                <br>
                <br>
                <hr size="1" noshade="noshade">
                <div style="color:#444;font:12px
                  'tahoma','geneva','helvetica','arial',sans-serif">
                  <div style="font-weight:bold">If you reply to this
                    email, your message will be added to the discussion
                    below:</div>
                  <a moz-do-not-send="true"
href="http://osgeo-org.1560.x6.nabble.com/Blending-layers-question-tp5223433.html"
                    rel="nofollow" link="external" target="_blank">http://osgeo-org.1560.x6.nabble.com/Blending-layers-question-tp5223433.html</a>
                </div>
                <div style="color:#666;font:11px
'tahoma','geneva','helvetica','arial',sans-serif;margin-top:0.4em;line-height:1.5em">
                  To start a new topic under Quantum GIS - User, email <a
                    moz-do-not-send="true"
                    href="mailto:ml-node%2Bs1560n4125267h38@n6.nabble.com"
                    target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:ml-node+s1560n4125267h38@n6.nabble.com">ml-node+s1560n4125267h38@n6.nabble.com</a></a>
                  <br>
                  To unsubscribe from Quantum GIS - User, <a href="<a
                    moz-do-not-send="true"
href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;unsubscribe_by_code&amp;node&%2361;4125267&amp;code&%2361;bmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg&%2361;&%2361"
                    target="_blank"><a class="moz-txt-link-freetext" href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;unsubscribe_by_code&amp;node&#61;4125267&amp;code&#61;bmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg&#61;&#61">http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;unsubscribe_by_code&amp;node&#61;4125267&amp;code&#61;bmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg&#61;&#61</a></a>;">click
                  here.<br>
                  <a href="<a moz-do-not-send="true"
href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;macro_viewer&amp;id&%2361;instant_html%21nabble%3Aemail.naml&amp;base&%2361;nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs&%2361;notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml"
                    target="_blank">http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;macro_viewer&amp;id&#61;instant_html%21nabble%3Aemail.naml&amp;base&#61;nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs&#61;notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml</a>"
                  style="font:9px serif">NAML </div>
              </blockquote>
            </div>
            <br>
            <hr align="left" width="300">
            View this message in context: <a moz-do-not-send="true"
href="http://osgeo-org.1560.x6.nabble.com/Blending-layers-question-tp5223433p5223435.html"
              target="_blank">Re: Blending layers question</a><br>
            Sent from the <a moz-do-not-send="true"
href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html"
              target="_blank">Quantum GIS - User mailing list archive</a>
            at Nabble.com.<br>
            <br>
            _______________________________________________<br>
            Qgis-user mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
              rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
    </blockquote>
    <br>
  </body>
</html>