Skia
2D Graphics Library
|
Describes properties and constraints of a given SkSurface. More...
#include <SkSurfaceProps.h>
Public Types | |
enum | Flags { kUseDeviceIndependentFonts_Flag = 1 << 0 , kDynamicMSAA_Flag = 1 << 1 , kAlwaysDither_Flag = 1 << 2 } |
Public Member Functions | |
SkSurfaceProps () | |
No flags, unknown pixel geometry. More... | |
SkSurfaceProps (uint32_t flags, SkPixelGeometry) | |
SkSurfaceProps (const SkSurfaceProps &)=default | |
SkSurfaceProps & | operator= (const SkSurfaceProps &)=default |
SkSurfaceProps | cloneWithPixelGeometry (SkPixelGeometry newPixelGeometry) const |
uint32_t | flags () const |
SkPixelGeometry | pixelGeometry () const |
bool | isUseDeviceIndependentFonts () const |
bool | isAlwaysDither () const |
bool | operator== (const SkSurfaceProps &that) const |
bool | operator!= (const SkSurfaceProps &that) const |
Describes properties and constraints of a given SkSurface.
The rendering engine can parse these during drawing, and can sometimes optimize its performance (e.g. disabling an expensive feature).
SkSurfaceProps::SkSurfaceProps | ( | ) |
No flags, unknown pixel geometry.
SkSurfaceProps::SkSurfaceProps | ( | uint32_t | flags, |
SkPixelGeometry | |||
) |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
inline |
|
inline |