public static bool IsHorizontal(this SKPixelGeometry pg) => pg == SKPixelGeometry.BgrHorizontal || pg == SKPixelGeometry.RgbHorizontal;
public static bool IsRgb(this SKPixelGeometry pg) => pg == SKPixelGeometry.RgbHorizontal || pg == SKPixelGeometry.RgbVertical;
public static bool IsVertical(this SKPixelGeometry pg) => pg == SKPixelGeometry.BgrVertical || pg == SKPixelGeometry.RgbVertical;
public SKSurfaceProperties(SKSurfacePropsFlags flags, SKPixelGeometry pixelGeometry) : this(SkiaApi.sk_surfaceprops_new((uint)flags, pixelGeometry), true) { }
public static bool IsBgr(this SKPixelGeometry pg) => pg == SKPixelGeometry.BgrHorizontal || pg == SKPixelGeometry.BgrVertical;
public SKSurfaceProperties(SKPixelGeometry pixelGeometry) : this((uint)0, pixelGeometry) { }
public static bool IsHorizontal(this SKPixelGeometry pg) { return(pg == SKPixelGeometry.BgrHorizontal || pg == SKPixelGeometry.RgbHorizontal); }
public static bool IsVertical(this SKPixelGeometry pg) { return(pg == SKPixelGeometry.BgrVertical || pg == SKPixelGeometry.RgbVertical); }
public static bool IsRgb(this SKPixelGeometry pg) { return(pg == SKPixelGeometry.RgbHorizontal || pg == SKPixelGeometry.RgbVertical); }
public static bool IsBgr(this SKPixelGeometry pg) { return(pg == SKPixelGeometry.BgrHorizontal || pg == SKPixelGeometry.BgrVertical); }