include/SDL_render.h
changeset 8028 e3e00f8e6b91
parent 7759 869583422e5a
child 8149 681eb46b8ac4
equal deleted inserted replaced
8027:21dcb24404c0 8028:e3e00f8e6b91
   594  *  \param a The alpha value used to draw on the rendering target, usually
   594  *  \param a The alpha value used to draw on the rendering target, usually
   595  *           ::SDL_ALPHA_OPAQUE (255).
   595  *           ::SDL_ALPHA_OPAQUE (255).
   596  *
   596  *
   597  *  \return 0 on success, or -1 on error
   597  *  \return 0 on success, or -1 on error
   598  */
   598  */
   599 extern DECLSPEC int SDL_SetRenderDrawColor(SDL_Renderer * renderer,
   599 extern DECLSPEC int SDLCALL SDL_SetRenderDrawColor(SDL_Renderer * renderer,
   600                                            Uint8 r, Uint8 g, Uint8 b,
   600                                            Uint8 r, Uint8 g, Uint8 b,
   601                                            Uint8 a);
   601                                            Uint8 a);
   602 
   602 
   603 /**
   603 /**
   604  *  \brief Get the color used for drawing operations (Rect, Line and Clear).
   604  *  \brief Get the color used for drawing operations (Rect, Line and Clear).
   610  *  \param a A pointer to the alpha value used to draw on the rendering target,
   610  *  \param a A pointer to the alpha value used to draw on the rendering target,
   611  *           usually ::SDL_ALPHA_OPAQUE (255).
   611  *           usually ::SDL_ALPHA_OPAQUE (255).
   612  *
   612  *
   613  *  \return 0 on success, or -1 on error
   613  *  \return 0 on success, or -1 on error
   614  */
   614  */
   615 extern DECLSPEC int SDL_GetRenderDrawColor(SDL_Renderer * renderer,
   615 extern DECLSPEC int SDLCALL SDL_GetRenderDrawColor(SDL_Renderer * renderer,
   616                                            Uint8 * r, Uint8 * g, Uint8 * b,
   616                                            Uint8 * r, Uint8 * g, Uint8 * b,
   617                                            Uint8 * a);
   617                                            Uint8 * a);
   618 
   618 
   619 /**
   619 /**
   620  *  \brief Set the blend mode used for drawing operations (Fill and Line).
   620  *  \brief Set the blend mode used for drawing operations (Fill and Line).