1,295
edits
| Line 270: | Line 270: | ||
enum ContentType { ALPHA, OPAQUE, TRANSPARENT, COMPONENT_ALPHA }; | enum ContentType { ALPHA, OPAQUE, TRANSPARENT, COMPONENT_ALPHA }; | ||
// For DrawImage we don't want to create a full Pattern, and we don't want | |||
// to pass in a FillStyle (the blur in FillStyle is only for the path mask, | |||
// and there's no path in DrawImage), but we do want to set a filter | |||
// and alpha. | |||
class DrawImageOptions : public Options { | class DrawImageOptions : public Options { | ||
Filter mImageFilter; | Filter mImageFilter; | ||
edits