Skip to content

Bitmap drawing scaling issue #227

Description

@pleeric

Description

When using option_bitmap_scale(), coordinate's seem to be a bit awkward to work with:

The first image is with no scaling, the top-left corner's location is at (0, 0). The second has (0.2, 0.2) scaling with the (x, y) of the top-left corner also set to (0, 0), but is not drawn to that location:

Image Image

I haven't tested this with rotations and other drawings, so might be good to take a look at those as well

Potential Causes?

Maybe somewhere in splashkit-core > coresdk > src > backend > graphics_driver.cpp > sk_draw_bitmap()

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