graphics.image.processing · function ·

SampleGraphicsImageBoundQuadV1

Sample graphics image bound quad v1.

cpufunctiongraphicsgraphics.image.processingimageprocessingsource-exampleyeho

Transform image data through the package's explicit processing contracts.

external SampleGraphicsImageBoundQuadV1(graphicsImageSamplingBindingV1 original binding, graphicsImageRgba8V1 topLeft, graphicsImageRgba8V1 topRight, graphicsImageRgba8V1 bottomLeft, graphicsImageRgba8V1 bottomRight, int xQ16, int yQ16, text source) returns graphicsImageSamplingResultV1

Status: source-declared

Parameters

graphicsImageSamplingBindingV1 original binding
Supply binding as graphicsImageSamplingBindingV1 original.
graphicsImageRgba8V1 topLeft
Supply top left as graphicsImageRgba8V1.
graphicsImageRgba8V1 topRight
Supply top right as graphicsImageRgba8V1.
graphicsImageRgba8V1 bottomLeft
Supply bottom left as graphicsImageRgba8V1.
graphicsImageRgba8V1 bottomRight
Supply bottom right as graphicsImageRgba8V1.
int xQ16
Supply x q16 as int.
int yQ16
Supply y q16 as int.
text source
Supply source as text.

Use SampleGraphicsImageBoundQuadV1

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

cpu · source-example · type checked

using graphics.image.processing

// Transform image data through the package's explicit processing contracts.
graphicsImageSamplingBindingV1 binding = graphicsImageSamplingBindingV1(graphicsImageSamplingPolicyV1("filter", "source Color Space", "source Alpha Mode", "output Color Space", "example"))
graphicsImageRgba8V1 topLeft = graphicsImageRgba8V1(1, 1, 1, 1)
graphicsImageRgba8V1 topRight = graphicsImageRgba8V1(1, 1, 1, 1)
graphicsImageRgba8V1 bottomLeft = graphicsImageRgba8V1(1, 1, 1, 1)
graphicsImageRgba8V1 bottomRight = graphicsImageRgba8V1(1, 1, 1, 1)
int xQ16 = 1
int yQ16 = 1
text source = "example"
graphicsImageSamplingResultV1 result = SampleGraphicsImageBoundQuadV1(binding, topLeft, topRight, bottomLeft, bottomRight, xQ16, yQ16, source)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__samplegraphicsimageboundquadv1"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image.processing"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image/processing"
Notes and source

Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

yeho/packages/graphics/image/processing/filter_color_v1.yh:731