vg

package
Version: v0.0.0-...-ab78217 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2018 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendPath

func AppendPath(
	dstPath uint32,
	srcPath uint32,
)

func AppendPathData

func AppendPathData(
	dstPath uint32,
	numSegments int32,
	pathSegments *uint8,
	pathData unsafe.Pointer,
)

func ChildImage

func ChildImage(
	parent uint32,
	x int32,
	y int32,
	width int32,
	height int32,
) uint32

func Clear

func Clear(
	x int32,
	y int32,
	width int32,
	height int32,
)

func ClearGlyph

func ClearGlyph(
	font uint32,
	glyphIndex uint32,
)

func ClearImage

func ClearImage(
	image uint32,
	x int32,
	y int32,
	width int32,
	height int32,
)

func ClearPath

func ClearPath(
	path uint32,
	capabilities uint32,
)

func ColorMatrix

func ColorMatrix(
	dst uint32,
	src uint32,
	matrix *float32,
)

func Convolve

func Convolve(
	dst uint32,
	src uint32,
	kernelWidth int32,
	kernelHeight int32,
	shiftX int32,
	shiftY int32,
	kernel *int16,
	scale float32,
	bias float32,
	tilingMode TilingModeEnum,
)

func CopyImage

func CopyImage(
	dst uint32,
	dx int32,
	dy int32,
	src uint32,
	sx int32,
	sy int32,
	width int32,
	height int32,
	dither BooleanEnum,
)

func CopyMask

func CopyMask(
	maskLayer uint32,
	dx int32,
	dy int32,
	sx int32,
	sy int32,
	width int32,
	height int32,
)

func CopyPixels

func CopyPixels(
	dx int32,
	dy int32,
	sx int32,
	sy int32,
	width int32,
	height int32,
)

func CreateFont

func CreateFont(
	glyphCapacityHint int32,
) uint32

func CreateImage

func CreateImage(
	format ImageFormatEnum,
	width int32,
	height int32,
	allowedQuality uint32,
) uint32

func CreateMaskLayer

func CreateMaskLayer(
	width int32,
	height int32,
) uint32

func CreatePaint

func CreatePaint() uint32

func CreatePath

func CreatePath(
	pathFormat int32,
	datatype PathDatatypeEnum,
	scale float32,
	bias float32,
	segmentCapacityHint int32,
	coordCapacityHint int32,
	capabilities uint32,
) uint32

func DestroyFont

func DestroyFont(
	font uint32,
)

func DestroyImage

func DestroyImage(
	image uint32,
)

func DestroyMaskLayer

func DestroyMaskLayer(
	maskLayer uint32,
)

func DestroyPaint

func DestroyPaint(
	paint uint32,
)

func DestroyPath

func DestroyPath(
	path uint32,
)

func DrawGlyph

func DrawGlyph(
	font uint32,
	glyphIndex uint32,
	paintModes uint32,
	allowAutoHinting BooleanEnum,
)

func DrawGlyphs

func DrawGlyphs(
	font uint32,
	glyphCount int32,
	glyphIndices *uint32,
	adjustments_x *float32,
	adjustments_y *float32,
	paintModes uint32,
	allowAutoHinting BooleanEnum,
)

func DrawImage

func DrawImage(
	image uint32,
)

func DrawPath

func DrawPath(
	path uint32,
	paintModes uint32,
)

func FillMaskLayer

func FillMaskLayer(
	maskLayer uint32,
	x int32,
	y int32,
	width int32,
	height int32,
	value float32,
)

func Finish

func Finish()

func Flush

func Flush()

func GaussianBlur

func GaussianBlur(
	dst uint32,
	src uint32,
	stdDeviationX float32,
	stdDeviationY float32,
	tilingMode TilingModeEnum,
)

func GetColor

func GetColor(
	paint uint32,
) uint32

func GetImageSubData

func GetImageSubData(
	image uint32,
	data unsafe.Pointer,
	dataStride int32,
	dataFormat ImageFormatEnum,
	x int32,
	y int32,
	width int32,
	height int32,
)

func GetMatrix

func GetMatrix(
	m *float32,
)

func GetPaint

func GetPaint(
	paintMode PaintModeEnum,
) uint32

func GetParameterVectorSize

func GetParameterVectorSize(
	object uint32,
	paramType int32,
) int32

func GetParameterf

func GetParameterf(
	object uint32,
	paramType int32,
) float32

func GetParameterfv

func GetParameterfv(
	object uint32,
	paramType int32,
	count int32,
	values *float32,
)

func GetParameteri

func GetParameteri(
	object uint32,
	paramType int32,
) int32

func GetParameteriv

func GetParameteriv(
	object uint32,
	paramType int32,
	count int32,
	values *int32,
)

func GetParent

func GetParent(
	image uint32,
) uint32

func GetPathCapabilities

func GetPathCapabilities(
	path uint32,
) uint32

func GetPixels

func GetPixels(
	dst uint32,
	dx int32,
	dy int32,
	sx int32,
	sy int32,
	width int32,
	height int32,
)

func GetString

func GetString(
	name StringIDEnum,
) *uint8

func GetVectorSize

func GetVectorSize(
	_type ParamTypeEnum,
) int32

func Getf

func Getf(
	_type ParamTypeEnum,
) float32

func Getfv

func Getfv(
	_type ParamTypeEnum,
	count int32,
	values *float32,
)

func Geti

func Geti(
	_type ParamTypeEnum,
) int32

func Getiv

func Getiv(
	_type ParamTypeEnum,
	count int32,
	values *int32,
)

func ImageSubData

func ImageSubData(
	image uint32,
	data unsafe.Pointer,
	dataStride int32,
	dataFormat ImageFormatEnum,
	x int32,
	y int32,
	width int32,
	height int32,
)

func LoadIdentity

func LoadIdentity()

func LoadMatrix

func LoadMatrix(
	m *float32,
)

func Lookup

func Lookup(
	dst uint32,
	src uint32,
	redLUT *uint8,
	greenLUT *uint8,
	blueLUT *uint8,
	alphaLUT *uint8,
	outputLinear BooleanEnum,
	outputPremultiplied BooleanEnum,
)

func LookupSingle

func LookupSingle(
	dst uint32,
	src uint32,
	lookupTable *uint32,
	sourceChannel ImageChannelEnum,
	outputLinear BooleanEnum,
	outputPremultiplied BooleanEnum,
)

func Mask

func Mask(
	mask uint32,
	operation MaskOperationEnum,
	x int32,
	y int32,
	width int32,
	height int32,
)

func ModifyPathCoords

func ModifyPathCoords(
	dstPath uint32,
	startIndex int32,
	numSegments int32,
	pathData unsafe.Pointer,
)

func MultMatrix

func MultMatrix(
	m *float32,
)

func PaintPattern

func PaintPattern(
	paint uint32,
	pattern uint32,
)

func PathBounds

func PathBounds(
	path uint32,
	minX *float32,
	minY *float32,
	width *float32,
	height *float32,
)

func PathLength

func PathLength(
	path uint32,
	startSegment int32,
	numSegments int32,
) float32

func PathTransformedBounds

func PathTransformedBounds(
	path uint32,
	minX *float32,
	minY *float32,
	width *float32,
	height *float32,
)

func PointAlongPath

func PointAlongPath(
	path uint32,
	startSegment int32,
	numSegments int32,
	distance float32,
	x *float32,
	y *float32,
	tangentX *float32,
	tangentY *float32,
)

func ReadPixels

func ReadPixels(
	data unsafe.Pointer,
	dataStride int32,
	dataFormat ImageFormatEnum,
	sx int32,
	sy int32,
	width int32,
	height int32,
)

func RemovePathCapabilities

func RemovePathCapabilities(
	path uint32,
	capabilities uint32,
)

func RenderToMask

func RenderToMask(
	path uint32,
	paintModes uint32,
	operation MaskOperationEnum,
)

func Rotate

func Rotate(
	angle float32,
)

func Scale

func Scale(
	sx float32,
	sy float32,
)

func SeparableConvolve

func SeparableConvolve(
	dst uint32,
	src uint32,
	kernelWidth int32,
	kernelHeight int32,
	shiftX int32,
	shiftY int32,
	kernelX *int16,
	kernelY *int16,
	scale float32,
	bias float32,
	tilingMode TilingModeEnum,
)

func SetColor

func SetColor(
	paint uint32,
	rgba uint32,
)

func SetGlyphToImage

func SetGlyphToImage(
	font uint32,
	glyphIndex uint32,
	image uint32,
	glyphOrigin [2]float32,
	escapement [2]float32,
)

func SetGlyphToPath

func SetGlyphToPath(
	font uint32,
	glyphIndex uint32,
	path uint32,
	isHinted BooleanEnum,
	glyphOrigin [2]float32,
	escapement [2]float32,
)

func SetPaint

func SetPaint(
	paint uint32,
	paintModes uint32,
)

func SetParameterf

func SetParameterf(
	object uint32,
	paramType int32,
	value float32,
)

func SetParameterfv

func SetParameterfv(
	object uint32,
	paramType int32,
	count int32,
	values *float32,
)

func SetParameteri

func SetParameteri(
	object uint32,
	paramType int32,
	value int32,
)

func SetParameteriv

func SetParameteriv(
	object uint32,
	paramType int32,
	count int32,
	values *int32,
)

func SetPixels

func SetPixels(
	dx int32,
	dy int32,
	src uint32,
	sx int32,
	sy int32,
	width int32,
	height int32,
)

func Setf

func Setf(
	_type ParamTypeEnum,
	value float32,
)

func Setfv

func Setfv(
	_type ParamTypeEnum,
	count int32,
	values *float32,
)

func Seti

func Seti(
	_type ParamTypeEnum,
	value int32,
)

func Setiv

func Setiv(
	_type ParamTypeEnum,
	count int32,
	values *int32,
)

func Shear

func Shear(
	shx float32,
	shy float32,
)

func TransformPath

func TransformPath(
	dstPath uint32,
	srcPath uint32,
)

func Translate

func Translate(
	tx float32,
	ty float32,
)

func WritePixels

func WritePixels(
	data unsafe.Pointer,
	dataStride int32,
	dataFormat ImageFormatEnum,
	dx int32,
	dy int32,
	width int32,
	height int32,
)

Types

type BlendModeEnum

type BlendModeEnum int32
const (
	BlendSrc           BlendModeEnum = 8192
	BlendSrcOver       BlendModeEnum = 8193
	BlendDstOver       BlendModeEnum = 8194
	BlendSrcIn         BlendModeEnum = 8195
	BlendDstIn         BlendModeEnum = 8196
	BlendMultiply      BlendModeEnum = 8197
	BlendScreen        BlendModeEnum = 8198
	BlendDarken        BlendModeEnum = 8199
	BlendLighten       BlendModeEnum = 8200
	BlendAdditive      BlendModeEnum = 8201
	BlendModeForceSize BlendModeEnum = 2147483647
)

type BooleanEnum

type BooleanEnum int32
const (
	False            BooleanEnum = 0
	True             BooleanEnum = 1
	BooleanForceSize BooleanEnum = 2147483647
)

func InterpolatePath

func InterpolatePath(
	dstPath uint32,
	startPath uint32,
	endPath uint32,
	amount float32,
) BooleanEnum

type CapStyleEnum

type CapStyleEnum int32
const (
	CapButt           CapStyleEnum = 5888
	CapRound          CapStyleEnum = 5889
	CapSquare         CapStyleEnum = 5890
	CapStyleForceSize CapStyleEnum = 2147483647
)

type ColorRampSpreadModeEnum

type ColorRampSpreadModeEnum int32
const (
	ColorRampSpreadPad           ColorRampSpreadModeEnum = 7168
	ColorRampSpreadRepeat        ColorRampSpreadModeEnum = 7169
	ColorRampSpreadReflect       ColorRampSpreadModeEnum = 7170
	ColorRampSpreadModeForceSize ColorRampSpreadModeEnum = 2147483647
)

type ErrorCodeEnum

type ErrorCodeEnum int32
const (
	NoError                     ErrorCodeEnum = 0
	BadHandleError              ErrorCodeEnum = 4096
	IllegalArgumentError        ErrorCodeEnum = 4097
	OutOfMemoryError            ErrorCodeEnum = 4098
	PathCapabilityError         ErrorCodeEnum = 4099
	UnsupportedImageFormatError ErrorCodeEnum = 4100
	UnsupportedPathFormatError  ErrorCodeEnum = 4101
	ImageInUseError             ErrorCodeEnum = 4102
	NoContextError              ErrorCodeEnum = 4103
	ErrorCodeForceSize          ErrorCodeEnum = 2147483647
)

func GetError

func GetError() ErrorCodeEnum

type FillRuleEnum

type FillRuleEnum int32
const (
	EvenOdd           FillRuleEnum = 6400
	NonZero           FillRuleEnum = 6401
	FillRuleForceSize FillRuleEnum = 2147483647
)

type FontParamTypeEnum

type FontParamTypeEnum int32
const (
	FontNumGlyphs          FontParamTypeEnum = 12032
	FontParamTypeForceSize FontParamTypeEnum = 2147483647
)

type HardwareQueryResultEnum

type HardwareQueryResultEnum int32
const (
	HardwareAccelerated          HardwareQueryResultEnum = 8704
	HardwareUnaccelerated        HardwareQueryResultEnum = 8705
	HardwareQueryResultForceSize HardwareQueryResultEnum = 2147483647
)

func HardwareQuery

func HardwareQuery(
	key HardwareQueryTypeEnum,
	setting int32,
) HardwareQueryResultEnum

type HardwareQueryTypeEnum

type HardwareQueryTypeEnum int32
const (
	ImageFormatQuery           HardwareQueryTypeEnum = 8448
	PathDatatypeQuery          HardwareQueryTypeEnum = 8449
	HardwareQueryTypeForceSize HardwareQueryTypeEnum = 2147483647
)

type ImageChannelEnum

type ImageChannelEnum int32
const (
	Red                   ImageChannelEnum = 8
	Green                 ImageChannelEnum = 4
	Blue                  ImageChannelEnum = 2
	Alpha                 ImageChannelEnum = 1
	ImageChannelForceSize ImageChannelEnum = 2147483647
)

type ImageFormatEnum

type ImageFormatEnum int32
const (
	Srgbx8888            ImageFormatEnum = 0
	Srgba8888            ImageFormatEnum = 1
	Srgba8888Pre         ImageFormatEnum = 2
	Srgb565              ImageFormatEnum = 3
	Srgba5551            ImageFormatEnum = 4
	Srgba4444            ImageFormatEnum = 5
	Sl8                  ImageFormatEnum = 6
	Lrgbx8888            ImageFormatEnum = 7
	Lrgba8888            ImageFormatEnum = 8
	Lrgba8888Pre         ImageFormatEnum = 9
	Ll8                  ImageFormatEnum = 10
	A8                   ImageFormatEnum = 11
	Bw1                  ImageFormatEnum = 12
	A1                   ImageFormatEnum = 13
	A4                   ImageFormatEnum = 14
	Sxrgb8888            ImageFormatEnum = 64
	Sargb8888            ImageFormatEnum = 65
	Sargb8888Pre         ImageFormatEnum = 66
	Sargb1555            ImageFormatEnum = 68
	Sargb4444            ImageFormatEnum = 69
	Lxrgb8888            ImageFormatEnum = 71
	Largb8888            ImageFormatEnum = 72
	Largb8888Pre         ImageFormatEnum = 73
	Sbgrx8888            ImageFormatEnum = 128
	Sbgra8888            ImageFormatEnum = 129
	Sbgra8888Pre         ImageFormatEnum = 130
	Sbgr565              ImageFormatEnum = 131
	Sbgra5551            ImageFormatEnum = 132
	Sbgra4444            ImageFormatEnum = 133
	Lbgrx8888            ImageFormatEnum = 135
	Lbgra8888            ImageFormatEnum = 136
	Lbgra8888Pre         ImageFormatEnum = 137
	Sxbgr8888            ImageFormatEnum = 192
	Sabgr8888            ImageFormatEnum = 193
	Sabgr8888Pre         ImageFormatEnum = 194
	Sabgr1555            ImageFormatEnum = 196
	Sabgr4444            ImageFormatEnum = 197
	Lxbgr8888            ImageFormatEnum = 199
	Labgr8888            ImageFormatEnum = 200
	Labgr8888Pre         ImageFormatEnum = 201
	ImageFormatForceSize ImageFormatEnum = 2147483647
)

type ImageModeEnum

type ImageModeEnum int32
const (
	DrawImageNormal    ImageModeEnum = 7936
	DrawImageMultiply  ImageModeEnum = 7937
	DrawImageStencil   ImageModeEnum = 7938
	ImageModeForceSize ImageModeEnum = 2147483647
)

type ImageParamTypeEnum

type ImageParamTypeEnum int32
const (
	ImageFormat             ImageParamTypeEnum = 7680
	ImageWidth              ImageParamTypeEnum = 7681
	ImageHeight             ImageParamTypeEnum = 7682
	ImageParamTypeForceSize ImageParamTypeEnum = 2147483647
)

type ImageQualityEnum

type ImageQualityEnum int32
const (
	ImageQualityNonantialiased ImageQualityEnum = 1
	ImageQualityFaster         ImageQualityEnum = 2
	ImageQualityBetter         ImageQualityEnum = 4
	ImageQualityForceSize      ImageQualityEnum = 2147483647
)

type JoinStyleEnum

type JoinStyleEnum int32
const (
	JoinMiter          JoinStyleEnum = 6144
	JoinRound          JoinStyleEnum = 6145
	JoinBevel          JoinStyleEnum = 6146
	JoinStyleForceSize JoinStyleEnum = 2147483647
)

type MaskOperationEnum

type MaskOperationEnum int32
const (
	ClearMask              MaskOperationEnum = 5376
	FillMask               MaskOperationEnum = 5377
	SetMask                MaskOperationEnum = 5378
	UnionMask              MaskOperationEnum = 5379
	IntersectMask          MaskOperationEnum = 5380
	SubtractMask           MaskOperationEnum = 5381
	MaskOperationForceSize MaskOperationEnum = 2147483647
)

type MatrixModeEnum

type MatrixModeEnum int32
const (
	MatrixPathUserToSurface  MatrixModeEnum = 5120
	MatrixImageUserToSurface MatrixModeEnum = 5121
	MatrixFillPaintToUser    MatrixModeEnum = 5122
	MatrixStrokePaintToUser  MatrixModeEnum = 5123
	MatrixGlyphUserToSurface MatrixModeEnum = 5124
	MatrixModeForceSize      MatrixModeEnum = 2147483647
)

type PaintModeEnum

type PaintModeEnum int32
const (
	StrokePath         PaintModeEnum = 1
	FillPath           PaintModeEnum = 2
	PaintModeForceSize PaintModeEnum = 2147483647
)

type PaintParamTypeEnum

type PaintParamTypeEnum int32
const (
	PaintType                   PaintParamTypeEnum = 6656
	PaintColor                  PaintParamTypeEnum = 6657
	PaintColorRampSpreadMode    PaintParamTypeEnum = 6658
	PaintColorRampPremultiplied PaintParamTypeEnum = 6663
	PaintColorRampStops         PaintParamTypeEnum = 6659
	PaintLinearGradient         PaintParamTypeEnum = 6660
	PaintRadialGradient         PaintParamTypeEnum = 6661
	PaintPatternTilingMode      PaintParamTypeEnum = 6662
	PaintParamTypeForceSize     PaintParamTypeEnum = 2147483647
)

type PaintTypeEnum

type PaintTypeEnum int32
const (
	PaintTypeColor          PaintTypeEnum = 6912
	PaintTypeLinearGradient PaintTypeEnum = 6913
	PaintTypeRadialGradient PaintTypeEnum = 6914
	PaintTypePattern        PaintTypeEnum = 6915
	PaintTypeForceSize      PaintTypeEnum = 2147483647
)

type ParamTypeEnum

