Finish the pattern definition. Returns TRUE on success or FALSE on failure.
See also pdf_begin_pattern().