       ctx.closePath()
 
       if @do_fill
-        @glyph_props.fill_properties.set(ctx, @data[i])
+        glyph_props.fill_properties.set(ctx, @data[i])
         ctx.fill()
 
       if @do_stroke
-        @glyph_props.line_properties.set(ctx, @data[i])
+        glyph_props.line_properties.set(ctx, @data[i])
         ctx.stroke()
 
       ctx.rotate(-@angle[i])

class OvalView extends GlyphView

  initialize: (options) ->
    glyphspec = @mget('glyphspec')
    @glyph_props = new glyph_properties(
      @,
      glyphspec,
      ['x', 'y', 'width', 'height', 'angle'],

    ctx = @plot_view.ctx

    ctx.save()
    #duped
    selected = @mget_obj('data_source').get('selected')
    for idx in selected
      @selected_mask[idx] = true
    if @glyph_props.fast_path
      @_fast_path(ctx)
    else
      ##duped in many classes
      if selected and selected.length and @nonselection_glyphprops
        if @selection_glyphprops
          props =  @selection_glyphprops
        else
          props = @glyph_props
        @_full_path(ctx, props, 'selected')
        @_full_path(ctx, @nonselection_glyphprops, 'unselected')
      else
        @_full_path(ctx)
      ##duped in many classes
    ctx.restore()

  _fast_path: (ctx) ->
