Circle drawing problem

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
merco
Posts: 28
Joined: 25 May 2010, 10:03

Circle drawing problem

Post by merco » 28 Jun 2010, 10:13

I have some problems while drawing circles.
The white background image is a conversion to PDF using cadimport dll, the black one is a free viewer of the same drawing.
Circle are rendered in different way... (see "9", "7", etc...)
Image
Why ?

I'm drawing the circle in this way, due to a problem with radius property using iterate.

Code: Select all

Private Sub ImportPolyPDF(ByVal E As Object)
        Dim First As Boolean = True
        Dim StartPoint As DPoint
        Dim PdfPoint As DPoint
        '_Cb.SetLineWidth(0.5)

        Me.CbPDFSetLineWidth(E.LineWeight)
        _Cb.SetLineCap(PdfContentByte.LINE_CAP_ROUND)
        _Cb.SetLineJoin(PdfContentByte.LINE_JOIN_ROUND)
        SetColor(E)
        For Each pt As DPoint In E.PolyPoints
            Me.RealPointNode(pt, PdfPoint)
            If First Then
                CbPDFMove(PdfPoint)
                First = False
                StartPoint = pt
            Else
                _Cb.LineTo(PdfPoint.X, PdfPoint.Y)
            End If
        Next
        _Cb.Stroke()
    End Sub
Get the file at http://www.sygest.it/upgrade/CadImport/4-41859_9.zip

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: Circle drawing problem

Post by support » 28 Jun 2010, 15:02

Hello.
Unfortunately there is a problem within CAD Import .NET component with this file. We will consider it and let you know when results are ready.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

merco
Posts: 28
Joined: 25 May 2010, 10:03

Re: Circle drawing problem

Post by merco » 26 Aug 2010, 18:56

some news about the problem ?
thank you

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: Circle drawing problem

Post by support » 27 Aug 2010, 11:12

Hello merco,
Unfortunately, we can't provide you with a solution. The question is in development.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply