Advertisement
TeslaCoilGirl

svg create

Dec 12th, 2020
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <time.h>
  4. #include "svgCreate.h"
  5.  
  6. void createBlock(FILE* fp, int bX, int bY, int r, int g, int b){
  7. fprintf(fp,"<rect x=\"%d\" y=\"%d\" width=\"50\" height=\"50\" fill=\"rgb(%d,%d,%d)\"></rect>",bX,bY,r,g,b);
  8.  
  9. }
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement