Skip to content

[AGGPas] TAgg2D.Attach: Access violation when second parameter is true #167

Description

@rchastain2

There is an access violation if we write this:

begin
  LAgg := TAgg2D.Create(self);
  if LAgg.Attach(FImage, true) then

I don't really need it, because I found another solution for the project I am working on:

    LAgg.Scale(1, -1);
    LAgg.Translate(0, CWidgetHeight);

But I wanted to report the bug (?).

P.-S. No, in fact my "other solution" doesn't flip the image. I changes the coordinate system, but if I draw text, it is still upside down.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions