Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL_BlitSurface #42

Closed
skitoo opened this issue May 29, 2014 · 2 comments
Closed

SDL_BlitSurface #42

skitoo opened this issue May 29, 2014 · 2 comments

Comments

@skitoo
Copy link

skitoo commented May 29, 2014

Hello,

I don't find the SDL_BlitSurface function in go-sdl2.
Is it not implemented ? Is it planned ?

Thank you for your work :)

@aqiank
Copy link

aqiank commented May 29, 2014

Hi skitoo, it is implemented as a method of Surface.

func (src *Surface) Blit(srcRect *Rect, dst *Surface, dstRect *Rect) int

To be honest, I'm not very sure whether or not to make it a method. If there's more opinions of just making everything straight translations from SDL2, I'll make it happen.

@whyrusleeping
Copy link
Contributor

I feel like it makes sense as a method. It keeps with the current OO feel weve got going in this project.

@aqiank aqiank closed this as completed Jul 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants