摘要: 先贴一份github上的代码https://github.com/tsuu32/sdl2-cairo-example 不知道是不是版本问题,有一行编译会报错,注释掉就能跑了 #include <stdio.h> #include <stdbool.h> #include <SDL.h> #inclu 阅读全文
posted @ 2021-08-15 20:44 马角的逆袭 阅读(132) 评论(0) 推荐(0) 编辑
摘要: clion新建项目,并编写代码main.cpp #include <iostream> #include "SDL.h" #include "SDL_image.h" void drawMyRect(SDL_Renderer *sdlRenderer, SDL_Texture *sdlTexture 阅读全文
posted @ 2021-08-15 10:58 马角的逆袭 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 1. 加载一批png图片显示 首先用ffmpeg.exe准备一批png格式的图片 .\ffmpeg.exe -ss 59:07.000 -t 7 -r 24 -i G:\Xubuntu_Work_Space\From_Xubuntu\下载\[迅雷下载www.2tu.cc]穿越时空的少女.BD1280 阅读全文
posted @ 2021-08-15 10:53 马角的逆袭 阅读(371) 评论(0) 推荐(0) 编辑