GrSurfaceOrigin

class GrSurfaceOrigin

GPU Image and Surfaces can be stored such that (0, 0) in texture space may correspond to either the top-left or bottom-left content pixel.

Members:

kTopLeft_GrSurfaceOrigin

kBottomLeft_GrSurfaceOrigin

Methods

__init__

Attributes

kBottomLeft_GrSurfaceOrigin

kTopLeft_GrSurfaceOrigin

name

value

Methods

GrSurfaceOrigin.__init__(self: skia.GrSurfaceOrigin, value: int) None

Attributes

GrSurfaceOrigin.kBottomLeft_GrSurfaceOrigin = <GrSurfaceOrigin.kBottomLeft_GrSurfaceOrigin: 1>
GrSurfaceOrigin.kTopLeft_GrSurfaceOrigin = <GrSurfaceOrigin.kTopLeft_GrSurfaceOrigin: 0>
GrSurfaceOrigin.name
GrSurfaceOrigin.value