Wiki Page Content

Differences between revisions 5 and 6
Revision 5 as of 2010-01-17 21:37:52
Size: 976
Editor: SheenaSmith
Comment: correct formatting
Revision 6 as of 2010-08-30 05:11:32
Size: 934
Editor: SheenaSmith
Comment: update content (w/ Sam); remove 'draft' note
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%"style="color: rgb(255, 0, 0); text-align: center;">DRAFT||
Line 21: Line 20:
Returns 0 on success or -1 if there is no rendering context current; call [[SDL_GetError]]() for more information. Returns 0 on success or a negative error code on failure; call [[SDL_GetError]]() for more information.
Line 32: Line 31:
 .[[SDL_RenderDrawLine]]???
 .[[SDL_RenderDrawLines]]???
 .[[SDL_RenderDrawPoints]]???
 .[[SDL_RenderDrawRect]]???
 .[[SDL_RenderDrawRects]]???
 .[[SDL_RenderDrawLine]]
 .[[SDL_RenderDrawLines]]
 .[[SDL_RenderDrawPoints]]
 .[[SDL_RenderDrawRect]]
 .[[SDL_RenderDrawRects]]
 .[[SDL_SetRenderDrawBlendMode]]
 .[[SDL_SetRenderDrawColor]]

SDL_RenderDrawPoint

Use this function to draw a point on the current rendering target.

Syntax

int SDL_RenderDrawPoint(int x, 
                        int y)

Function Parameters

x

the x coordinate of the point

y

the y coordinate of the point

Return Value

Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryVideo

None: SDL_RenderDrawPoint (last edited 2013-11-14 18:13:09 by Soryy708)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit