The OpenD Programming Language

Surface.getMimeData

Return mime data previously attached to surface using the specified mime type. If no data has been attached with the given mime type, data is set null.

class Surface
void
getMimeData
(
string type
,
out ubyte* data
,
out ulong length
)

Parameters

type string

the mime type of the image data

TODO: More D-like API

Note: Only use this if you know what your doing! Make sure you get memory management of the data right!

Meta