Skip to content
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

Inheritance Hierarchy

  • BmpPicture

Syntax

public class BmpPicture : Picture

Constructors

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

Properties

name description
IsLoaded __

Methods

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

Events

name description
Clone this wiki locally