X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2FSDLx-Surface.html-inc;h=34e51ec55d86ac726aac505e9707a54a391ee603;hb=a3de848879a5553418ed11fb193c4bf286ca7120;hp=7dea9f4d20943e36f4d5077d845df78fef7ae9a3;hpb=d5943b684b1240307fbf0a103abbf18dd93998f4;p=sdlgit%2FSDL-Site.git diff --git a/pages/SDLx-Surface.html-inc b/pages/SDLx-Surface.html-inc index 7dea9f4..34e51ec 100644 --- a/pages/SDLx-Surface.html-inc +++ b/pages/SDLx-Surface.html-inc @@ -26,6 +26,8 @@
  • update
  • draw_rect
  • draw_line
  • +
  • draw_circle
  • +
  • draw_circle_filled
  • draw_gfx_text
  • @@ -226,6 +228,31 @@ This is useful when the surface you have isn't an SDLx::Surface, bu

    Returns $self

    +

    draw_circle

    +
    +
     $sdlx_surface->draw_circle( [$x1, $y1], $radius, \@color ); 
    +
    +
    +

    Draws an unfilled circle at ($x1,$y1) of size $radius and $color.

    +

    Returns $self

    + +
    +

    draw_circle_filled

    +
    +
     $sdlx_surface->draw_filled_circle( [$x1, $y1], $radius, \@color ); 
    +
    +
    +

    Draws an filled circle at ($x1,$y1) of size $radius and $color.

    +

    Returns $self

    + + + + + + + + +

    draw_gfx_text

    Draw text using gfx (not pretty but fast) at give vector, color.