class SK_API SkEncoder : SkNoncopyable { public: /** * A single frame to be encoded into an animated image. * * If a frame does not fit in the canvas size, this is an error. * TODO(skia:13705): Add offsets when we have support for an encoder that supports using * offsets.
*/ struct SK_API Frame { /** * Pixmap of the frame.
*/
SkPixmap pixmap; /** * Duration of the frame in millseconds.
*/ int duration;
};
/** * Encode |numRows| rows of input. If the caller requests more rows than are remaining * in the src, this will encode all of the remaining rows. |numRows| must be greater * than zero.
*/ bool encodeRows(int numRows);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.