Index
Modules:
impeller
,
impeller/bindings/impeller_api
,
impeller/canvas
,
impeller/text
.
API symbols
addGradientPoint:
canvas: proc addGradientPoint(gradient: var LinearGradient; color: ColorRGBA; position: cfloat)
canvas: proc addGradientPoint(gradient: var LinearGradient; color: string; position: float32)
CircleShape:
canvas: object CircleShape
drawCircle:
canvas: proc drawCircle(builder: ImpellerDisplayListBuilder; circle: CircleShape; paint: ImpellerPaint)
drawGradient:
canvas: proc drawGradient(builder: ImpellerDisplayListBuilder; gradient: var LinearGradient)
drawParagraph:
text: proc drawParagraph(builder: ImpellerDisplayListBuilder; para: Paragraph; x, y: float32 = 0.0)
drawRect:
canvas: proc drawRect(builder: ImpellerDisplayListBuilder; rect: RectShape; color: ColorRGBA)
canvas: proc drawRect(builder: ImpellerDisplayListBuilder; rect: RectShape; color: string)
FontStyle:
text: type FontStyle
FontWeight:
text: type FontWeight
getHeight:
text: proc getHeight(p: Paragraph): float32
getWidth:
text: proc getWidth(p: Paragraph): float32
GradientColor:
canvas: object GradientColor
ImpellerBlendMode:
impeller_api: enum ImpellerBlendMode
ImpellerBlurStyle:
impeller_api: enum ImpellerBlurStyle
ImpellerCallback:
impeller_api: type ImpellerCallback
ImpellerClipOperation:
impeller_api: enum ImpellerClipOperation
ImpellerColor:
impeller_api: object ImpellerColor
ImpellerColorFilter:
impeller_api: type ImpellerColorFilter
ImpellerColorFilterCreateBlendNew:
impeller_api: proc ImpellerColorFilterCreateBlendNew(color: ptr ImpellerColor; blend_mode: ImpellerBlendMode): ImpellerColorFilter
ImpellerColorFilterCreateColorMatrixNew:
impeller_api: proc ImpellerColorFilterCreateColorMatrixNew(color_matrix: ptr ImpellerColorMatrix): ImpellerColorFilter
ImpellerColorFilterRelease:
impeller_api: proc ImpellerColorFilterRelease(color_filter: ImpellerColorFilter)
ImpellerColorFilterRetain:
impeller_api: proc ImpellerColorFilterRetain(color_filter: ImpellerColorFilter)
ImpellerColorMatrix:
impeller_api: object ImpellerColorMatrix
ImpellerColorSource:
impeller_api: type ImpellerColorSource
ImpellerColorSourceCreateConicalGradientNew:
impeller_api: proc ImpellerColorSourceCreateConicalGradientNew(start_center: ptr ImpellerPoint; start_radius: cfloat; end_center: ptr ImpellerPoint; end_radius: cfloat; stop_count: uint32; colors: ptr ImpellerColor; stops: ptr cfloat; tile_mode: ImpellerTileMode; transformation: ptr ImpellerMatrix): ImpellerColorSource
ImpellerColorSourceCreateFragmentProgramNew:
impeller_api: proc ImpellerColorSourceCreateFragmentProgramNew(context: ImpellerContext; fragment_program: ImpellerFragmentProgram; samplers: ptr ImpellerTexture; samplers_count: csize_t; data: ptr uint8; data_bytes_length: csize_t): ImpellerColorSource
ImpellerColorSourceCreateImageNew:
impeller_api: proc ImpellerColorSourceCreateImageNew(image: ImpellerTexture; horizontal_tile_mode: ImpellerTileMode; vertical_tile_mode: ImpellerTileMode; sampling: ImpellerTextureSampling; transformation: ptr ImpellerMatrix): ImpellerColorSource
ImpellerColorSourceCreateLinearGradientNew:
impeller_api: proc ImpellerColorSourceCreateLinearGradientNew(start_point: ptr ImpellerPoint; end_point: ptr ImpellerPoint; stop_count: uint32; colors: ptr ImpellerColor; stops: ptr cfloat; tile_mode: ImpellerTileMode; transformation: ptr ImpellerMatrix): ImpellerColorSource
ImpellerColorSourceCreateRadialGradientNew:
impeller_api: proc ImpellerColorSourceCreateRadialGradientNew(center: ptr ImpellerPoint; radius: cfloat; stop_count: uint32; colors: ptr ImpellerColor; stops: ptr cfloat; tile_mode: ImpellerTileMode; transformation: ptr ImpellerMatrix): ImpellerColorSource
ImpellerColorSourceCreateSweepGradientNew:
impeller_api: proc ImpellerColorSourceCreateSweepGradientNew(center: ptr ImpellerPoint; start: cfloat; end: cfloat; stop_count: uint32; colors: ptr ImpellerColor; stops: ptr cfloat; tile_mode: ImpellerTileMode; transformation: ptr ImpellerMatrix): ImpellerColorSource
ImpellerColorSourceRelease:
impeller_api: proc ImpellerColorSourceRelease(color_source: ImpellerColorSource)
ImpellerColorSourceRetain:
impeller_api: proc ImpellerColorSourceRetain(color_source: ImpellerColorSource)
ImpellerColorSpace:
impeller_api: enum ImpellerColorSpace
ImpellerContext:
impeller_api: type ImpellerContext
ImpellerContextCreateMetalNew:
impeller_api: proc ImpellerContextCreateMetalNew(version: uint32): ImpellerContext
ImpellerContextCreateOpenGLESNew:
impeller_api: proc ImpellerContextCreateOpenGLESNew(version: uint32; gl_proc_address_callback: ImpellerProcAddressCallback; gl_proc_address_callback_user_data: pointer): ImpellerContext
ImpellerContextCreateVulkanNew:
impeller_api: proc ImpellerContextCreateVulkanNew(version: uint32; settings: ptr ImpellerContextVulkanSettings): ImpellerContext
ImpellerContextGetVulkanInfo:
impeller_api: proc ImpellerContextGetVulkanInfo(context: ImpellerContext; out_vulkan_info: ptr ImpellerContextVulkanInfo): bool
ImpellerContextRelease:
impeller_api: proc ImpellerContextRelease(context: ImpellerContext)
ImpellerContextRetain:
impeller_api: proc ImpellerContextRetain(context: ImpellerContext)
ImpellerContextVulkanInfo:
impeller_api: object ImpellerContextVulkanInfo
ImpellerContextVulkanSettings:
impeller_api: object ImpellerContextVulkanSettings
ImpellerDisplayList:
impeller_api: type ImpellerDisplayList
ImpellerDisplayListBuilder:
impeller_api: type ImpellerDisplayListBuilder
ImpellerDisplayListBuilderClipOval:
impeller_api: proc ImpellerDisplayListBuilderClipOval(builder: ImpellerDisplayListBuilder; oval_bounds: ptr ImpellerRect; op: ImpellerClipOperation)
ImpellerDisplayListBuilderClipPath:
impeller_api: proc ImpellerDisplayListBuilderClipPath(builder: ImpellerDisplayListBuilder; path: ImpellerPath; op: ImpellerClipOperation)
ImpellerDisplayListBuilderClipRect:
impeller_api: proc ImpellerDisplayListBuilderClipRect(builder: ImpellerDisplayListBuilder; rect: ptr ImpellerRect; op: ImpellerClipOperation)
ImpellerDisplayListBuilderClipRoundedRect:
impeller_api: proc ImpellerDisplayListBuilderClipRoundedRect(builder: ImpellerDisplayListBuilder; rect: ptr ImpellerRect; radii: ptr ImpellerRoundingRadii; op: ImpellerClipOperation)
ImpellerDisplayListBuilderCreateDisplayListNew:
impeller_api: proc ImpellerDisplayListBuilderCreateDisplayListNew( builder: ImpellerDisplayListBuilder): ImpellerDisplayList
ImpellerDisplayListBuilderDrawDashedLine:
impeller_api: proc ImpellerDisplayListBuilderDrawDashedLine(builder: ImpellerDisplayListBuilder; from: ptr ImpellerPoint; to: ptr ImpellerPoint; on_length, off_length: cfloat; paint: ImpellerPaint)
ImpellerDisplayListBuilderDrawDisplayList:
impeller_api: proc ImpellerDisplayListBuilderDrawDisplayList(builder: ImpellerDisplayListBuilder; display_list: ImpellerDisplayList; opacity: cfloat)
ImpellerDisplayListBuilderDrawLine:
impeller_api: proc ImpellerDisplayListBuilderDrawLine(builder: ImpellerDisplayListBuilder; from: ptr ImpellerPoint; to: ptr ImpellerPoint; paint: ImpellerPaint)
ImpellerDisplayListBuilderDrawOval:
impeller_api: proc ImpellerDisplayListBuilderDrawOval(builder: ImpellerDisplayListBuilder; oval_bounds: ptr ImpellerRect; paint: ImpellerPaint)
ImpellerDisplayListBuilderDrawPaint:
impeller_api: proc ImpellerDisplayListBuilderDrawPaint(builder: ImpellerDisplayListBuilder; paint: ImpellerPaint)
ImpellerDisplayListBuilderDrawParagraph:
impeller_api: proc ImpellerDisplayListBuilderDrawParagraph(builder: ImpellerDisplayListBuilder; paragraph: ImpellerParagraph; point: ptr ImpellerPoint)
ImpellerDisplayListBuilderDrawPath:
impeller_api: proc ImpellerDisplayListBuilderDrawPath(builder: ImpellerDisplayListBuilder; path: ImpellerPath; paint: ImpellerPaint)
ImpellerDisplayListBuilderDrawRect:
impeller_api: proc ImpellerDisplayListBuilderDrawRect(builder: ImpellerDisplayListBuilder; rect: ptr ImpellerRect; paint: ImpellerPaint)
ImpellerDisplayListBuilderDrawRoundedRect:
impeller_api: proc ImpellerDisplayListBuilderDrawRoundedRect(builder: ImpellerDisplayListBuilder; rect: ptr ImpellerRect; radii: ptr ImpellerRoundingRadii; paint: ImpellerPaint)
ImpellerDisplayListBuilderDrawRoundedRectDifference:
impeller_api: proc ImpellerDisplayListBuilderDrawRoundedRectDifference( builder: ImpellerDisplayListBuilder; outer_rect: ptr ImpellerRect; outer_radii: ptr ImpellerRoundingRadii; inner_rect: ptr ImpellerRect; inner_radii: ptr ImpellerRoundingRadii; paint: ImpellerPaint)
ImpellerDisplayListBuilderDrawShadow:
impeller_api: proc ImpellerDisplayListBuilderDrawShadow(builder: ImpellerDisplayListBuilder; path: ImpellerPath; color: ptr ImpellerColor; elevation: cfloat; occluder_is_transparent: bool; device_pixel_ratio: cfloat)
ImpellerDisplayListBuilderDrawTexture:
impeller_api: proc ImpellerDisplayListBuilderDrawTexture(builder: ImpellerDisplayListBuilder; texture: ImpellerTexture; point: ptr ImpellerPoint; sampling: ImpellerTextureSampling; paint: ImpellerPaint)
ImpellerDisplayListBuilderDrawTextureRect:
impeller_api: proc ImpellerDisplayListBuilderDrawTextureRect(builder: ImpellerDisplayListBuilder; texture: ImpellerTexture; src_rect: ptr ImpellerRect; dst_rect: ptr ImpellerRect; sampling: ImpellerTextureSampling; paint: ImpellerPaint)
ImpellerDisplayListBuilderGetSaveCount:
impeller_api: proc ImpellerDisplayListBuilderGetSaveCount(builder: ImpellerDisplayListBuilder): uint32
ImpellerDisplayListBuilderGetTransform:
impeller_api: proc ImpellerDisplayListBuilderGetTransform(builder: ImpellerDisplayListBuilder; out_transform: ptr ImpellerMatrix)
ImpellerDisplayListBuilderNew:
impeller_api: proc ImpellerDisplayListBuilderNew(cull_rect: ptr ImpellerRect): ImpellerDisplayListBuilder
ImpellerDisplayListBuilderRelease:
impeller_api: proc ImpellerDisplayListBuilderRelease(builder: ImpellerDisplayListBuilder)
ImpellerDisplayListBuilderResetTransform:
impeller_api: proc ImpellerDisplayListBuilderResetTransform(builder: ImpellerDisplayListBuilder)
ImpellerDisplayListBuilderRestore:
impeller_api: proc ImpellerDisplayListBuilderRestore(builder: ImpellerDisplayListBuilder)
ImpellerDisplayListBuilderRestoreToCount:
impeller_api: proc ImpellerDisplayListBuilderRestoreToCount(builder: ImpellerDisplayListBuilder; count: uint32)
ImpellerDisplayListBuilderRetain:
impeller_api: proc ImpellerDisplayListBuilderRetain(builder: ImpellerDisplayListBuilder)
ImpellerDisplayListBuilderRotate:
impeller_api: proc ImpellerDisplayListBuilderRotate(builder: ImpellerDisplayListBuilder; angle_degrees: cfloat)
ImpellerDisplayListBuilderSave:
impeller_api: proc ImpellerDisplayListBuilderSave(builder: ImpellerDisplayListBuilder)
ImpellerDisplayListBuilderSaveLayer:
impeller_api: proc ImpellerDisplayListBuilderSaveLayer(builder: ImpellerDisplayListBuilder; bounds: ptr ImpellerRect; paint: ImpellerPaint; backdrop: ImpellerImageFilter)
ImpellerDisplayListBuilderScale:
impeller_api: proc ImpellerDisplayListBuilderScale(builder: ImpellerDisplayListBuilder; x_scale, y_scale: cfloat)
ImpellerDisplayListBuilderSetTransform:
impeller_api: proc ImpellerDisplayListBuilderSetTransform(builder: ImpellerDisplayListBuilder; transform: ptr ImpellerMatrix)
ImpellerDisplayListBuilderTransform:
impeller_api: proc ImpellerDisplayListBuilderTransform(builder: ImpellerDisplayListBuilder; transform: ptr ImpellerMatrix)
ImpellerDisplayListBuilderTranslate:
impeller_api: proc ImpellerDisplayListBuilderTranslate(builder: ImpellerDisplayListBuilder; x_translation, y_translation: cfloat)
ImpellerDisplayListRelease:
impeller_api: proc ImpellerDisplayListRelease(display_list: ImpellerDisplayList)
ImpellerDisplayListRetain:
impeller_api: proc ImpellerDisplayListRetain(display_list: ImpellerDisplayList)
ImpellerDrawStyle:
impeller_api: enum ImpellerDrawStyle
ImpellerFillType:
impeller_api: enum ImpellerFillType
ImpellerFontStyle:
impeller_api: enum ImpellerFontStyle
ImpellerFontWeight:
impeller_api: enum ImpellerFontWeight
ImpellerFragmentProgram:
impeller_api: type ImpellerFragmentProgram
ImpellerFragmentProgramNew:
impeller_api: proc ImpellerFragmentProgramNew(data: ptr ImpellerMapping; data_release_user_data: pointer): ImpellerFragmentProgram
ImpellerFragmentProgramRelease:
impeller_api: proc ImpellerFragmentProgramRelease(fragment_program: ImpellerFragmentProgram)
ImpellerFragmentProgramRetain:
impeller_api: proc ImpellerFragmentProgramRetain(fragment_program: ImpellerFragmentProgram)
ImpellerGetVersion:
impeller_api: proc ImpellerGetVersion(): uint32
ImpellerGlyphInfo:
impeller_api: type ImpellerGlyphInfo
ImpellerGlyphInfoGetGraphemeClusterBounds:
impeller_api: proc ImpellerGlyphInfoGetGraphemeClusterBounds(glyph_info: ImpellerGlyphInfo; out_bounds: ptr ImpellerRect)
ImpellerGlyphInfoGetGraphemeClusterCodeUnitRangeBegin:
impeller_api: proc ImpellerGlyphInfoGetGraphemeClusterCodeUnitRangeBegin( glyph_info: ImpellerGlyphInfo): csize_t
ImpellerGlyphInfoGetGraphemeClusterCodeUnitRangeEnd:
impeller_api: proc ImpellerGlyphInfoGetGraphemeClusterCodeUnitRangeEnd( glyph_info: ImpellerGlyphInfo): csize_t
ImpellerGlyphInfoGetTextDirection:
impeller_api: proc ImpellerGlyphInfoGetTextDirection(glyph_info: ImpellerGlyphInfo): ImpellerTextDirection
ImpellerGlyphInfoIsEllipsis:
impeller_api: proc ImpellerGlyphInfoIsEllipsis(glyph_info: ImpellerGlyphInfo): bool
ImpellerGlyphInfoRelease:
impeller_api: proc ImpellerGlyphInfoRelease(glyph_info: ImpellerGlyphInfo)
ImpellerGlyphInfoRetain:
impeller_api: proc ImpellerGlyphInfoRetain(glyph_info: ImpellerGlyphInfo)
ImpellerImageFilter:
impeller_api: type ImpellerImageFilter
ImpellerImageFilterCreateBlurNew:
impeller_api: proc ImpellerImageFilterCreateBlurNew(x_sigma: cfloat; y_sigma: cfloat; tile_mode: ImpellerTileMode): ImpellerImageFilter
ImpellerImageFilterCreateComposeNew:
impeller_api: proc ImpellerImageFilterCreateComposeNew(outer: ImpellerImageFilter; inner: ImpellerImageFilter): ImpellerImageFilter
ImpellerImageFilterCreateDilateNew:
impeller_api: proc ImpellerImageFilterCreateDilateNew(x_radius: cfloat; y_radius: cfloat): ImpellerImageFilter
ImpellerImageFilterCreateErodeNew:
impeller_api: proc ImpellerImageFilterCreateErodeNew(x_radius: cfloat; y_radius: cfloat): ImpellerImageFilter
ImpellerImageFilterCreateFragmentProgramNew:
impeller_api: proc ImpellerImageFilterCreateFragmentProgramNew(context: ImpellerContext; fragment_program: ImpellerFragmentProgram; samplers: ptr ImpellerTexture; samplers_count: csize_t; data: ptr uint8; data_bytes_length: csize_t): ImpellerImageFilter
ImpellerImageFilterCreateMatrixNew:
impeller_api: proc ImpellerImageFilterCreateMatrixNew(matrix: ptr ImpellerMatrix; sampling: ImpellerTextureSampling): ImpellerImageFilter
ImpellerImageFilterRelease:
impeller_api: proc ImpellerImageFilterRelease(image_filter: ImpellerImageFilter)
ImpellerImageFilterRetain:
impeller_api: proc ImpellerImageFilterRetain(image_filter: ImpellerImageFilter)
ImpellerISize:
impeller_api: object ImpellerISize
ImpellerLineMetrics:
impeller_api: type ImpellerLineMetrics
ImpellerLineMetricsGetAscent:
impeller_api: proc ImpellerLineMetricsGetAscent(metrics: ImpellerLineMetrics; line: csize_t): cdouble
ImpellerLineMetricsGetBaseline:
impeller_api: proc ImpellerLineMetricsGetBaseline(metrics: ImpellerLineMetrics; line: csize_t): cdouble
ImpellerLineMetricsGetCodeUnitEndIndex:
impeller_api: proc ImpellerLineMetricsGetCodeUnitEndIndex(metrics: ImpellerLineMetrics; line: csize_t): csize_t
ImpellerLineMetricsGetCodeUnitEndIndexExcludingWhitespace:
impeller_api: proc ImpellerLineMetricsGetCodeUnitEndIndexExcludingWhitespace( metrics: ImpellerLineMetrics; line: csize_t): csize_t
ImpellerLineMetricsGetCodeUnitEndIndexIncludingNewline:
impeller_api: proc ImpellerLineMetricsGetCodeUnitEndIndexIncludingNewline( metrics: ImpellerLineMetrics; line: csize_t): csize_t
ImpellerLineMetricsGetCodeUnitStartIndex:
impeller_api: proc ImpellerLineMetricsGetCodeUnitStartIndex(metrics: ImpellerLineMetrics; line: csize_t): csize_t
ImpellerLineMetricsGetDescent:
impeller_api: proc ImpellerLineMetricsGetDescent(metrics: ImpellerLineMetrics; line: csize_t): cdouble
ImpellerLineMetricsGetHeight:
impeller_api: proc ImpellerLineMetricsGetHeight(metrics: ImpellerLineMetrics; line: csize_t): cdouble
ImpellerLineMetricsGetLeft:
impeller_api: proc ImpellerLineMetricsGetLeft(metrics: ImpellerLineMetrics; line: csize_t): cdouble
ImpellerLineMetricsGetUnscaledAscent:
impeller_api: proc ImpellerLineMetricsGetUnscaledAscent(metrics: ImpellerLineMetrics; line: csize_t): cdouble
ImpellerLineMetricsGetWidth:
impeller_api: proc ImpellerLineMetricsGetWidth(metrics: ImpellerLineMetrics; line: csize_t): cdouble
ImpellerLineMetricsIsHardbreak:
impeller_api: proc ImpellerLineMetricsIsHardbreak(metrics: ImpellerLineMetrics; line: csize_t): bool
ImpellerLineMetricsRelease:
impeller_api: proc ImpellerLineMetricsRelease(line_metrics: ImpellerLineMetrics)
ImpellerLineMetricsRetain:
impeller_api: proc ImpellerLineMetricsRetain(line_metrics: ImpellerLineMetrics)
ImpellerMapping:
impeller_api: object ImpellerMapping
ImpellerMaskFilter:
impeller_api: type ImpellerMaskFilter
ImpellerMaskFilterCreateBlurNew:
impeller_api: proc ImpellerMaskFilterCreateBlurNew(style: ImpellerBlurStyle; sigma: cfloat): ImpellerMaskFilter
ImpellerMaskFilterRelease:
impeller_api: proc ImpellerMaskFilterRelease(mask_filter: ImpellerMaskFilter)
ImpellerMaskFilterRetain:
impeller_api: proc ImpellerMaskFilterRetain(mask_filter: ImpellerMaskFilter)
ImpellerMatrix:
impeller_api: object ImpellerMatrix
ImpellerPaint:
impeller_api: type ImpellerPaint
ImpellerPaintNew:
impeller_api: proc ImpellerPaintNew(): ImpellerPaint
ImpellerPaintRelease:
impeller_api: proc ImpellerPaintRelease(paint: ImpellerPaint)
ImpellerPaintRetain:
impeller_api: proc ImpellerPaintRetain(paint: ImpellerPaint)
ImpellerPaintSetBlendMode:
impeller_api: proc ImpellerPaintSetBlendMode(paint: ImpellerPaint; mode: ImpellerBlendMode)
ImpellerPaintSetColor:
impeller_api: proc ImpellerPaintSetColor(paint: ImpellerPaint; color: ptr ImpellerColor)
ImpellerPaintSetColorFilter:
impeller_api: proc ImpellerPaintSetColorFilter(paint: ImpellerPaint; color_filter: ImpellerColorFilter)
ImpellerPaintSetColorSource:
impeller_api: proc ImpellerPaintSetColorSource(paint: ImpellerPaint; color_source: ImpellerColorSource)
ImpellerPaintSetDrawStyle:
impeller_api: proc ImpellerPaintSetDrawStyle(paint: ImpellerPaint; style: ImpellerDrawStyle)
ImpellerPaintSetImageFilter:
impeller_api: proc ImpellerPaintSetImageFilter(paint: ImpellerPaint; image_filter: ImpellerImageFilter)
ImpellerPaintSetMaskFilter:
impeller_api: proc ImpellerPaintSetMaskFilter(paint: ImpellerPaint; mask_filter: ImpellerMaskFilter)
ImpellerPaintSetStrokeCap:
impeller_api: proc ImpellerPaintSetStrokeCap(paint: ImpellerPaint; cap: ImpellerStrokeCap)
ImpellerPaintSetStrokeJoin:
impeller_api: proc ImpellerPaintSetStrokeJoin(paint: ImpellerPaint; join: ImpellerStrokeJoin)
ImpellerPaintSetStrokeMiter:
impeller_api: proc ImpellerPaintSetStrokeMiter(paint: ImpellerPaint; miter: cfloat)
ImpellerPaintSetStrokeWidth:
impeller_api: proc ImpellerPaintSetStrokeWidth(paint: ImpellerPaint; width: cfloat)
ImpellerParagraph:
impeller_api: type ImpellerParagraph
ImpellerParagraphBuilder:
impeller_api: type ImpellerParagraphBuilder
ImpellerParagraphBuilderAddText:
impeller_api: proc ImpellerParagraphBuilderAddText(paragraph_builder: ImpellerParagraphBuilder; data: ptr uint8; length: uint32)
ImpellerParagraphBuilderBuildParagraphNew:
impeller_api: proc ImpellerParagraphBuilderBuildParagraphNew( paragraph_builder: ImpellerParagraphBuilder; width: cfloat): ImpellerParagraph
ImpellerParagraphBuilderNew:
impeller_api: proc ImpellerParagraphBuilderNew(context: ImpellerTypographyContext): ImpellerParagraphBuilder
ImpellerParagraphBuilderPopStyle:
impeller_api: proc ImpellerParagraphBuilderPopStyle(paragraph_builder: ImpellerParagraphBuilder)
ImpellerParagraphBuilderPushStyle:
impeller_api: proc ImpellerParagraphBuilderPushStyle(paragraph_builder: ImpellerParagraphBuilder; style: ImpellerParagraphStyle)
ImpellerParagraphBuilderRelease:
impeller_api: proc ImpellerParagraphBuilderRelease(paragraph_builder: ImpellerParagraphBuilder)
ImpellerParagraphBuilderRetain:
impeller_api: proc ImpellerParagraphBuilderRetain(paragraph_builder: ImpellerParagraphBuilder)
ImpellerParagraphCreateGlyphInfoAtCodeUnitIndexNew:
impeller_api: proc ImpellerParagraphCreateGlyphInfoAtCodeUnitIndexNew(paragraph: ImpellerParagraph; code_unit_index: csize_t): ImpellerGlyphInfo
ImpellerParagraphCreateGlyphInfoAtParagraphCoordinatesNew:
impeller_api: proc ImpellerParagraphCreateGlyphInfoAtParagraphCoordinatesNew( paragraph: ImpellerParagraph; x, y: cdouble): ImpellerGlyphInfo
ImpellerParagraphGetAlphabeticBaseline:
impeller_api: proc ImpellerParagraphGetAlphabeticBaseline(paragraph: ImpellerParagraph): cfloat
ImpellerParagraphGetHeight:
impeller_api: proc ImpellerParagraphGetHeight(paragraph: ImpellerParagraph): cfloat
ImpellerParagraphGetIdeographicBaseline:
impeller_api: proc ImpellerParagraphGetIdeographicBaseline(paragraph: ImpellerParagraph): cfloat
ImpellerParagraphGetLineCount:
impeller_api: proc ImpellerParagraphGetLineCount(paragraph: ImpellerParagraph): uint32
ImpellerParagraphGetLineMetrics:
impeller_api: proc ImpellerParagraphGetLineMetrics(paragraph: ImpellerParagraph): ImpellerLineMetrics
ImpellerParagraphGetLongestLineWidth:
impeller_api: proc ImpellerParagraphGetLongestLineWidth(paragraph: ImpellerParagraph): cfloat
ImpellerParagraphGetMaxIntrinsicWidth:
impeller_api: proc ImpellerParagraphGetMaxIntrinsicWidth(paragraph: ImpellerParagraph): cfloat
ImpellerParagraphGetMaxWidth:
impeller_api: proc ImpellerParagraphGetMaxWidth(paragraph: ImpellerParagraph): cfloat
ImpellerParagraphGetMinIntrinsicWidth:
impeller_api: proc ImpellerParagraphGetMinIntrinsicWidth(paragraph: ImpellerParagraph): cfloat
ImpellerParagraphGetWordBoundary:
impeller_api: proc ImpellerParagraphGetWordBoundary(paragraph: ImpellerParagraph; code_unit_index: csize_t; out_range: ptr ImpellerRange)
ImpellerParagraphRelease:
impeller_api: proc ImpellerParagraphRelease(paragraph: ImpellerParagraph)
ImpellerParagraphRetain:
impeller_api: proc ImpellerParagraphRetain(paragraph: ImpellerParagraph)
ImpellerParagraphStyle:
impeller_api: type ImpellerParagraphStyle
ImpellerParagraphStyleNew:
impeller_api: proc ImpellerParagraphStyleNew(): ImpellerParagraphStyle
ImpellerParagraphStyleRelease:
impeller_api: proc ImpellerParagraphStyleRelease(paragraph_style: ImpellerParagraphStyle)
ImpellerParagraphStyleRetain:
impeller_api: proc ImpellerParagraphStyleRetain(paragraph_style: ImpellerParagraphStyle)
ImpellerParagraphStyleSetBackground:
impeller_api: proc ImpellerParagraphStyleSetBackground(paragraph_style: ImpellerParagraphStyle; paint: ImpellerPaint)
ImpellerParagraphStyleSetEllipsis:
impeller_api: proc ImpellerParagraphStyleSetEllipsis(paragraph_style: ImpellerParagraphStyle; ellipsis: cstring)
ImpellerParagraphStyleSetFontFamily:
impeller_api: proc ImpellerParagraphStyleSetFontFamily(paragraph_style: ImpellerParagraphStyle; family_name: cstring)
ImpellerParagraphStyleSetFontSize:
impeller_api: proc ImpellerParagraphStyleSetFontSize(paragraph_style: ImpellerParagraphStyle; size: cfloat)
ImpellerParagraphStyleSetFontStyle:
impeller_api: proc ImpellerParagraphStyleSetFontStyle(paragraph_style: ImpellerParagraphStyle; style: ImpellerFontStyle)
ImpellerParagraphStyleSetFontWeight:
impeller_api: proc ImpellerParagraphStyleSetFontWeight(paragraph_style: ImpellerParagraphStyle; weight: ImpellerFontWeight)
ImpellerParagraphStyleSetForeground:
impeller_api: proc ImpellerParagraphStyleSetForeground(paragraph_style: ImpellerParagraphStyle; paint: ImpellerPaint)
ImpellerParagraphStyleSetHeight:
impeller_api: proc ImpellerParagraphStyleSetHeight(paragraph_style: ImpellerParagraphStyle; height: cfloat)
ImpellerParagraphStyleSetLocale:
impeller_api: proc ImpellerParagraphStyleSetLocale(paragraph_style: ImpellerParagraphStyle; locale: cstring)
ImpellerParagraphStyleSetMaxLines:
impeller_api: proc ImpellerParagraphStyleSetMaxLines(paragraph_style: ImpellerParagraphStyle; max_lines: uint32)
ImpellerParagraphStyleSetTextAlignment:
impeller_api: proc ImpellerParagraphStyleSetTextAlignment(paragraph_style: ImpellerParagraphStyle; align: ImpellerTextAlignment)
ImpellerParagraphStyleSetTextDecoration:
impeller_api: proc ImpellerParagraphStyleSetTextDecoration(paragraph_style: ImpellerParagraphStyle; decoration: ptr ImpellerTextDecoration)
ImpellerParagraphStyleSetTextDirection:
impeller_api: proc ImpellerParagraphStyleSetTextDirection(paragraph_style: ImpellerParagraphStyle; direction: ImpellerTextDirection)
ImpellerPath:
impeller_api: type ImpellerPath
ImpellerPathBuilder:
impeller_api: type ImpellerPathBuilder
ImpellerPathBuilderAddArc:
impeller_api: proc ImpellerPathBuilderAddArc(builder: ImpellerPathBuilder; oval_bounds: ptr ImpellerRect; start_angle_degrees: cfloat; end_angle_degrees: cfloat)
ImpellerPathBuilderAddOval:
impeller_api: proc ImpellerPathBuilderAddOval(builder: ImpellerPathBuilder; oval_bounds: ptr ImpellerRect)
ImpellerPathBuilderAddRect:
impeller_api: proc ImpellerPathBuilderAddRect(builder: ImpellerPathBuilder; rect: ptr ImpellerRect)
ImpellerPathBuilderAddRoundedRect:
impeller_api: proc ImpellerPathBuilderAddRoundedRect(builder: ImpellerPathBuilder; rect: ptr ImpellerRect; rounding_radii: ptr ImpellerRoundingRadii)
ImpellerPathBuilderClose:
impeller_api: proc ImpellerPathBuilderClose(builder: ImpellerPathBuilder)
ImpellerPathBuilderCopyPathNew:
impeller_api: proc ImpellerPathBuilderCopyPathNew(builder: ImpellerPathBuilder; fill: ImpellerFillType): ImpellerPath
ImpellerPathBuilderCubicCurveTo:
impeller_api: proc ImpellerPathBuilderCubicCurveTo(builder: ImpellerPathBuilder; control_point_1: ptr ImpellerPoint; control_point_2: ptr ImpellerPoint; end_point: ptr ImpellerPoint)
ImpellerPathBuilderLineTo:
impeller_api: proc ImpellerPathBuilderLineTo(builder: ImpellerPathBuilder; location: ptr ImpellerPoint)
ImpellerPathBuilderMoveTo:
impeller_api: proc ImpellerPathBuilderMoveTo(builder: ImpellerPathBuilder; location: ptr ImpellerPoint)
ImpellerPathBuilderNew:
impeller_api: proc ImpellerPathBuilderNew(): ImpellerPathBuilder
ImpellerPathBuilderQuadraticCurveTo:
impeller_api: proc ImpellerPathBuilderQuadraticCurveTo(builder: ImpellerPathBuilder; control_point: ptr ImpellerPoint; end_point: ptr ImpellerPoint)
ImpellerPathBuilderRelease:
impeller_api: proc ImpellerPathBuilderRelease(builder: ImpellerPathBuilder)
ImpellerPathBuilderRetain:
impeller_api: proc ImpellerPathBuilderRetain(builder: ImpellerPathBuilder)
ImpellerPathBuilderTakePathNew:
impeller_api: proc ImpellerPathBuilderTakePathNew(builder: ImpellerPathBuilder; fill: ImpellerFillType): ImpellerPath
ImpellerPathGetBounds:
impeller_api: proc ImpellerPathGetBounds(path: ImpellerPath; out_bounds: ptr ImpellerRect)
ImpellerPathRelease:
impeller_api: proc ImpellerPathRelease(path: ImpellerPath)
ImpellerPathRetain:
impeller_api: proc ImpellerPathRetain(path: ImpellerPath)
ImpellerPixelFormat:
impeller_api: enum ImpellerPixelFormat
ImpellerPoint:
impeller_api: object ImpellerPoint
ImpellerProcAddressCallback:
impeller_api: type ImpellerProcAddressCallback
ImpellerRange:
impeller_api: object ImpellerRange
ImpellerRect:
impeller_api: object ImpellerRect
ImpellerRoundingRadii:
impeller_api: object ImpellerRoundingRadii
ImpellerSize:
impeller_api: object ImpellerSize
ImpellerStrokeCap:
impeller_api: enum ImpellerStrokeCap
ImpellerStrokeJoin:
impeller_api: enum ImpellerStrokeJoin
ImpellerSurface:
impeller_api: type ImpellerSurface
ImpellerSurfaceCreateWrappedFBONew:
impeller_api: proc ImpellerSurfaceCreateWrappedFBONew(context: ImpellerContext; fbo: uint64; format: ImpellerPixelFormat; size: ptr ImpellerISize): ImpellerSurface
ImpellerSurfaceCreateWrappedMetalDrawableNew:
impeller_api: proc ImpellerSurfaceCreateWrappedMetalDrawableNew(context: ImpellerContext; metal_drawable: pointer): ImpellerSurface
ImpellerSurfaceDrawDisplayList:
impeller_api: proc ImpellerSurfaceDrawDisplayList(surface: ImpellerSurface; display_list: ImpellerDisplayList): bool
ImpellerSurfacePresent:
impeller_api: proc ImpellerSurfacePresent(surface: ImpellerSurface): bool
ImpellerSurfaceRelease:
impeller_api: proc ImpellerSurfaceRelease(surface: ImpellerSurface)
ImpellerSurfaceRetain:
impeller_api: proc ImpellerSurfaceRetain(surface: ImpellerSurface)
ImpellerTextAlignment:
impeller_api: enum ImpellerTextAlignment
ImpellerTextDecoration:
impeller_api: object ImpellerTextDecoration
ImpellerTextDecorationStyle:
impeller_api: enum ImpellerTextDecorationStyle
ImpellerTextDecorationType:
impeller_api: enum ImpellerTextDecorationType
ImpellerTextDirection:
impeller_api: enum ImpellerTextDirection
ImpellerTexture:
impeller_api: type ImpellerTexture
ImpellerTextureCreateWithContentsNew:
impeller_api: proc ImpellerTextureCreateWithContentsNew(context: ImpellerContext; descriptor: ptr ImpellerTextureDescriptor; contents: ptr ImpellerMapping; contents_on_release_user_data: pointer): ImpellerTexture
ImpellerTextureCreateWithOpenGLTextureHandleNew:
impeller_api: proc ImpellerTextureCreateWithOpenGLTextureHandleNew(context: ImpellerContext; descriptor: ptr ImpellerTextureDescriptor; handle: uint64): ImpellerTexture
ImpellerTextureDescriptor:
impeller_api: object ImpellerTextureDescriptor
ImpellerTextureGetOpenGLHandle:
impeller_api: proc ImpellerTextureGetOpenGLHandle(texture: ImpellerTexture): uint64
ImpellerTextureRelease:
impeller_api: proc ImpellerTextureRelease(texture: ImpellerTexture)
ImpellerTextureRetain:
impeller_api: proc ImpellerTextureRetain(texture: ImpellerTexture)
ImpellerTextureSampling:
impeller_api: enum ImpellerTextureSampling
ImpellerTileMode:
impeller_api: enum ImpellerTileMode
ImpellerTypographyContext:
impeller_api: type ImpellerTypographyContext
ImpellerTypographyContextNew:
impeller_api: proc ImpellerTypographyContextNew(): ImpellerTypographyContext
ImpellerTypographyContextRegisterFont:
impeller_api: proc ImpellerTypographyContextRegisterFont(context: ImpellerTypographyContext; contents: ptr ImpellerMapping; contents_on_release_user_data: pointer; family_name_alias: cstring): bool
ImpellerTypographyContextRelease:
impeller_api: proc ImpellerTypographyContextRelease(context: ImpellerTypographyContext)
ImpellerTypographyContextRetain:
impeller_api: proc ImpellerTypographyContextRetain(context: ImpellerTypographyContext)
ImpellerVulkanProcAddressCallback:
impeller_api: type ImpellerVulkanProcAddressCallback
ImpellerVulkanSwapchain:
impeller_api: type ImpellerVulkanSwapchain
ImpellerVulkanSwapchainAcquireNextSurfaceNew:
impeller_api: proc ImpellerVulkanSwapchainAcquireNextSurfaceNew(swapchain: ImpellerVulkanSwapchain): ImpellerSurface
ImpellerVulkanSwapchainCreateNew:
impeller_api: proc ImpellerVulkanSwapchainCreateNew(context: ImpellerContext; vulkan_surface_khr: pointer): ImpellerVulkanSwapchain
ImpellerVulkanSwapchainRelease:
impeller_api: proc ImpellerVulkanSwapchainRelease(swapchain: ImpellerVulkanSwapchain)
ImpellerVulkanSwapchainRetain:
impeller_api: proc ImpellerVulkanSwapchainRetain(swapchain: ImpellerVulkanSwapchain)
initGradientPoint:
canvas: proc initGradientPoint(color: string; position: float32): GradientColor
initGradientPointAlpha:
canvas: proc initGradientPointAlpha(color: string; alpha: uint8; position: float32): GradientColor
initGradientPointHexAlpha:
canvas: proc initGradientPointHexAlpha(color: Color; position: float32): GradientColor
canvas: proc initGradientPointHexAlpha(color: string; position: float32): GradientColor
initLinearGradient:
canvas: proc initLinearGradient(colors: seq[GradientColor]; startPoint: ImpellerPoint = ImpellerPoint(x: 0.0, y: 0.0); endPoint: ImpellerPoint = ImpellerPoint(); width: float32 = 100.0'f32; height: float32 = 100.0'f32): LinearGradient
layoutParagraph:
text: proc layoutParagraph(ctx: TypographyContext; text: string; style: TextStyle; width: float32): Paragraph
LinearGradient:
canvas: object LinearGradient
newCircle:
canvas: proc newCircle(radius: float32; x: float32 = 0.0; y: float32 = 0.0): CircleShape
newRect:
canvas: proc newRect(width, height: float32; x, y: float32 = 0.0): RectShape
newRectangle:
canvas: proc newRectangle(width, height: float32; x, y: float32 = 0.0): RectShape
newSquare:
canvas: proc newSquare(size: float32; x, y: float32 = 0.0): RectShape
newTextStyle:
text: proc newTextStyle(fontFamily: string = "sans-serif"; fontSize: float32 = 14.0; fontWeight: FontWeight = kImpellerFontWeight400; fontStyle: FontStyle = kImpellerFontStyleNormal; color: ColorRGBA = rgba(0, 0, 0, 255); background: Option[ColorRGBA] = none(ColorRGBA); align: TextAlign = kImpellerTextAlignmentLeft; direction: TextDirection = kImpellerTextDirectionLTR; decoration: Option[ ImpellerTextDecoration] = none(ImpellerTextDecoration)): TextStyle
newTypographyContext:
text: proc newTypographyContext(): TypographyContext
Paragraph:
text: object Paragraph
RectShape:
canvas: type RectShape
registerFont:
text: proc registerFont(ctx: var TypographyContext; fontData: seq[byte]; family: string): bool
release:
text: proc release(p: var Paragraph)
text: proc release(ctx: var TypographyContext)
setColor:
canvas: proc setColor(paint: ImpellerPaint; color: ColorRGBA)
canvas: proc setColor(paint: ImpellerPaint; color: ImpellerColor)
canvas: proc setColor(paint: ImpellerPaint; color: string)
TextAlign:
text: type TextAlign
TextDirection:
text: type TextDirection
TextStyle:
text: object TextStyle
TypographyContext:
text: object TypographyContext