type ParamTypeEnum int32
const (
	MatrixMode                ParamTypeEnum = 4352
	FillRule                  ParamTypeEnum = 4353
	ImageQuality              ParamTypeEnum = 4354
	RenderingQuality          ParamTypeEnum = 4355
	BlendMode                 ParamTypeEnum = 4356
	ImageMode                 ParamTypeEnum = 4357
	ScissorRects              ParamTypeEnum = 4358
	ColorTransform            ParamTypeEnum = 4464
	ColorTransformValues      ParamTypeEnum = 4465
	StrokeLineWidth           ParamTypeEnum = 4368
	StrokeCapStyle            ParamTypeEnum = 4369
	StrokeJoinStyle           ParamTypeEnum = 4370
	StrokeMiterLimit          ParamTypeEnum = 4371
	StrokeDashPattern         ParamTypeEnum = 4372
	StrokeDashPhase           ParamTypeEnum = 4373
	StrokeDashPhaseReset      ParamTypeEnum = 4374
	TileFillColor             ParamTypeEnum = 4384
	ClearColor                ParamTypeEnum = 4385
	GlyphOrigin               ParamTypeEnum = 4386
	Masking                   ParamTypeEnum = 4400
	Scissoring                ParamTypeEnum = 4401
	PixelLayout               ParamTypeEnum = 4416
	ScreenLayout              ParamTypeEnum = 4417
	FilterFormatLinear        ParamTypeEnum = 4432
	FilterFormatPremultiplied ParamTypeEnum = 4433
	FilterChannelMask         ParamTypeEnum = 4434
	MaxScissorRects           ParamTypeEnum = 4448
	MaxDashCount              ParamTypeEnum = 4449
	MaxKernelSize             ParamTypeEnum = 4450
	MaxSeparableKernelSize    ParamTypeEnum = 4451
	MaxColorRampStops         ParamTypeEnum = 4452
	MaxImageWidth             ParamTypeEnum = 4453
	MaxImageHeight            ParamTypeEnum = 4454
	MaxImagePixels            ParamTypeEnum = 4455
	MaxImageBytes             ParamTypeEnum = 4456
	MaxFloat                  ParamTypeEnum = 4457
	MaxGaussianStdDeviation   ParamTypeEnum = 4458
	ParamTypeForceSize        ParamTypeEnum = 2147483647
)

type PathAbsRelEnum

type PathAbsRelEnum int32
const (
	Absolute            PathAbsRelEnum = 0
	Relative            PathAbsRelEnum = 1
	PathAbsRelForceSize PathAbsRelEnum = 2147483647
)

type PathCapabilitiesEnum

type PathCapabilitiesEnum int32
const (
	PathCapabilityAppendFrom            PathCapabilitiesEnum = 1
	PathCapabilityAppendTo              PathCapabilitiesEnum = 2
	PathCapabilityModify                PathCapabilitiesEnum = 4
	PathCapabilityTransformFrom         PathCapabilitiesEnum = 8
	PathCapabilityTransformTo           PathCapabilitiesEnum = 16
	PathCapabilityInterpolateFrom       PathCapabilitiesEnum = 32
	PathCapabilityInterpolateTo         PathCapabilitiesEnum = 64
	PathCapabilityPathLength            PathCapabilitiesEnum = 128
	PathCapabilityPointAlongPath        PathCapabilitiesEnum = 256
	PathCapabilityTangentAlongPath      PathCapabilitiesEnum = 512
	PathCapabilityPathBounds            PathCapabilitiesEnum = 1024
	PathCapabilityPathTransformedBounds PathCapabilitiesEnum = 2048
	PathCapabilityAll                   PathCapabilitiesEnum = 4095
	PathCapabilitiesForceSize           PathCapabilitiesEnum = 2147483647
)

type PathCommandEnum

