graphics.image.processing · function ·

SampleGraphicsImageQuadV1

Sample graphics image quad v1.

cpufunctiongraphicsgraphics.image.processingimageprocessingsource-exampleyeho

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

external SampleGraphicsImageQuadV1(graphicsImageSamplingPolicyV1 policy, text contentIdentity, graphicsImageRgba8V1 topLeft, graphicsImageRgba8V1 topRight, graphicsImageRgba8V1 bottomLeft, graphicsImageRgba8V1 bottomRight, int xQ16, int yQ16, text source) returns graphicsImageSamplingResultV1

Status: source-declared

Parameters

graphicsImageSamplingPolicyV1 policy
Supply policy as graphicsImageSamplingPolicyV1.
text contentIdentity
Supply content identity as text.
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 SampleGraphicsImageQuadV1

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.
graphicsImageSamplingPolicyV1 policy = graphicsImageSamplingPolicyV1("filter", "source Color Space", "source Alpha Mode", "output Color Space", "example")
text contentIdentity = "sample"
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 = SampleGraphicsImageQuadV1(policy, contentIdentity, topLeft, topRight, bottomLeft, bottomRight, xQ16, yQ16, source)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__samplegraphicsimagequadv1"
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:747