On 06/01/2010 03:00 PM, Jonathan Morton wrote: >> Or just compare the first 4*sizeof(double) bytes. > > True, though that does rely on the structure order not changing. Since the struct is part of cairo's API, that much is guaranteed. behdad > - Jonathan Morton >