Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char aux_str[MAX_VALUES];
- sprintf(aux_str,"%d",*value);
- for(j=0;j<strlen(aux_str);j++){
- *tam_caracter_numero = letra_a_longitud(aux_str[j]);
- *ptr_valor = letra_a_vector(aux_str[j]);
- for(i=0;i<*tam_caracter_numero-1;i++){
- SDL_RenderDrawLine(
- renderer,
- (*ptr_valor)[i][0] * escalado + pos_x,
- -(*ptr_valor)[i][1] * escalado + pos_y,
- (*ptr_valor)[i+1][0] * escalado + pos_x,
- -(*ptr_valor)[i+1][1] * escalado + pos_y
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement