PHP Media
Spanish English 

Main
Forum
Documentation
- BITMAP
- COLOR
- DRAW
Functions
- draw_arc
- draw_bitmap
- draw_bitmap_2xeagle
- draw_bitmap_2xsai
- draw_bitmap_add
- draw_bitmap_color
- draw_bitmap_flags
- draw_bitmap_sub
- draw_bitmap_tiled
- draw_box
- draw_box_fill
- draw_circle
- draw_circle_fill
- draw_clear
- draw_ellipse
- draw_ellipse_fill
- draw_fill
- draw_get
- draw_line
- draw_pixel
- draw_polygon
- draw_polygon_fill
- draw_text
- draw_triangle
- draw_triangle_fill
Constants
Variables
- FONT
- JOY
- KEY
- MOUSE
- MUSIC
- SOUND
- VIDEOMODE
Contact
draw_line
( 0.1a )

Description:
void draw_line ( BITMAP bitmap, int x1, int y1, int x2, int y2, int color )

bitmap - Bitmap
x1 - x1
y1 - y1
x2 - x2
y2 - y2
color - color

Dibuja una linea de un color dado, entre la posición (x1, y1) y (x2, y2) sobre el bitmap.


Lineas:
Lineas

¿Found a bug? Post it in forum


SourceForge.net Logo