{"title":"Drawing ellipses and elliptical arcs with piecewise cubic Bézier curve approximations","authors":"Jerry R. Van Aken","doi":"arxiv-2407.17675","DOIUrl":null,"url":null,"abstract":"This tutorial describes how to use piecewise cubic B\\'ezier curves to draw\narbitrarily oriented ellipses and elliptical arcs. The geometric principles\ndiscussed here result in strikingly simple interfaces for graphics functions\nthat can draw (approximate) circles, ellipses, and arcs of circles and\nellipses. C++ source code listings are included for these functions. Their code\nsize can be relatively small because they are designed to be used with a\ngraphics library or platform that draws B\\'ezier curves, and the library or\nplatform is tasked with the actual rendering of the curves.","PeriodicalId":501174,"journal":{"name":"arXiv - CS - Graphics","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-07-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Graphics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2407.17675","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
This tutorial describes how to use piecewise cubic B\'ezier curves to draw
arbitrarily oriented ellipses and elliptical arcs. The geometric principles
discussed here result in strikingly simple interfaces for graphics functions
that can draw (approximate) circles, ellipses, and arcs of circles and
ellipses. C++ source code listings are included for these functions. Their code
size can be relatively small because they are designed to be used with a
graphics library or platform that draws B\'ezier curves, and the library or
platform is tasked with the actual rendering of the curves.