G2D Miscellaneous Functions

Useful functions included in the G2D library.

  • G2D.BGPic.CreateSkinned(width, height, skin_struct)


G2D.BGPic.CreateSkinned(width, height, skin_struct)

BGId = G2DBGPic.CreateSkinned(width, height, skin)

Returns a BGPic of the desired sizes ('width' and 'height') skinned with the the skin layers defined by 'skin'.

INPUT

  • width : BGPic width
  • height : BGPic height
  • skin : Skin definition (see skinning functions)

OUTPUT

  • BGId : BGPic id


hollywoodlibs/g2d/misc.txt · Ultima modifica: 2017/04/25 08:26 da admin
CC Attribution-Noncommercial 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0