Method: Fox::FXDC#drawArc

Defined in:
rdoc-sources/FXDC.rb

#drawArc(x, y, w, h, start, extent) ⇒ Object

Draw an arc. The argument start specifies the start of the arc relative to the three-o'clock position from the center, in units of degrees64. The argument extent specifies the path and extent of the arc, relative to the start of the arc (also in units of degrees64). The arguments x, y, w, and h specify the bounding rectangle of the arc.

Parameters:

x

x-coordinate of the upper left corner of the bounding rectangle [Integer]

y

y-coordinate of the upper left corner of the bounding rectangle [Integer]

w

width of the bounding rectangle, in pixels [Integer]

h

height of the bounding rectangle, in pixels [Integer]

start

starting angle of the arc, in 64ths of a degree [Integer]

extent

the path and extent of the arc, relative to the start of the arc (in 64ths of a degree) [Integer]

See also #drawArcs, #fillArc and #fillArcs.



358
# File 'rdoc-sources/FXDC.rb', line 358

def drawArc(x, y, w, h, start, extent) ; end