Documentation
¶
Overview ¶
* Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Canvas ¶
type Canvas struct {
// contains filtered or unexported fields
}
//////////////////////////////////////////////////////////////////////// Canvas ////////////////////////////////////////////////////////////////////////
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
//////////////////////////////////////////////////////////////////////// Image ////////////////////////////////////////////////////////////////////////
type Paint ¶
type Paint struct {
// contains filtered or unexported fields
}
//////////////////////////////////////////////////////////////////////// Paint ////////////////////////////////////////////////////////////////////////
func (*Paint) SetAntiAlias ¶
func (*Paint) SetStrokeWidth ¶
type Path ¶
type Path struct {
// contains filtered or unexported fields
}
//////////////////////////////////////////////////////////////////////// Path ////////////////////////////////////////////////////////////////////////
type PixelGeometry ¶
type PixelGeometry uint32
const ( UNKNOWN_SK_PIXELGEOMETRY PixelGeometry = 0x0 RGB_H_SK_PIXELGEOMETRY PixelGeometry = 0x1 BGR_H_SK_PIXELGEOMETRY PixelGeometry = 0x2 RGB_V_SK_PIXELGEOMETRY PixelGeometry = 0x3 BGR_V_SK_PIXELGEOMETRY PixelGeometry = 0x4 )
type Surface ¶
type Surface struct {
// contains filtered or unexported fields
}
//////////////////////////////////////////////////////////////////////// Surface ////////////////////////////////////////////////////////////////////////
func NewRasterSurface ¶
func NewRasterSurface(width, height int32, alphaType AlphaType) (*Surface, error) {
type SurfaceProps ¶
type SurfaceProps struct {
PixelGeometry PixelGeometry
}