Ignore:
Timestamp:
07/31/09 03:33:56 (4 years ago)
Author:
werner
Message:
  • name of anonymous vectors wasn't initialized
  • made active vectors a little brighter to better tell them apart from inactive ones
  • frames are now (again) ordered from root down
  • added new item .circ to avoid crazy .arc syntax
File:
1 edited

Legend:

Unmodified
Added
Removed
  • developers/werner/fped/README

    r5344 r5345  
    8787A circle is defined by its center and a point on the circle: 
    8888 
    89 .arc <center> <point> 
     89.circ <center> <point> 
    9090 
    9191This example draws a unit circle: 
    9292 
    9393.vec @ 1mm, 0mm 
    94 .arc @ . 
     94.circ @ . 
    9595 
    9696An arc is like a circle, but the part of the circle drawn is determined 
     
    9999from the center is ignored. 
    100100 
    101 .arc <center> <radius>, <end> 
    102  
    103 Note the comma between the radius and the end angle. The arc is drawn 
    104 in a counter-clockwise direction. The following example draws an arc 
    105 of the unit circle in the x > 0, y > 0 quadrant: 
     101.arc <center> <radius> <end> 
     102 
     103The arc is drawn in a counter-clockwise direction. The following example 
     104draws an arc of the unit circle in the x > 0, y > 0 quadrant: 
    106105 
    107106from = .vec @ 1mm, 0mm 
    108107to = .vec @ 0mm, 1mm 
    109 .arc @ from, to 
     108.arc @ from to 
    110109 
    111110 
     
    226225x = 1, 3 
    227226.vec @ x*1mm, 0mm 
    228 .arc @ . 
     227.circ @ . 
    229228 
    230229 
     
    251250    { 3mm } 
    252251.vec @ x, 0mm 
    253 .arc @ . 
     252.circ @ . 
    254253 
    255254Note that we can set the unit of the values directly in this case. 
Note: See TracChangeset for help on using the changeset viewer.