Skip to content

DecorationImage - lerp and scale #12452

Description

@Hixie

BoxDecoration wants to lerp and scale DecorationImage.

Activity

  1. added
    c: new featureNothing broken; request for a new capability
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Oct 8, 2017
  2. added this to the milestone on Oct 8, 2017
  3. Hixie commented on Oct 20, 2017

    @Hixie
    ContributorAuthor

    This should now be easy since we could just have it create a _CombinedImageDecoration that creates a _CombinedImageDecorationPainter that paints both images dissolved, the way Porter and Duff intended.

  4. modified the milestones: , on Oct 20, 2017
  5. alamboley commented on Jun 27, 2018

    @alamboley

    Hi @Hixie any update on the scale applied to the DecorationImage? It seems it is not supported yet, right?

  6. Hixie commented on Jun 27, 2018

    @Hixie
    ContributorAuthor

    Not yet, but it should be relatively easy to implement if anyone wants to submit a PR.

  7. AyushBherwani1998 commented on Apr 7, 2020

    @AyushBherwani1998
    Member

    @shihaohong I would like to work on this issue.

    I checked the source code, the paintImage function which is used to paint Image on the canvas, has scale property. If we add the scale property in DecorationImage we can use that in paintImage function. WDYT?

  8. shihaohong commented on Apr 7, 2020

    @shihaohong
    Contributor

    I'm not as familiar with the painting layer, but if you're able to put together a PR and a sample app in the description describing the desired behavior, I'd be happy to take a look at it!

  9. AyushBherwani1998 commented on Apr 8, 2020

    @AyushBherwani1998
    Member

    Sure, I'll send a PR. I'm just not sure how can I write a test for scale, cause I'm also not much familiar with Canvas and painting. I'll try from my end. Let's see how it goes.

  10. AyushBherwani1998 commented on Apr 8, 2020

    @AyushBherwani1998
    Member

    @shihaohong I have submitted a PR. Looking forward to the reviews :)

  11. added
    P2Important issues not at the top of the work list
    on May 29, 2020
  12. hasnentai commented on Jul 13, 2020

    @hasnentai
    Contributor

    @Hixie I would like to work on lerp for DecorationImage

  13. 14 remaining items

  14. github-actions commented on Aug 10, 2023

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  15. locked as resolved and limited conversation to collaborators on Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilityframeworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework teamwaiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions