This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use with GdiDrawText() | |
// {{ | |
var DT_TOP = 0x00000000; | |
var DT_CENTER = 0x00000001; | |
var DT_VCENTER = 0x00000004; | |
var DT_WORDBREAK = 0x00000010; | |
var DT_CALCRECT = 0x00000400; | |
var DT_NOPREFIX = 0x00000800; | |
// }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Shuffler Test</title> | |
<script type="text/javascript" src="shuffler.js"></script> | |
</head> | |
<body> | |
<h1>Shuffler</h1> | |
<p>See <a href="http://www.tedunangst.com/flak/post/efficient-uniform-shuffling">Efficient Uniform Shuffling</a>. | |