| 
        
          | 
              
                | Author |  Topic  |  |  
                | klinikaxp
  
 
                Poland11 Posts
 | 
                    
                      |  Posted - Jan 25 2020 :  16:41:47     
 |  
                      | The user draws to lines, which are crossed. When he point the end of second section/line, I have to draw an arc, and to sho the angle between them. 
 Now I draw an angle with lines, which overlap the user lines, but it does not look well and is difficult to modify, when user moves section ends.
 
 I would like just to draw arc, but I do not know, how to add an arc (without lines) as a layer.
 |  |  
                | xequte
      
 
                39218 Posts | 
                    
                      |  Posted - Jan 26 2020 :  21:52:27     
 |  
                      | Hi 
 Unfortunately arc's are not yet supported, but they are on the to-do list.
 
 Nigel
 Xequte Software
 www.imageen.com
 
 |  
                      |  |  |  
                | klinikaxp
  
 
                Poland11 Posts
 | 
                    
                      |  Posted - Jan 27 2020 :  04:46:48     
 |  
                      | Thank you for response. Is there any way to draw it manually? For example I add empty Layer and then I DrawArc in OnDrawLayer event or something like this? |  
                      |  |  |  
                | xequte
      
 
                39218 Posts | 
                    
                      |  Posted - Jan 27 2020 :  13:53:47     
 |  
                      | Hi 
 Yes, you could do it that way. Please see the custom draw demo:
 
 Demos\LayerEditing\Layers_CustomDraw\LayersDraw.dpr
 
 You can draw an arc using a TIECanvas with:
 
 procedure TIECanvas.Arc(X1, Y1, X2, Y2, X3, Y3, X4, Y4: Integer);
 
 Nigel
 Xequte Software
 www.imageen.com
 
 |  
                      |  |  |  
                |  |  Topic  |  |  |  |