<div dir="ltr">Fixed.<div>Sorry everybody, I was using a wrong assumption:</div><div>COL_BLUE (#000080) is _not_ the same as the "Blue" one selects from the Draw standard palette (#6666FF).<br><div><br></div></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 24, 2014 at 3:12 PM, Matteo Campanelli <span dir="ltr"><<a href="mailto:matteo.campanelli@gmail.com" target="_blank">matteo.campanelli@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>I was experimenting with text background colors in Draw (see attachment).</div><div>I used OutputDevice::SetTextFillColor to set the color of underlined text to COL_BLUE.</div>
<div>The background color of the text area is also set to blue but the one for the underlined text (i.e. the one I'm setting) is darkened for some reason.</div>
<div>Anyone has an idea of what this may be related to?</div><div>Are there situations (selection?) where Vcl just makes this kind of changes to colors?</div><div><br></div><div>Cheers,<br>Matteo</div><div><br></div></div>
</blockquote></div><br></div>