Re: Decreasing seams in scaled windows
Neil <[email protected]> Wed, 4 Mar 2026 13:19:42 -0800 (PST)
| Newsgroups | gmane.comp.lib.scintilla.devel |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_85102_1069763232.1772659182399 Content-Type: multipart/alternative; boundary="----=_Part_85103_47352816.1772659182399" ------=_Part_85103_47352816.1772659182399 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mitchell: I haven=E2=80=99t tested this patch, but I=E2=80=99d like to know if this = =E2=80=9Coverdrawing=E2=80=9D can=20 be optional. Or maybe the overdraw parameters can be ignored by the=20 platform? (It=E2=80=99s hard for me to understand the patch by reading it b= y=20 itself.) Yes, the overdraw will be optional and it may be up to the platform layer= =20 to enable it. Perhaps overdraw is completely determined by the platform layer. Or there= =20 could be an API. The decision could be a combination of the platform layer and an API. There are other APIs like `SCI_SETTECHNOLOGY` and `SCI_SETBIDIRECTIONAL`=20 where some platform layers intercept the call to restrict the possibilities= =20 such as refusing bidirectional mode. Sometimes scaling information is available at an application level but is= =20 not easily available from a widget. On Win32, for example, some messages=20 only go to topmost windows. In the opposite direction, requiring applications to use an API means this= =20 will be less automatic which will lead to a poorer default experience. The patch does not include an API or any platform enabling since its just= =20 trying to see if the idea is workable. Neil=20 --=20 You received this message because you are subscribed to the Google Groups "= scintilla-interest" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/scintilla-i= nterest/88f2e64b-7bea-4312-aca9-ecce47f06539n%40googlegroups.com. ------=_Part_85103_47352816.1772659182399 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mitchell:<div><blockquote style=3D"margin: 0px 0px 0px 0.8ex; border-left: = 1px solid rgb(204, 204, 204); padding-left: 1ex;">I haven=E2=80=99t tested = this patch, but I=E2=80=99d like to know if this =E2=80=9Coverdrawing=E2=80= =9D can be optional. Or maybe the overdraw parameters can be ignored by the= platform? (It=E2=80=99s hard for me to understand the patch by reading it = by itself.)</blockquote><div><br /></div><div>Yes, the overdraw will be opt= ional and it may be up to the platform layer to enable it.</div><div><br />= </div><div>Perhaps overdraw is completely determined by the platform layer.= Or there could be an API.</div><div><br /></div><div>The decision could be= a combination of the platform layer and an API.</div><div><br /></div><div= >There are other APIs like `SCI_SETTECHNOLOGY` and `SCI_SETBIDIRECTIONAL` w= here some platform layers intercept the call to restrict the possibilities = such as refusing bidirectional mode.</div><div><br /></div><div>Sometimes s= caling information is available at an application level but is not easily a= vailable from a widget. On Win32, for example, some messages only go to top= most windows.</div><div><br /></div><div>In the opposite direction, requiri= ng applications to use an API means this will be less automatic which will = lead to a poorer default experience.</div><div><br /></div><div>The patch d= oes not include an API or any platform enabling since its just trying to se= e if the idea is workable.</div><div><br /></div><div>Neil=C2=A0</div></div= > <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;scintilla-interest" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">= [email protected]</a>.<br /> To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/= scintilla-interest/88f2e64b-7bea-4312-aca9-ecce47f06539n%40googlegroups.com= ?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/= scintilla-interest/88f2e64b-7bea-4312-aca9-ecce47f06539n%40googlegroups.com= </a>.<br /> ------=_Part_85103_47352816.1772659182399-- ------=_Part_85102_1069763232.1772659182399--