title: Which origin does FLTK draw function use ? Widget or Window?
body: <p>I'm trying to create a custom rpm gauge widget. everything looks fine when i test it by itself.
  But when i try to draw it at a different position in the parent window it seems to always draw using the origin of the window and not that of the widget no matter what x or y value i am passing to the constructor.</p>
  <p>a printf() after calling the constructor confirmed that the widget &quot;knows&quot; the intended x and y.
  <a href="https://i.stack.imgur.com/eQXjy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eQXjy.png" alt="gauge showing at window (0,0) and not (0,400)" /></a>
  <a href="https://i.stack.imgur.com/aMNOq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aMNOq.png" alt="initialization of new gauge object" /></a></p>
  <p>Is this the default behavior ? i thought that the draw function uses the widgets 0,0 and not the window. do i need to explicitly call the x() and y() in the draw function and apply transforms to correct this ?</p>