← Back to team overview

kicad-developers team mailing list archive

Re: Graphics Abstraction Layer (was Re: wxDC &

 

--00032555b14271cf77048054aa73 Content-Type: text/plain; charset=UTF-8

2010/2/24 Dick Hollenbeck <dick@...>

>
>
> Wayne, why do you consider writing 2 functions in order to get to a
> single destination a good design? Is C++ having problems?
>
> What I see is a space vs. speed trade off. And we want speed. Is it
> more than this?
>
> Dick
>
>
>
This should be optimized by compiler. I think this is a way out to put
something in base class before anything platform specific is called. But I
do not think KiCad abstraction layer need that level of foresight. Abstract
class with virtual methods declaration should be enough.

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

<br><br><div class=3D"gmail_quote">2010/2/24 Dick Hollenbeck <span dir=3D"l=
tr">&lt;<a href=3D"mailto:dick@...";>dick@...</a>&gt;</span>=
<br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(2=
04, 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>Wayne, why do you consider writing 2 functions in order to get to =
a <br></p>
single destination a good design? Is C++ having problems?<br>
<br>
What I see is a space vs. speed trade off. And we want speed. Is it <br>
more than this?<br>
<br>
Dick<br>
<br>


</div><br></div></div></div></blockquote></div><br>This should be optim=
ized by compiler. I think this is a way out to put something in base class =
before anything platform specific is called. But I do not think KiCad abstr=
action layer need that level of foresight. Abstract class with virtual meth=
ods declaration should be enough.<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>
 --00032555b14271cf77048054aa73-- 




References