-
-
Notifications
You must be signed in to change notification settings - Fork 10
Crow.BmpPicture
Jean-Philippe Bruyère edited this page Oct 26, 2021
·
4 revisions
Derived from FILL for loading and drawing bitmaps in the interface
namespace: Crow
BmpPicture
public class BmpPicture : Picture
⬜ | prototype | description |
---|---|---|
![]() |
BmpPicture () |
Initializes a new instance of BmpPicture. |
![]() |
BmpPicture (string path) |
Initializes a new instance of BmpPicture by loading the image pointed by the path argument |
⬜ | name | description |
---|---|---|
![]() |
IsLoaded |
__ |
⬜ | prototype | description |
---|---|---|
![]() |
void load(Interface iFace) |
load the image for rendering from the path given as argument |
![]() |
void Paint(Interface iFace, Context gr, Rectangle rect, string subPart="") |
paint the image in the rectangle given in arguments according to the Scale and keepProportion parameters. |
![]() |
void SetAsSource(Interface iFace, Context ctx, Rectangle bounds=default(Rectangle)) |
set content of fill as source for drawing operations on the backend context |
⬜ | name | description |
---|