Skip to content

beginTextureFills being scaled incorrectly sometimes  #121

Description

@mikhailkuts

Hi, I reopening issue #82 (comment) .
Problem still exist. Example for reproduce:

var renderTxt:RenderTexture = new RenderTexture(200, 200);

var shape:Shape = new Shape();

shape.graphics.beginFill(0xFF02F1);
shape.graphics.drawCircle(100, 100, 100);
shape.graphics.endFill();

renderTxt.draw(shape);

shape.graphics.clear();

view.addChild(shape);

shape.graphics.beginTextureFill(renderTxt);

shape.graphics.moveTo(0, 0);
shape.graphics.lineTo(200, 0);
shape.graphics.lineTo(200, 200);
shape.graphics.lineTo(0, 200);

shape.graphics.endFill();

Filled circle is smaller than it should be.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions