See Also
You are here: Player Plug-ins > Definitions > Visual Effect Plug-ins > Visual Effect Plug-ins Structs, Enums > BlitInfo Structure
QMP Developer Reference Guide
ContentsIndexHome
PreviousUpNext
BlitInfo Structure

opComposite control information: Source image pixels are transformed and alpha-blended into destination pixels. The coordinate system is x positive to the right, y positive down. The floating point values offsetx and offsety allow for micropixel motion of images. Images are antialiased using supersampling, the quality of which is determined by the .res value: supersampling factor = 1 << (2 * .res) samples per destination pixel. If src.alphaEnable != 0, src pixels also use their alpha channel for transparency. If dst.alphaEnable != 0, dst pixels also use their alpha channel for permeability. See Notes document for discussion.

public: struct BlitInfo {
  Raster src;
  Raster dst;
  long alpha;
  long res;
  double scalex, scaley;
  double shearx, sheary;
  double rotate;
  double offsetx, offsety;
};
File
Members
Members 
Description 
src 
source image 
dst 
destination image transform applied to src in dst space: 
alpha 
blend value: 0 <= alpha <= 255 
res 
supersampling factor: 0 <= res 
shearx 
scaling 
sheary 
scaling 
rotate 
rotation: in degrees clockwise 
See Also
Copyright (c) Quinnware 2007. All rights reserved.