Skip to content

Bitmap drawing scaling issue #227

@pleeric

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions