Skip to content

Graduate 1.1.0-beta Ink brush features to brush spec version 2. - #883

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1025900768
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1025900768

Conversation

@copybara-service

Copy link
Copy Markdown

Graduate 1.1.0-beta Ink brush features to brush spec version 2.

Add custom brush serialization format version 2 (Version::k2() in C++ and Version.V2 in Kotlin) and update kMaxSupported() and MAX_SUPPORTED to version 2. Graduate BrushBehavior::Source::kTimeFromInputToStrokeEndInSeconds, ColorFunction::HueOffset, ColorFunction::ChromaMultiplier, ColorFunction::LightnessOffset, and the nested TilingTexture and StampingTexture proto encoding from development to version 2. Deprecate the legacy TextureLayer fields (except blend_mode) while retaining them for v0/v1 compatibility, and omit default animation fields when encoding StampingTexture.

Add custom brush serialization format version 2 (`Version::k2()` in C++ and `Version.V2` in Kotlin) and update `kMaxSupported()` and `MAX_SUPPORTED` to version 2. Graduate `BrushBehavior::Source::kTimeFromInputToStrokeEndInSeconds`, `ColorFunction::HueOffset`, `ColorFunction::ChromaMultiplier`, `ColorFunction::LightnessOffset`, and the nested `TilingTexture` and `StampingTexture` proto encoding from development to version 2. Deprecate the legacy `TextureLayer` fields (except `blend_mode`) while retaining them for v0/v1 compatibility, and omit default animation fields when encoding `StampingTexture`.

PiperOrigin-RevId: 1025900768
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants