Flutter Engine
The Flutter Engine
Public Attributes | List of all members
SkEncoder::Frame Struct Reference

#include <SkEncoder.h>

Public Attributes

SkPixmap pixmap
 
int duration
 

Detailed Description

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.

Definition at line 28 of file SkEncoder.h.

Member Data Documentation

◆ duration

int SkEncoder::Frame::duration

Duration of the frame in millseconds.

Definition at line 36 of file SkEncoder.h.

◆ pixmap

SkPixmap SkEncoder::Frame::pixmap

Pixmap of the frame.

Definition at line 32 of file SkEncoder.h.


The documentation for this struct was generated from the following file: