graphics.image.processing · thing ·

graphicsImagePresentationColorCostV1

A graphics image presentation color cost v1 record carrying transferConversions, premultiplyOperations, tintMultiplications, opacityMultiplications, sourceOverMultiplications, and related state.

cpugraphicsgraphics.image.processingimagemethodprocessingsource-examplethingyeho

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

external thing graphicsImagePresentationColorCostV1

Status: source-declared

Fields and methods (10)
int transferConversions
Stores transfer conversions as int.
int premultiplyOperations
Stores premultiply operations as int.
int tintMultiplications
Stores tint multiplications as int.
int opacityMultiplications
Stores opacity multiplications as int.
int sourceOverMultiplications
Stores source over multiplications as int.
int outputUnpremultiplyDivisions
Stores output unpremultiply divisions as int.
int outputQuantizationComparisons
Stores output quantization comparisons as int.
int totalWideMultiplications
Stores total wide multiplications as int.
graphicsImagePresentationColorCostV1(bool admitted, int outputUnpremultiplyDivisions, int outputQuantizationComparisons)
Graphics image presentation color cost v1.
Snapshot() returns text
Snapshot. Complete example

Use graphicsImagePresentationColorCostV1

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.
graphicsImagePresentationColorCostV1 sample = graphicsImagePresentationColorCostV1(true, 1, 1)
Console.Log(Text.From(sample.transferConversions))
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagepresentationcolorcostv1"
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"

graphicsImagePresentationColorCostV1.Snapshot

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using graphics.image.processing

// Snapshot.
graphicsImagePresentationColorCostV1 instance = graphicsImagePresentationColorCostV1(true, 1, 1)
text result = instance.Snapshot()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagepresentationcolorcostv1"
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/presentation_color_v1.yh:39