mirror of
https://github.com/servo/servo.git
synced 2025-06-18 22:34:30 +01:00
Add Servo_ComposeAnimationSegment which composes an animation segment.
This commit is contained in:
parent
1f5551c397
commit
52c81a0a84
2 changed files with 185 additions and 114 deletions
|
@ -2776,9 +2776,22 @@ extern "C" {
|
|||
RawGeckoAnimationPropertySegmentBorrowed,
|
||||
computed_timing:
|
||||
RawGeckoComputedTimingBorrowed,
|
||||
iteration_composite:
|
||||
iter_composite:
|
||||
IterationCompositeOperation);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_ComposeAnimationSegment(animation_segment:
|
||||
RawGeckoAnimationPropertySegmentBorrowed,
|
||||
underlying_value:
|
||||
RawServoAnimationValueBorrowedOrNull,
|
||||
last_value:
|
||||
RawServoAnimationValueBorrowedOrNull,
|
||||
iter_composite:
|
||||
IterationCompositeOperation,
|
||||
progress: f64,
|
||||
current_iteration: u64)
|
||||
-> RawServoAnimationValueStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_DeclarationBlock_PropertyIsSet(declarations:
|
||||
RawServoDeclarationBlockBorrowed,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue