Table of Contents

wxBitmap

include file: wxGraphics.e


The first creation parameter should define the method of creation.

  • func convert_to_image( atom bitmap )   
  • func get_bitmap_size( atom bitmap )   
  • proc set_bitmap_size( atom bm, integer cx, integer cy )   
  • proc set_mask( atom bmp, atom mask )     
     
    Parent Topics:
  • Classes
  • Graphics  
     
    Subtopics:
  • wxMask


    Table of Contents

    [func]
    convert_to_image
    ( atom bitmap )

    Category: wxBitmap

    Takes a wxBitmap and returns a wxImage.

    See Also: get_bitmap_size, set_bitmap_size, set_mask



    Table of Contents

    [func]
    get_bitmap_size
    ( atom bitmap )

    Category: wxBitmap

    Returns sequence containing the width and height of the bitmap, respectively.

    See Also: convert_to_image, set_bitmap_size, set_mask



    Table of Contents

    [proc]
    set_bitmap_size
    ( atom bm, integer cx, integer cy )

    Category: wxBitmap

    See Also: convert_to_image, get_bitmap_size, set_mask



    Table of Contents

    [proc]
    set_mask
    ( atom bmp, atom mask )

    Category: wxBitmap

    Sets the specified mask to be the associated wxMask for the specified bmp.

    See Also: convert_to_image, get_bitmap_size, set_bitmap_size