Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Drawing » DrawGridImage
Draws an image as a tile on an image considered to be a grid of tiles.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::DrawGridImage ( avl::Image& ioImage, const avl::Image& inTileImage, int inColumnIndex, int inRowIndex )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
ioImage | Image& | |||
inTileImage | const Image& | Image to be pasted to the grid | ||
inColumnIndex | int | Column index in the grid | ||
inRowIndex | int | Row index in the grid |
Description
The operation supports drawing image grids composed of equally sized images. The filters draws single inImage on the inImage at the location being the selected multiple of inTileImage dimensions.
Parameters pair inColumnIndex and inRowIndex set to (0, 0) draws inTileImage at the location of (0,0) pixels of the inImage.
Examples
See Also
- ComposeImages – Takes pixels from the first image within the specified region and from the other one elsewhere.
- DrawImage – Draws an image on another one.
- JoinImages – Creates a single image by glueing together the two input images in horizontal or vertical direction.