dock using cairo