Skip to content

how to blit bitmap? #1

Open
Open
@sailfish009

Description

@sailfish009

Hi, i am testing bitmap display with basicbitmap,

but, it didn't displayed on window, how to do it properly?

https://github.com/sailfish009/StreamPlayer/blob/master/Frame.cpp

BasicBitmap bitmap = BasicBitmap(width_, height_,BasicBitmap::A8R8G8B8, pixelsPtr_,2048);
bitmap.Blit(rc.left, rc.top, &bitmap, rc.right - rc.left, rc.bottom - rc.top, width_, height_);

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