User Guide
API Reference
ink::Surface
~Surface()
beginFrame()
canvas()
endFrame()
flush()
getPixelData()
isGPU()
makeSnapshot()
peekPixels()
resize()
setGlyphCache()
takeRecording()
MakeGpu()
MakeRaster()
MakeRasterDirect()
MakeRecording()
ink::Canvas
draw()
drawPath()
drawImageRect()
Canvas()
clipPath()
clipRect()
concat()
drawImage()
drawLine()
drawPolyline()
drawText()
fillCircle()
fillRect()
fillRoundRect()
getMatrix()
restore()
rotate()
save()
scale()
setMatrix()
strokeCircle()
strokeRect()
strokeRoundRect()
translate()
ink::Path
moveTo()
lineTo()
quadTo()
cubicTo()
conicTo()
close()
rLineTo()
rQuadTo()
rCubicTo()
addRect()
addOval()
addCircle()
addRoundRect()
addArc()
addPoly()
addPath()
verbs()
points()
conicWeights()
fillRule()
setFillRule()
bounds()
contains()
getDirection()
direction()
isEmpty()
countVerbs()
countPoints()
isConvex()
reset()
transform()
transformed()
offset()
Verb
Path()
FillRule
Winding
EvenOdd
PathDirection
CW
CCW
LineCap
Butt
Round
Square
LineJoin
Miter
Bevel
ink::PathEffect
~PathEffect()
filterPath()
ink::PathEffects
MakeDash()
ink::Image
StorageType
backendTextureHandle()
format()
glTextureId()
height()
info()
isCpuBacked()
isGpuBacked()
pixels()
pixels32()
storageType()
stride()
uniqueId()
valid()
width()
MakeFromBackendTexture()
MakeFromGLTexture()
MakeFromPixmap()
MakeFromPixmapNoCopy()
ink::Pixmap
Pixmap()
~Pixmap()
addr()
addr32()
addr8()
clear()
operator=()
reallocate()
rowAddr()
Alloc()
Wrap()
ink::PixmapInfo
bytesPerPixel()
computeByteSize()
format
height
stride
width
Make()
MakeBGRA()
MakeRGBA()
PixelFormat
RGBA8888
BGRA8888
ink::Recording
Recording()
accept()
arena()
colorFilters()
dispatch()
getColorFilter()
getImage()
getPath()
getShader()
images()
ops()
paths()
shaders()
ink::Recorder
clearClip()
clearTransform()
fillPath()
finish()
setClip()
setClipPath()
setTransform()
strokePath()
ink::DrawOpArena
DrawOpArena()
allocate()
getPoints()
getRectPair()
getRoundRect()
getString()
storeMatrix()
storePoints()
storeRectPair()
storeRoundRect()
storeString()
ink::GpuContext
execute()
readPixels()
textureId()
fboId()
~GpuContext()
ink::GlyphCache
~GlyphCache()
ascent()
atlasData()
atlasDirty()
atlasHeight()
atlasWidth()
getGlyph()
init()
lineHeight()
markClean()
measureText()
release()
ink::GlyphMetrics
advance
u0
u1
v0
v1
x0
x1
y0
y1
ink::Point
x
y
ink::Rect
h
w
ink::Color
a
b
g
r
A 2D point with floating-point coordinates.
Public Members
X coordinate.
Y coordinate.
An axis-aligned rectangle defined by position and size.
Height.
Width.
Left edge X coordinate.
Top edge Y coordinate.
An RGBA color with 8-bit components.
Alpha component (0–255), default opaque.
Blue component (0–255).
Green component (0–255).
Red component (0–255).