| 61 | } |
| 62 | |
| 63 | ptrdiff_t SurfaceConstraintsCairo::getRowBytes( int requestedWidth, const SurfaceChannelOrder &sco, int elementSize ) const { |
| 64 | return cairo_format_stride_for_width( sco.hasAlpha() ? CAIRO_FORMAT_ARGB32 : CAIRO_FORMAT_RGB24, requestedWidth ); |
| 65 | } |
| 66 | |
| 67 | } // namespace cinder |
| 68 |