Next: TileS sample, Previous: Boxs sample, Up: 2D samples [Contents][Index]
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;
}