← Back to team overview

kicad-developers team mailing list archive

Re: wxGCDC (was Re: Re: R2217 bugs)

 

--000325558d66c521dd047d71b1a1 Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

2010/1/18 emmedics4 <marco.serantoni@...>

>
>
> --- In kicad-devel@xxxxxxxxxxxxxxx <kicad-devel%40yahoogroups.com>,
> "Torsten H=C3=BCter" <torstenhtr@...> wrote:
> > Yes, you're right, the additional cost is another library to maintain.
> However the bonus is, that it helps to accelerate the drawing speed -
> exactly because it was optimized for speed. AFAIK even antialiasing shoul=
d
> work. It's well supported for Linux / Windows (mingw) / Mac OS X.
> > I could imagine that for KiCad is a abstract graphics layer is created
> and different rendering engines are used as plugins (like for instance so=
me
> emulators use).
> > I'll play with it at the weekend.
>
> For what i know wxGC is only an interface to GDI+ on win , Core Graphics
> (Quartz 2D) on OSX or Cairo on Linux.
> I personally think that you couldn't have much more performance than wxGC=
,
> but i will be pleased to be wrong :)
> Let us know :)
>
> --
> Marco
>
>
I saw some comparisons (apologize, I cannot cite from my brain's memory),
showing that GDI+ is not that fast as it might be expected and is a real
pain in the ass due to its license terms and conditions disallowing open us=
e
of even headers files. Author mentioned that newest cairo is faster. SFML
metioned ealier in this thread is REALLY fast according to what I've read,
but not used by default in any of known GUI "environments" - but supports
wxWidgets and Qt well.

--=20
Manveru
jabber: manveru@...
gg: 1624001
http://www.manveru.pl
 --000325558d66c521dd047d71b1a1 Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">2010/1/18 emmedics4 <span dir=3D"ltr">&l=
t;<a href=3D"mailto:marco.serantoni@...";>marco.serantoni@...</a=
>&gt;</span><br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px=
solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">













<div style=3D"background-color: rgb(255, 255, 255);">
<span>=C2=A0</span>


<div>
<div>


<div>
=20=20=20=20=20=20
=20=20=20=20=20=20
<p></p><div class=3D"im">--- In <a href=3D"mailto:kicad-devel%40yahoo=
groups.com" target=3D"_blank">kicad-devel@xxxxxxxxxxxxxxx</a>, &quot;Torste=
n H=C3=BCter&quot; &lt;torstenhtr@...&gt; wrote:<br>
&gt; Yes, you&#39;re right, the additional cost is another library to maint=
ain. However the bonus is, that it helps to accelerate the drawing speed - =
exactly because it was optimized for speed. AFAIK even antialiasing should =
work. It&#39;s well supported for Linux / Windows (mingw) / Mac OS X.<br>

&gt; I could imagine that for KiCad is a abstract graphics layer is created=
and different rendering engines are used as plugins (like for instance som=
e emulators use).<br>
&gt; I&#39;ll play with it at the weekend.<br>
<br></div>
For what i know wxGC is only an interface to GDI+ on win , Core Graphics (Q=
uartz 2D) on OSX or Cairo on Linux.<br>
I personally think that you couldn&#39;t have much more performance than wx=
GC, but i will be pleased to be wrong :)<br>
Let us know :)<br>
<br>
--<br>
Marco<br><br></div></div></div></div></blockquote></div><br>I saw some comp=
arisons (apologize, I cannot cite from my brain&#39;s memory), showing that=
GDI+ is not that fast as it might be expected and is a real pain in the as=
s due to its license terms and conditions disallowing open use of even head=
ers files. Author mentioned that newest cairo is faster. SFML metioned eali=
er in this thread is REALLY fast according to what I&#39;ve read, but not u=
sed by default in any of known GUI &quot;environments&quot; - but supports =
wxWidgets and Qt well.<br clear=3D"all">
<br>-- <br>Manveru<br>jabber: <a href=3D"mailto:manveru@...";>manveru=
@manveru.pl</a><br> =C2=A0 =C2=A0 gg: 1624001<br> =C2=A0 <a href=3D"http://=
www.manveru.pl">http://www.manveru.pl</a><br>
 --000325558d66c521dd047d71b1a1-- 




References