Click here to Skip to main content
15,881,852 members
Articles / Multimedia / GDI+

Tile Scaling for Maximum Area Coverage Based Upon Aspect Ratio of Tiles

Rate me:
Please Sign up or sign in to vote.
4.50/5 (5 votes)
21 Sep 2012CPOL6 min read 25.6K   368   12  
This is an algorithm for maximizing coverage of a rectangular area with scaling tile children.

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ScalingTiles", "ScalingTiles\ScalingTiles.csproj", "{AA0C9D7A-36AE-4113-A325-F4C892337D84}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|x86 = Debug|x86
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{AA0C9D7A-36AE-4113-A325-F4C892337D84}.Debug|x86.ActiveCfg = Debug|x86
		{AA0C9D7A-36AE-4113-A325-F4C892337D84}.Debug|x86.Build.0 = Debug|x86
		{AA0C9D7A-36AE-4113-A325-F4C892337D84}.Release|x86.ActiveCfg = Release|x86
		{AA0C9D7A-36AE-4113-A325-F4C892337D84}.Release|x86.Build.0 = Release|x86
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions