8x8 Matrix with 74HC595

Thanks for reply! I took code from ASKManualRev3.pdf... can it be for example if i use common anode instead of common cathod matrix? They did not mentioned what tipe of matrix they used in book...