Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <time.h>
- #include "svgCreate.h"
- void createBlock(FILE* fp, int bX, int bY, int r, int g, int b){
- fprintf(fp,"<rect x=\"%d\" y=\"%d\" width=\"50\" height=\"50\" fill=\"rgb(%d,%d,%d)\"></rect>",bX,bY,r,g,b);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement