Next: , Previous: , Up: 2D samples   [Contents][Index]


3.6.9 Tile sample

Function tile draw surface by tiles. The sample code is:

int sample(mglGraph *gr)
{
  mglData a;  mgls_prepare2d(&a);
  gr->Title("Tile plot");
  gr->Rotate(40,60);  gr->Box();  gr->Tile(a);
  return 0;
}
Example of Tile()