]> granicus.if.org Git - graphviz/commit
Quartz: correctly handle other bitmap formats in iOS
authorGlen Low <glen.low@pixelglow.com>
Thu, 5 Dec 2013 15:39:19 +0000 (23:39 +0800)
committerGlen Low <glen.low@pixelglow.com>
Thu, 5 Dec 2013 22:56:00 +0000 (06:56 +0800)
commit11f399bf2033520a14493d3667fd8792e45b828c
tree5e1765a116e452d4e4d2aa567df396b6e012c472
parenta2b9c42cbd41d722aa4b37a728fd97bd394f1068
Quartz: correctly handle other bitmap formats in iOS

* On iOS, temp scratch files were memory mapped for all bitmap formats but only cleaned up for FORMAT_CGIMAGE. This fixes that and cleans up the surrounding code flow.

* Don't use job external context to determine whether to render FORMAT_CGIMAGE. The format + job context is sufficient for rendition.

* This also fixes export PDF warnings: bitmap context functions had been called on PDF context.
plugin/quartz/gvrender_quartz.c