image

image( )

Description

Draws an image

type of file      :  jpg, png
location of file :  <Gallery -- Downloads>  in your smart phone

Syntax
image(s, x, y, w, h

Parameters
  s : file name 
  x : x-coordinate
  y : y-coordinate

  w : width
  h : height


Usages

image("filename.jpg", 200, 200, 100, 200)
image("filename.png", 200, 200, 100, 200)


Examples in arduino

#include "AppGosu.h"
AppGosu app;


void  setup() {

     app.start();
     app.clearAll();



     app.image("filename.jpg", 200, 200, 100, 200);

}

void loop() {


}




Examples in other MCU (AVR, PIC, MSP430)

printf("image('filename.jpg',200,200,100,200);");



















from AppGosu
-----------------------------------------



No comments: