The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
textAlign
arsd
nanovega
Gets the text align of current text style, see
NVGTextAlign
for options.
void
textAlign
(NVGContext ctx, NVGTextAlign talign)
void
textAlign
(NVGContext ctx, NVGTextAlign.H h)
void
textAlign
(NVGContext ctx, NVGTextAlign.V v)
void
textAlign
(NVGContext ctx, NVGTextAlign.H h, NVGTextAlign.V v)
void
textAlign
(NVGContext ctx, NVGTextAlign.V v, NVGTextAlign.H h)
NVGTextAlign
textAlign
(NVGContext ctx)
nothrow @
trusted
@
nogc
NVGTextAlign
textAlign
(
NVGContext
ctx
)
See Also
text_api
Meta
Source
See Implementation
arsd
nanovega
aliases
FONSContext
NVGContext
nvgHSL
enums
NVGBlendFactor
NVGClipMode
NVGCompositeOperation
NVGImageFlag
NVGLineCap
NVGSolidity
NVGTesselation
NVGWinding
functions
affineGPU
asPaint
beginFrame
boxGradient
canRestore
canSave
cancelFrame
createImage
createImageFromMemoryImage
createImageMem
createImageRGBA
createLinearGradientWithStops
currTransform
deleteImage
devicePixelRatio
endFrame
evenOddFill
fillColor
fillPaint
fonsContext
fonsScale
globalAlpha
globalCompositeBlendFunc
globalCompositeBlendFuncSeparate
globalCompositeOperation
gpuUntransformPoint
height
imagePattern
imageSize
inFrame
intersectScissor
kill
lineCap
lineJoin
linearGradient
miterLimit
nonZeroFill
nvgClampToByte
nvgDegToRad
nvgHSLA
nvgLerpRGBA
nvgRGB
nvgRGBA
nvgRGBAf
nvgRGBf
nvgRadToDeg
nvgTransRGBA
nvgTransRGBAf
pickid
pickmode
radialGradient
renderBlocked
renderPathComplex
renderPathCount
renderPathFillVertices
renderPathStrokeVertices
renderPathWinding
replayRecording
reset
resetScissor
resetTransform
restore
rotate
save
scale
scissor
setLineDash
setLineDashStart
setRenderBlocked
setupCtxFrom
setupFonsFrom
shapeAntiAlias
skewX
skewY
strokeColor
strokePaint
strokeWidth
tesselation
transform
translate
updateImage
valid
width
manifest constants
NVGNoPick
NVG_KAPPA90
scriptable
static variables
NVG_DEFAULT_TESSELATOR
structs
NVGColor
NVGCompositeOperationState
NVGGlyphPosition
NVGGradientStop
NVGHSL
NVGImage
NVGLGS
NVGMatrix
NVGPaint
NVGTextAlign
NVGTextRow
NVGVertex
Gets the text align of current text style, see NVGTextAlign for options.