diff options
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r-- | doc/ScintillaDoc.html | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 2ab2d7f03..e0dc42bad 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -79,7 +79,7 @@ <h1>Scintilla Documentation</h1> - <p>Last edited 15/July/2012 NH</p> + <p>Last edited 21/July/2012 NH</p> <p>There is <a class="jump" href="Design.html">an overview of the internal design of Scintilla</a>.<br /> @@ -3365,6 +3365,7 @@ struct Sci_TextToFind { const char *xpm)</a><br /> <a class="message" href="#SCI_RGBAIMAGESETWIDTH">SCI_RGBAIMAGESETWIDTH(int width)</a><br /> <a class="message" href="#SCI_RGBAIMAGESETHEIGHT">SCI_RGBAIMAGESETHEIGHT(int height)</a><br /> + <a class="message" href="#SCI_RGBAIMAGESETSCALE">SCI_RGBAIMAGESETSCALE(int scalePercent)</a><br /> <a class="message" href="#SCI_MARKERDEFINERGBAIMAGE">SCI_MARKERDEFINERGBAIMAGE(int markerNumber, const char *pixels)</a><br /> <a class="message" href="#SCI_MARKERSYMBOLDEFINED">SCI_MARKERSYMBOLDEFINED(int markerNumber) @@ -3554,12 +3555,16 @@ struct Sci_TextToFind { <p> <b id="SCI_RGBAIMAGESETWIDTH">SCI_RGBAIMAGESETWIDTH(int width)</b><br /> <b id="SCI_RGBAIMAGESETHEIGHT">SCI_RGBAIMAGESETHEIGHT(int height)</b><br /> + <b id="SCI_RGBAIMAGESETSCALE">SCI_RGBAIMAGESETSCALE(int scalePercent)</b><br /> <b id="SCI_MARKERDEFINERGBAIMAGE">SCI_MARKERDEFINERGBAIMAGE(int markerNumber, const char *pixels)</b><br /> Markers can be set to translucent pixmaps with this message. The <a class="jump" href="#RGBA">RGBA format</a> is used for the pixmap. The width and height must previously been set with the <code>SCI_RGBAIMAGESETWIDTH</code> and - <code>SCI_RGBAIMAGESETHEIGHT</code> messages. - Pixmaps use the <code>SC_MARK_RGBAIMAGE</code> marker symbol. </p> + <code>SCI_RGBAIMAGESETHEIGHT</code> messages.</p> + <p>A scale factor in percent may be set with <code>SCI_RGBAIMAGESETSCALE</code>. This is useful on OS X with + a retina display where each display unit is 2 pixels: use a factor of 200 so that each image pixel is dsplayed using a screen pixel. + The default scale, 100, will stretch each image pixel to cover 4 screen pixels on a retina display.</p> + <p>Pixmaps use the <code>SC_MARK_RGBAIMAGE</code> marker symbol. </p> <p><b id="SCI_MARKERSYMBOLDEFINED">SCI_MARKERSYMBOLDEFINED(int markerNumber)</b><br /> Returns the symbol defined for a markerNumber with <code>SCI_MARKERDEFINE</code> |