It is easy enough to implement using \pgfpatharcaxes and \pgfpointpolarxy.

  \draw[red] (0,0) arc[x radius=2, y radius=1, rotate=-45,
    start angle=0, end angle=180];



  • 2
    Give it to \draw as an option
    – percusse
    Jan 17 '18 at 16:34
  • @percusse - I was trying to use it with \clip (see tex.stackexchange.com/questions/408245/…). Jan 17 '18 at 16:36
  • 1
    You can also add [rotate=-45] just before arc[...]: \draw[red] (0,0) [rotate=-45] arc[x radius=2, y radius=1, start angle=0, end angle=180];. Jan 17 '18 at 16:48
  • @PaulGaborit - I wasn't aware the TikZ parser could do that. Would you like to submit that as an answer to close the question? Jan 17 '18 at 16:50
  • @JohnKormylo See p.146, pgfmanual, v3.0.1a: At any point where TikZ expects a path operation, you can also give some graphic options, which is a list of options in brackets... Jan 17 '18 at 16:58

TikZ arc uses PGF \pgfpatharc and it doesn't have flexibility in adding transformations.

Instead you can add a inline scope

\draw[red] (0,0) --(1,1) {[rotate=-45] arc[x radius=2, y radius=1, start angle=0,
           end angle=180] -- (-1,1)} -- (-1,1) -- cycle;

enter image description here

  • In your example, the inline scope is not required... Jan 17 '18 at 16:54
  • I noticed that the effect is cumulative otherwise. Jan 17 '18 at 16:54
  • @PaulGaborit Added an example for which you need one
    – percusse
    Jan 17 '18 at 16:55
  • @percusse This new example is much better. ;-) Jan 17 '18 at 16:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.