| Flutter Impeller |

Classes | Namespaces | Macros | Functions
impeller.cc File Reference
`#include "impeller/toolkit/interop/impeller.h"`
`#include <algorithm>`
`#include <iterator>`
`#include <sstream>`
`#include "flutter/fml/mapping.h"`
`#include "impeller/base/validation.h"`
`#include "impeller/geometry/scalar.h"`
`#include "impeller/renderer/backend/gles/context_gles.h"`
`#include "impeller/renderer/backend/gles/texture_gles.h"`
`#include "impeller/renderer/context.h"`
`#include "impeller/toolkit/interop/color_filter.h"`
`#include "impeller/toolkit/interop/color_source.h"`
`#include "impeller/toolkit/interop/context.h"`
`#include "impeller/toolkit/interop/dl_builder.h"`
`#include "impeller/toolkit/interop/formats.h"`
`#include "impeller/toolkit/interop/fragment_program.h"`
`#include "impeller/toolkit/interop/glyph_info.h"`
`#include "impeller/toolkit/interop/image_filter.h"`
`#include "impeller/toolkit/interop/line_metrics.h"`
`#include "impeller/toolkit/interop/mask_filter.h"`
`#include "impeller/toolkit/interop/object.h"`
`#include "impeller/toolkit/interop/paint.h"`
`#include "impeller/toolkit/interop/paragraph.h"`
`#include "impeller/toolkit/interop/paragraph_builder.h"`
`#include "impeller/toolkit/interop/paragraph_style.h"`
`#include "impeller/toolkit/interop/path.h"`
`#include "impeller/toolkit/interop/path_builder.h"`
`#include "impeller/toolkit/interop/surface.h"`
`#include "impeller/toolkit/interop/texture.h"`
`#include "impeller/toolkit/interop/typography_context.h"`

Go to the source code of this file.

## Classes
struct | impeller::interop::SamplersAndUniforms

## Namespaces
| impeller
| impeller::interop

## Macros
#define | DEFINE_PEER_GETTER(cxx_type, c_type)

## Functions
| impeller::interop::DEFINE_PEER_GETTER (ColorFilter, ImpellerColorFilter)
| impeller::interop::DEFINE_PEER_GETTER (ColorSource, ImpellerColorSource)
| impeller::interop::DEFINE_PEER_GETTER (Context, ImpellerContext)
| impeller::interop::DEFINE_PEER_GETTER (DisplayList, ImpellerDisplayList)
| impeller::interop::DEFINE_PEER_GETTER (DisplayListBuilder, ImpellerDisplayListBuilder)
| impeller::interop::DEFINE_PEER_GETTER (FragmentProgram, ImpellerFragmentProgram)
| impeller::interop::DEFINE_PEER_GETTER (GlyphInfo, ImpellerGlyphInfo)
| impeller::interop::DEFINE_PEER_GETTER (ImageFilter, ImpellerImageFilter)
| impeller::interop::DEFINE_PEER_GETTER (LineMetrics, ImpellerLineMetrics)
| impeller::interop::DEFINE_PEER_GETTER (MaskFilter, ImpellerMaskFilter)
| impeller::interop::DEFINE_PEER_GETTER (Paint, ImpellerPaint)
| impeller::interop::DEFINE_PEER_GETTER (Paragraph, ImpellerParagraph)
| impeller::interop::DEFINE_PEER_GETTER (ParagraphBuilder, ImpellerParagraphBuilder)
| impeller::interop::DEFINE_PEER_GETTER (ParagraphStyle, ImpellerParagraphStyle)
| impeller::interop::DEFINE_PEER_GETTER (Path, ImpellerPath)
| impeller::interop::DEFINE_PEER_GETTER (PathBuilder, ImpellerPathBuilder)
| impeller::interop::DEFINE_PEER_GETTER (Surface, ImpellerSurface)
| impeller::interop::DEFINE_PEER_GETTER (SwapchainVK, ImpellerVulkanSwapchain)
| impeller::interop::DEFINE_PEER_GETTER (Texture, ImpellerTexture)
| impeller::interop::DEFINE_PEER_GETTER (TypographyContext, ImpellerTypographyContext)
static std::string | impeller::interop::GetVersionAsString (uint32_t version)
IMPELLER_EXTERN_C uint32_t | impeller::interop::ImpellerGetVersion ()
static bool | impeller::interop::CheckVersion (uint32_t version)
IMPELLER_EXTERN_C ImpellerContext | impeller::interop::ImpellerContextCreateOpenGLESNew (uint32_t version, ImpellerProcAddressCallback gl_proc_address_callback, void *gl_proc_address_callback_user_data)
IMPELLER_EXTERN_C ImpellerContext | impeller::interop::ImpellerContextCreateMetalNew (uint32_t version)
IMPELLER_EXTERN_C ImpellerContext | impeller::interop::ImpellerContextCreateVulkanNew (uint32_t version, const ImpellerContextVulkanSettings *settings)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerContextRetain (ImpellerContext context)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerContextRelease (ImpellerContext context)
IMPELLER_EXTERN_C bool | impeller::interop::ImpellerContextGetVulkanInfo (ImpellerContext IMPELLER_NONNULL context, ImpellerContextVulkanInfo *out_vulkan_info)
IMPELLER_EXTERN_C ImpellerVulkanSwapchain | impeller::interop::ImpellerVulkanSwapchainCreateNew (ImpellerContext context, void *vulkan_surface_khr)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerVulkanSwapchainRetain (ImpellerVulkanSwapchain swapchain)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerVulkanSwapchainRelease (ImpellerVulkanSwapchain swapchain)
IMPELLER_EXTERN_C ImpellerSurface | impeller::interop::ImpellerVulkanSwapchainAcquireNextSurfaceNew (ImpellerVulkanSwapchain swapchain)
IMPELLER_EXTERN_C ImpellerDisplayListBuilder | impeller::interop::ImpellerDisplayListBuilderNew (const ImpellerRect *cull_rect)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderRetain (ImpellerDisplayListBuilder builder)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderRelease (ImpellerDisplayListBuilder builder)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderSave (ImpellerDisplayListBuilder builder)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderSaveLayer (ImpellerDisplayListBuilder builder, const ImpellerRect *bounds, ImpellerPaint paint, ImpellerImageFilter backdrop)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderRestore (ImpellerDisplayListBuilder builder)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderScale (ImpellerDisplayListBuilder builder, float x_scale, float y_scale)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderRotate (ImpellerDisplayListBuilder builder, float angle_degrees)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderTranslate (ImpellerDisplayListBuilder builder, float x_translation, float y_translation)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderSetTransform (ImpellerDisplayListBuilder builder, const ImpellerMatrix *transform)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderTransform (ImpellerDisplayListBuilder builder, const ImpellerMatrix *transform)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderGetTransform (ImpellerDisplayListBuilder builder, ImpellerMatrix *out_transform)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderResetTransform (ImpellerDisplayListBuilder builder)
IMPELLER_EXTERN_C uint32_t | impeller::interop::ImpellerDisplayListBuilderGetSaveCount (ImpellerDisplayListBuilder builder)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderRestoreToCount (ImpellerDisplayListBuilder builder, uint32_t count)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPathRetain (ImpellerPath path)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPathRelease (ImpellerPath path)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPathGetBounds (ImpellerPath path, ImpellerRect *out_bounds)
IMPELLER_EXTERN_C ImpellerPathBuilder | impeller::interop::ImpellerPathBuilderNew ()
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPathBuilderRetain (ImpellerPathBuilder builder)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPathBuilderRelease (ImpellerPathBuilder builder)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPathBuilderMoveTo (ImpellerPathBuilder builder, const ImpellerPoint *location)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPathBuilderLineTo (ImpellerPathBuilder builder, const ImpellerPoint *location)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPathBuilderQuadraticCurveTo (ImpellerPathBuilder builder, const ImpellerPoint *control_point, const ImpellerPoint *end_point)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPathBuilderCubicCurveTo (ImpellerPathBuilder builder, const ImpellerPoint *control_point_1, const ImpellerPoint *control_point_2, const ImpellerPoint *end_point)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPathBuilderAddRect (ImpellerPathBuilder builder, const ImpellerRect *rect)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPathBuilderAddArc (ImpellerPathBuilder builder, const ImpellerRect *oval_bounds, float start_angle_degrees, float end_angle_degrees)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPathBuilderAddOval (ImpellerPathBuilder builder, const ImpellerRect *oval_bounds)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPathBuilderAddRoundedRect (ImpellerPathBuilder builder, const ImpellerRect *rect, const ImpellerRoundingRadii *rounding_radii)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPathBuilderClose (ImpellerPathBuilder builder)
IMPELLER_EXTERN_C ImpellerPath | impeller::interop::ImpellerPathBuilderCopyPathNew (ImpellerPathBuilder builder, ImpellerFillType fill)
IMPELLER_EXTERN_C ImpellerPath | impeller::interop::ImpellerPathBuilderTakePathNew (ImpellerPathBuilder builder, ImpellerFillType fill)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderClipRect (ImpellerDisplayListBuilder builder, const ImpellerRect *rect, ImpellerClipOperation op)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderClipOval (ImpellerDisplayListBuilder builder, const ImpellerRect *oval_bounds, ImpellerClipOperation op)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderClipRoundedRect (ImpellerDisplayListBuilder builder, const ImpellerRect *rect, const ImpellerRoundingRadii *radii, ImpellerClipOperation op)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderClipPath (ImpellerDisplayListBuilder builder, ImpellerPath path, ImpellerClipOperation op)
IMPELLER_EXTERN_C ImpellerPaint | impeller::interop::ImpellerPaintNew ()
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPaintRetain (ImpellerPaint paint)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPaintRelease (ImpellerPaint paint)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPaintSetColor (ImpellerPaint paint, const ImpellerColor *color)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPaintSetBlendMode (ImpellerPaint paint, ImpellerBlendMode mode)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPaintSetDrawStyle (ImpellerPaint paint, ImpellerDrawStyle style)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPaintSetStrokeCap (ImpellerPaint paint, ImpellerStrokeCap cap)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPaintSetStrokeJoin (ImpellerPaint paint, ImpellerStrokeJoin join)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPaintSetStrokeWidth (ImpellerPaint paint, float width)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPaintSetStrokeMiter (ImpellerPaint paint, float miter)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderDrawPaint (ImpellerDisplayListBuilder builder, ImpellerPaint paint)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderDrawLine (ImpellerDisplayListBuilder builder, const ImpellerPoint *from, const ImpellerPoint *to, ImpellerPaint paint)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderDrawDashedLine (ImpellerDisplayListBuilder builder, const ImpellerPoint *from, const ImpellerPoint *to, float on_length, float off_length, ImpellerPaint paint)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderDrawRect (ImpellerDisplayListBuilder builder, const ImpellerRect *rect, ImpellerPaint paint)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderDrawOval (ImpellerDisplayListBuilder builder, const ImpellerRect *oval_bounds, ImpellerPaint paint)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderDrawRoundedRect (ImpellerDisplayListBuilder builder, const ImpellerRect *rect, const ImpellerRoundingRadii *radii, ImpellerPaint paint)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderDrawRoundedRectDifference (ImpellerDisplayListBuilder builder, const ImpellerRect *outer_rect, const ImpellerRoundingRadii *outer_radii, const ImpellerRect *inner_rect, const ImpellerRoundingRadii *inner_radii, ImpellerPaint paint)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderDrawPath (ImpellerDisplayListBuilder builder, ImpellerPath path, ImpellerPaint paint)
IMPELLER_EXTERN_C ImpellerTexture | impeller::interop::ImpellerTextureCreateWithContentsNew (ImpellerContext context, const ImpellerTextureDescriptor *descriptor, const ImpellerMapping *contents, void *contents_on_release_user_data)
IMPELLER_EXTERN_C ImpellerTexture | impeller::interop::ImpellerTextureCreateWithOpenGLTextureHandleNew (ImpellerContext context, const ImpellerTextureDescriptor *descriptor, uint64_t external_gl_handle)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerTextureRetain (ImpellerTexture texture)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerTextureRelease (ImpellerTexture texture)
IMPELLER_EXTERN_C uint64_t | impeller::interop::ImpellerTextureGetOpenGLHandle (ImpellerTexture texture)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListRetain (ImpellerDisplayList display_list)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListRelease (ImpellerDisplayList display_list)
IMPELLER_EXTERN_C ImpellerDisplayList | impeller::interop::ImpellerDisplayListBuilderCreateDisplayListNew (ImpellerDisplayListBuilder builder)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderDrawDisplayList (ImpellerDisplayListBuilder builder, ImpellerDisplayList display_list, float opacity)
IMPELLER_EXTERN_C ImpellerSurface | impeller::interop::ImpellerSurfaceCreateWrappedFBONew (ImpellerContext context, uint64_t fbo, ImpellerPixelFormat format, const ImpellerISize *size)
IMPELLER_EXTERN_C ImpellerSurface | impeller::interop::ImpellerSurfaceCreateWrappedMetalDrawableNew (ImpellerContext context, void *metal_drawable)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerSurfaceRetain (ImpellerSurface surface)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerSurfaceRelease (ImpellerSurface surface)
IMPELLER_EXTERN_C bool | impeller::interop::ImpellerSurfaceDrawDisplayList (ImpellerSurface surface, ImpellerDisplayList display_list)
IMPELLER_EXTERN_C bool | impeller::interop::ImpellerSurfacePresent (ImpellerSurface surface)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderDrawTexture (ImpellerDisplayListBuilder builder, ImpellerTexture texture, const ImpellerPoint *point, ImpellerTextureSampling sampling, ImpellerPaint paint)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderDrawTextureRect (ImpellerDisplayListBuilder builder, ImpellerTexture texture, const ImpellerRect *src_rect, const ImpellerRect *dst_rect, ImpellerTextureSampling sampling, ImpellerPaint paint)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerColorSourceRetain (ImpellerColorSource color_source)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerColorSourceRelease (ImpellerColorSource color_source)
static std::pair< std::vector< flutter::DlColor >, std::vector< Scalar > > | impeller::interop::ParseColorsAndStops (uint32_t stop_count, const ImpellerColor *colors, const float *stops)
IMPELLER_EXTERN_C ImpellerColorSource | impeller::interop::ImpellerColorSourceCreateLinearGradientNew (const ImpellerPoint *start_point, const ImpellerPoint *end_point, uint32_t stop_count, const ImpellerColor *colors, const float *stops, ImpellerTileMode tile_mode, const ImpellerMatrix *transformation)
IMPELLER_EXTERN_C ImpellerColorSource | impeller::interop::ImpellerColorSourceCreateRadialGradientNew (const ImpellerPoint *center, float radius, uint32_t stop_count, const ImpellerColor *colors, const float *stops, ImpellerTileMode tile_mode, const ImpellerMatrix *transformation)
IMPELLER_EXTERN_C ImpellerColorSource | impeller::interop::ImpellerColorSourceCreateConicalGradientNew (const ImpellerPoint *start_center, float start_radius, const ImpellerPoint *end_center, float end_radius, uint32_t stop_count, const ImpellerColor *colors, const float *stops, ImpellerTileMode tile_mode, const ImpellerMatrix *transformation)
IMPELLER_EXTERN_C ImpellerColorSource | impeller::interop::ImpellerColorSourceCreateSweepGradientNew (const ImpellerPoint *center, float start, float end, uint32_t stop_count, const ImpellerColor *colors, const float *stops, ImpellerTileMode tile_mode, const ImpellerMatrix *transformation)
IMPELLER_EXTERN_C ImpellerColorSource | impeller::interop::ImpellerColorSourceCreateImageNew (ImpellerTexture image, ImpellerTileMode horizontal_tile_mode, ImpellerTileMode vertical_tile_mode, ImpellerTextureSampling sampling, const ImpellerMatrix *transformation)
static SamplersAndUniforms | impeller::interop::ReadSamplersAndUniforms (ImpellerTexture *samplers, size_t samplers_count, const uint8_t *data, size_t data_bytes_length)
IMPELLER_EXTERN_C ImpellerColorSource | impeller::interop::ImpellerColorSourceCreateFragmentProgramNew (ImpellerContext context, ImpellerFragmentProgram fragment_program, ImpellerTexture *samplers, size_t samplers_count, const uint8_t *data, size_t data_bytes_length)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerColorFilterRetain (ImpellerColorFilter color_filter)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerColorFilterRelease (ImpellerColorFilter color_filter)
IMPELLER_EXTERN_C ImpellerColorFilter | impeller::interop::ImpellerColorFilterCreateBlendNew (const ImpellerColor *color, ImpellerBlendMode blend_mode)
IMPELLER_EXTERN_C ImpellerColorFilter | impeller::interop::ImpellerColorFilterCreateColorMatrixNew (const ImpellerColorMatrix *color_matrix)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerMaskFilterRetain (ImpellerMaskFilter mask_filter)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerMaskFilterRelease (ImpellerMaskFilter mask_filter)
IMPELLER_EXTERN_C ImpellerMaskFilter | impeller::interop::ImpellerMaskFilterCreateBlurNew (ImpellerBlurStyle style, float sigma)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerImageFilterRetain (ImpellerImageFilter image_filter)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerImageFilterRelease (ImpellerImageFilter image_filter)
IMPELLER_EXTERN_C ImpellerImageFilter | impeller::interop::ImpellerImageFilterCreateBlurNew (float x_sigma, float y_sigma, ImpellerTileMode tile_mode)
IMPELLER_EXTERN_C ImpellerImageFilter | impeller::interop::ImpellerImageFilterCreateDilateNew (float x_radius, float y_radius)
IMPELLER_EXTERN_C ImpellerImageFilter | impeller::interop::ImpellerImageFilterCreateErodeNew (float x_radius, float y_radius)
IMPELLER_EXTERN_C ImpellerImageFilter | impeller::interop::ImpellerImageFilterCreateMatrixNew (const ImpellerMatrix *matrix, ImpellerTextureSampling sampling)
IMPELLER_EXTERN_C ImpellerImageFilter | impeller::interop::ImpellerImageFilterCreateFragmentProgramNew (ImpellerContext context, ImpellerFragmentProgram fragment_program, ImpellerTexture *samplers, size_t samplers_count, const uint8_t *data, size_t data_bytes_length)
IMPELLER_EXTERN_C ImpellerImageFilter | impeller::interop::ImpellerImageFilterCreateComposeNew (ImpellerImageFilter outer, ImpellerImageFilter inner)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPaintSetColorFilter (ImpellerPaint paint, ImpellerColorFilter color_filter)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPaintSetColorSource (ImpellerPaint paint, ImpellerColorSource color_source)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPaintSetImageFilter (ImpellerPaint paint, ImpellerImageFilter image_filter)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerPaintSetMaskFilter (ImpellerPaint paint, ImpellerMaskFilter mask_filter)
IMPELLER_EXTERN_C ImpellerParagraphStyle | impeller::interop::ImpellerParagraphStyleNew ()
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphStyleRetain (ImpellerParagraphStyle paragraph_style)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphStyleRelease (ImpellerParagraphStyle paragraph_style)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphStyleSetForeground (ImpellerParagraphStyle paragraph_style, ImpellerPaint paint)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphStyleSetBackground (ImpellerParagraphStyle paragraph_style, ImpellerPaint paint)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphStyleSetFontWeight (ImpellerParagraphStyle paragraph_style, ImpellerFontWeight weight)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphStyleSetFontStyle (ImpellerParagraphStyle paragraph_style, ImpellerFontStyle style)
static std::string | impeller::interop::ReadString (const char *string)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphStyleSetFontFamily (ImpellerParagraphStyle paragraph_style, const char *family_name)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphStyleSetFontSize (ImpellerParagraphStyle paragraph_style, float size)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphStyleSetHeight (ImpellerParagraphStyle paragraph_style, float height)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphStyleSetTextAlignment (ImpellerParagraphStyle paragraph_style, ImpellerTextAlignment align)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphStyleSetTextDirection (ImpellerParagraphStyle paragraph_style, ImpellerTextDirection direction)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphStyleSetTextDecoration (ImpellerParagraphStyle paragraph_style, const ImpellerTextDecoration *decoration)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphStyleSetMaxLines (ImpellerParagraphStyle paragraph_style, uint32_t max_lines)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphStyleSetLocale (ImpellerParagraphStyle paragraph_style, const char *locale)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphStyleSetEllipsis (ImpellerParagraphStyle paragraph_style, const char *ellipsis)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderDrawParagraph (ImpellerDisplayListBuilder builder, ImpellerParagraph paragraph, const ImpellerPoint *point)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerDisplayListBuilderDrawShadow (ImpellerDisplayListBuilder builder, ImpellerPath path, const ImpellerColor *color, float elevation, bool occluder_is_transparent, float device_pixel_ratio)
IMPELLER_EXTERN_C ImpellerParagraphBuilder | impeller::interop::ImpellerParagraphBuilderNew (ImpellerTypographyContext context)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphBuilderRetain (ImpellerParagraphBuilder paragraph_builder)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphBuilderRelease (ImpellerParagraphBuilder paragraph_builder)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphBuilderPushStyle (ImpellerParagraphBuilder paragraph_builder, ImpellerParagraphStyle style)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphBuilderPopStyle (ImpellerParagraphBuilder paragraph_builder)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphBuilderAddText (ImpellerParagraphBuilder paragraph_builder, const uint8_t *data, uint32_t length)
IMPELLER_EXTERN_C ImpellerParagraph | impeller::interop::ImpellerParagraphBuilderBuildParagraphNew (ImpellerParagraphBuilder paragraph_builder, float width)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphRetain (ImpellerParagraph paragraph)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphRelease (ImpellerParagraph paragraph)
IMPELLER_EXTERN_C float | impeller::interop::ImpellerParagraphGetMaxWidth (ImpellerParagraph paragraph)
IMPELLER_EXTERN_C float | impeller::interop::ImpellerParagraphGetHeight (ImpellerParagraph paragraph)
IMPELLER_EXTERN_C float | impeller::interop::ImpellerParagraphGetLongestLineWidth (ImpellerParagraph paragraph)
IMPELLER_EXTERN_C float | impeller::interop::ImpellerParagraphGetMinIntrinsicWidth (ImpellerParagraph paragraph)
IMPELLER_EXTERN_C float | impeller::interop::ImpellerParagraphGetMaxIntrinsicWidth (ImpellerParagraph paragraph)
IMPELLER_EXTERN_C float | impeller::interop::ImpellerParagraphGetIdeographicBaseline (ImpellerParagraph paragraph)
IMPELLER_EXTERN_C float | impeller::interop::ImpellerParagraphGetAlphabeticBaseline (ImpellerParagraph paragraph)
IMPELLER_EXTERN_C uint32_t | impeller::interop::ImpellerParagraphGetLineCount (ImpellerParagraph paragraph)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerParagraphGetWordBoundary (ImpellerParagraph paragraph, size_t code_unit_index, ImpellerRange *out_range)
IMPELLER_EXTERN_C ImpellerTypographyContext | impeller::interop::ImpellerTypographyContextNew ()
IMPELLER_EXTERN_C void | impeller::interop::ImpellerTypographyContextRetain (ImpellerTypographyContext context)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerTypographyContextRelease (ImpellerTypographyContext context)
IMPELLER_EXTERN_C bool | impeller::interop::ImpellerTypographyContextRegisterFont (ImpellerTypographyContext context, const ImpellerMapping *contents, void *contents_on_release_user_data, const char *family_name_alias)
IMPELLER_EXTERN_C ImpellerLineMetrics | impeller::interop::ImpellerParagraphGetLineMetrics (ImpellerParagraph paragraph)
IMPELLER_EXTERN_C ImpellerGlyphInfo | impeller::interop::ImpellerParagraphCreateGlyphInfoAtCodeUnitIndexNew (ImpellerParagraph paragraph, size_t code_unit_index)
IMPELLER_EXTERN_C ImpellerGlyphInfo | impeller::interop::ImpellerParagraphCreateGlyphInfoAtParagraphCoordinatesNew (ImpellerParagraph paragraph, double x, double y)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerLineMetricsRetain (ImpellerLineMetrics line_metrics)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerLineMetricsRelease (ImpellerLineMetrics line_metrics)
IMPELLER_EXTERN_C double | impeller::interop::ImpellerLineMetricsGetUnscaledAscent (ImpellerLineMetrics metrics, size_t line)
IMPELLER_EXTERN_C double | impeller::interop::ImpellerLineMetricsGetAscent (ImpellerLineMetrics metrics, size_t line)
IMPELLER_EXTERN_C double | impeller::interop::ImpellerLineMetricsGetDescent (ImpellerLineMetrics metrics, size_t line)
IMPELLER_EXTERN_C double | impeller::interop::ImpellerLineMetricsGetBaseline (ImpellerLineMetrics metrics, size_t line)
IMPELLER_EXTERN_C bool | impeller::interop::ImpellerLineMetricsIsHardbreak (ImpellerLineMetrics metrics, size_t line)
IMPELLER_EXTERN_C double | impeller::interop::ImpellerLineMetricsGetWidth (ImpellerLineMetrics metrics, size_t line)
IMPELLER_EXTERN_C double | impeller::interop::ImpellerLineMetricsGetHeight (ImpellerLineMetrics metrics, size_t line)
IMPELLER_EXTERN_C double | impeller::interop::ImpellerLineMetricsGetLeft (ImpellerLineMetrics metrics, size_t line)
IMPELLER_EXTERN_C size_t | impeller::interop::ImpellerLineMetricsGetCodeUnitStartIndex (ImpellerLineMetrics metrics, size_t line)
IMPELLER_EXTERN_C size_t | impeller::interop::ImpellerLineMetricsGetCodeUnitEndIndex (ImpellerLineMetrics metrics, size_t line)
IMPELLER_EXTERN_C size_t | impeller::interop::ImpellerLineMetricsGetCodeUnitEndIndexExcludingWhitespace (ImpellerLineMetrics metrics, size_t line)
IMPELLER_EXTERN_C size_t | impeller::interop::ImpellerLineMetricsGetCodeUnitEndIndexIncludingNewline (ImpellerLineMetrics metrics, size_t line)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerGlyphInfoRetain (ImpellerGlyphInfo glyph_info)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerGlyphInfoRelease (ImpellerGlyphInfo glyph_info)
IMPELLER_EXTERN_C size_t | impeller::interop::ImpellerGlyphInfoGetGraphemeClusterCodeUnitRangeBegin (ImpellerGlyphInfo glyph_info)
IMPELLER_EXTERN_C size_t | impeller::interop::ImpellerGlyphInfoGetGraphemeClusterCodeUnitRangeEnd (ImpellerGlyphInfo glyph_info)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerGlyphInfoGetGraphemeClusterBounds (ImpellerGlyphInfo glyph_info, ImpellerRect *out_bounds)
IMPELLER_EXTERN_C bool | impeller::interop::ImpellerGlyphInfoIsEllipsis (ImpellerGlyphInfo glyph_info)
IMPELLER_EXTERN_C ImpellerTextDirection | impeller::interop::ImpellerGlyphInfoGetTextDirection (ImpellerGlyphInfo glyph_info)
static std::shared_ptr< fml::Mapping > | impeller::interop::MakeCopyableMapping (const ImpellerMapping *data, void *user_data)
IMPELLER_EXTERN_C ImpellerFragmentProgram | impeller::interop::ImpellerFragmentProgramNew (const ImpellerMapping *data, void *data_release_user_data)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerFragmentProgramRetain (ImpellerFragmentProgram fragment_program)
IMPELLER_EXTERN_C void | impeller::interop::ImpellerFragmentProgramRelease (ImpellerFragmentProgram fragment_program)

## Macro Definition Documentation

## ◆ DEFINE_PEER_GETTER

#define DEFINE_PEER_GETTER | ( |  | cxx_type,
|  |  | c_type
| ) |  |

Value:
cxx_type* GetPeer(c_type object) { \
return reinterpret_cast<cxx_type*>(object); \
}

Definition at line 56 of file impeller.cc.