type PathCommandEnum int32
const (
	MoveToAbs            PathCommandEnum = 2
	MoveToRel            PathCommandEnum = 3
	LineToAbs            PathCommandEnum = 4
	LineToRel            PathCommandEnum = 5
	HlineToAbs           PathCommandEnum = 6
	HlineToRel           PathCommandEnum = 7
	VlineToAbs           PathCommandEnum = 8
	VlineToRel           PathCommandEnum = 9
	QuadToAbs            PathCommandEnum = 10
	QuadToRel            PathCommandEnum = 11
	CubicToAbs           PathCommandEnum = 12
	CubicToRel           PathCommandEnum = 13
	SquadToAbs           PathCommandEnum = 14
	SquadToRel           PathCommandEnum = 15
	ScubicToAbs          PathCommandEnum = 16
	ScubicToRel          PathCommandEnum = 17
	SccwarcToAbs         PathCommandEnum = 18
	SccwarcToRel         PathCommandEnum = 19
	ScwarcToAbs          PathCommandEnum = 20
	ScwarcToRel          PathCommandEnum = 21
	LccwarcToAbs         PathCommandEnum = 22
	LccwarcToRel         PathCommandEnum = 23
	LcwarcToAbs          PathCommandEnum = 24
	LcwarcToRel          PathCommandEnum = 25
	PathCommandForceSize PathCommandEnum = 2147483647
)

type PathDatatypeEnum

type PathDatatypeEnum int32
const (
	PathDatatypeS8        PathDatatypeEnum = 0
	PathDatatypeS16       PathDatatypeEnum = 1
	PathDatatypeS32       PathDatatypeEnum = 2
	PathDatatypeF         PathDatatypeEnum = 3
	PathDatatypeForceSize PathDatatypeEnum = 2147483647
)

type PathParamTypeEnum

type PathParamTypeEnum int32
const (
	PathFormat             PathParamTypeEnum = 5632
	PathDatatype           PathParamTypeEnum = 5633
	PathScale              PathParamTypeEnum = 5634
	PathBias               PathParamTypeEnum = 5635
	PathNumSegments        PathParamTypeEnum = 5636
	PathNumCoords          PathParamTypeEnum = 5637
	PathParamTypeForceSize PathParamTypeEnum = 2147483647
)

type PathSegmentEnum

type PathSegmentEnum int32
const (
	ClosePath            PathSegmentEnum = 0
	MoveTo               PathSegmentEnum = 2
	LineTo               PathSegmentEnum = 4
	HlineTo              PathSegmentEnum = 6
	VlineTo              PathSegmentEnum = 8
	QuadTo               PathSegmentEnum = 10
	CubicTo              PathSegmentEnum = 12
	SquadTo              PathSegmentEnum = 14
	ScubicTo             PathSegmentEnum = 16
	SccwarcTo            PathSegmentEnum = 18
	ScwarcTo             PathSegmentEnum = 20
	LccwarcTo            PathSegmentEnum = 22
	LcwarcTo             PathSegmentEnum = 24
	PathSegmentForceSize PathSegmentEnum = 2147483647
)

type PixelLayoutEnum

type PixelLayoutEnum int32
const (
	PixelLayoutUnknown       PixelLayoutEnum = 4864
	PixelLayoutRgbVertical   PixelLayoutEnum = 4865
	PixelLayoutBgrVertical   PixelLayoutEnum = 4866
	PixelLayoutRgbHorizontal PixelLayoutEnum = 4867
	PixelLayoutBgrHorizontal PixelLayoutEnum = 4868
	PixelLayoutForceSize     PixelLayoutEnum = 2147483647
)

type RenderingQualityEnum

type RenderingQualityEnum int32
const (
	RenderingQualityNonantialiased RenderingQualityEnum = 4608
	RenderingQualityFaster         RenderingQualityEnum = 4609
	RenderingQualityBetter         RenderingQualityEnum = 4610
	RenderingQualityForceSize      RenderingQualityEnum = 2147483647
)

type StringIDEnum

type StringIDEnum int32
const (
	Vendor            StringIDEnum = 8960
	Renderer          StringIDEnum = 8961
	Version           StringIDEnum = 8962
	Extensions        StringIDEnum = 8963
	StringIdForceSize StringIDEnum = 2147483647
)

type TilingModeEnum

type TilingModeEnum int32
const (
	TileFill            TilingModeEnum = 7424
	TilePad             TilingModeEnum = 7425
	TileRepeat          TilingModeEnum = 7426
	TileReflect         TilingModeEnum = 7427
	TilingModeForceSize TilingModeEnum = 2147483647
)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL