Skia
2D Graphics Library
SkSurfaceProps.h File Reference
#include "include/core/SkTypes.h"
#include "include/private/base/SkTo.h"
Include dependency graph for SkSurfaceProps.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SkSurfaceProps
 Describes properties and constraints of a given SkSurface. More...
 

Enumerations

enum  SkPixelGeometry {
  kUnknown_SkPixelGeometry , kRGB_H_SkPixelGeometry , kBGR_H_SkPixelGeometry , kRGB_V_SkPixelGeometry ,
  kBGR_V_SkPixelGeometry
}
 Description of how the LCD strips are arranged for each pixel. More...
 

Functions

static bool SkPixelGeometryIsRGB (SkPixelGeometry geo)
 
static bool SkPixelGeometryIsBGR (SkPixelGeometry geo)
 
static bool SkPixelGeometryIsH (SkPixelGeometry geo)
 
static bool SkPixelGeometryIsV (SkPixelGeometry geo)
 

Enumeration Type Documentation

◆ SkPixelGeometry

Description of how the LCD strips are arranged for each pixel.

If this is unknown, or the pixels are meant to be "portable" and/or transformed before showing (e.g. rotated, scaled) then use kUnknown_SkPixelGeometry.

Enumerator
kUnknown_SkPixelGeometry 
kRGB_H_SkPixelGeometry 
kBGR_H_SkPixelGeometry 
kRGB_V_SkPixelGeometry 
kBGR_V_SkPixelGeometry 

Function Documentation

◆ SkPixelGeometryIsBGR()

static bool SkPixelGeometryIsBGR ( SkPixelGeometry  geo)
inlinestatic

◆ SkPixelGeometryIsH()

static bool SkPixelGeometryIsH ( SkPixelGeometry  geo)
inlinestatic

◆ SkPixelGeometryIsRGB()

static bool SkPixelGeometryIsRGB ( SkPixelGeometry  geo)
inlinestatic

◆ SkPixelGeometryIsV()

static bool SkPixelGeometryIsV ( SkPixelGeometry  geo)
inlinestatic