DrawRoundRectangle

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi.
In some last version of OpenNetCF I was able to use "DrawRoundRectangle"
method. It was in OpenNetCF.Drawing.GraphicsEx namespace.

I can not found something similar in OpenNETCF 2.0 orelse in CF 2.0.

Can you help me?
BR,
kp
 
DrawRoundRectangle does exist in Smart Device Framework 2.0. It is in the
OpenNETCF.Drawing.GraphicsEx class. You will need to add a reference to
OpenNETCF.Drawing.dll.

DrawRoundRectangle has the following signature:

public void DrawRoundRectangle(PenEx pen, Rectangle rc, Size size)

--
Neil Cowburn
Principal Partner
OpenNETCF Consulting, LLC.

Managed Code in the Embedded World

http://www.opennetcf.com/
http://www.smartdeviceframework.com/
 
Ok thanks for the information... Sorry for the mistake, I had ever
used it before and as it was in System.Drawing, I thought it was to
round the angles of the rectangle.

Fabien Decret

Windows Embedded Consultant

ADENEO (ADESET)http://www.adeneo.adetelgroup.com/
 
Maybe it's a some missunderstanding.
Smart Device Framework 2.0 = OpenNETCF 2.0
There is no OpenNETCF.Drawing.GraphicsEx class in version 2.0.
Am I right?
 
There is no such thing as OpenNETCF 2.0. Referring to Smart Device Framework
2.0 as "OpenNETCF 2.0" is analogous to referring .NET Compact Framework 2.0
as "Microsoft 2.0".

As for the GraphicsEx class, yes it is MIA. It should be in the namespace,
but it's missing. I'm looking into what happened here.

--
Neil Cowburn
Principal Partner
OpenNETCF Consulting, LLC.

Managed Code in the Embedded World

http://www.opennetcf.com/
http://www.smartdeviceframework.com/
 
Hi again.
I'm looking at your home site http://www.opennetcf.com/.
The full name of "what we talking about" is:
OpenNETCF Smart Device Framework 2.0 :)
No offense, "OpenNETCF 2.0" is not so out.

No matter. Important is, where GraphicsEx disappered...

kp
 
No offense taken but you're wrong. "OpenNETCF 2.0" could refer to ANY
and/or ALL of our products, so it is quite a fair way out. By your
reasoning. everyone should call the "Microsoft .NET Compact Framework 2.0"
"Microsoft 2.0" which is just plain inaccurate.

It looks like the source code was mistakenly excluded from the
OpenNETCF.Drawing project. The source still exists as I can see it in my
local copy of the repository. This will be fixed for v2.1. In fact, I've
logged this as a bug: http://bugzilla.opennetcf.com/show_bug.cgi?id=79

--
Neil Cowburn
Principal Partner
OpenNETCF Consulting, LLC.

Managed Code in the Embedded World

http://www.opennetcf.com/
http://www.smartdeviceframework.com/
 
Thank you for your support.

I'm looking forward to version 2.1

kp

Most people I know refer to it as "OpenNETCF 2" since the dlls are all
called that.

Is there any chance you could add the Serial Port library back in. The
MS one doesn't work very well and hangs some devices, e.g. the XDA
Orbit.
 
Back
Top