Table of Contents

zmap_SetWrapFlag

Description

Set the flag for whether the map is tiled such that the left/right and top/bottom edges wrap around to produce an infinitely repeating map.

Files

Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool zmap_SetWrapFlag(ZMAP hMap, bool WrapFlag);

Arguments

Name Type Comment
hMap ZMAP A ZMAP handle to a map, the WrapFlag of which is to be set.
WrapFlag bool The desired wrap flag state.

Return value

False if an error occurred, and true otherwise.

Comments

No free lunch

This function does not change the map pixel values to force edges to line up. If the map does not already have matching borders, this function will not make them so.