IXC_DrawFlags Enumeration

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 5: Line 5:
 
{{ToReview}}
 
{{ToReview}}
  
Specifies the ...
+
Specifies the flags which define how the image should be drawn.
  
 
== Syntax ==
 
== Syntax ==
Line 22: Line 22:
 
== Constants ==
 
== Constants ==
 
;DrawFlags_FillBackGround
 
;DrawFlags_FillBackGround
:The ...
+
:If this flag is set, the destination rectangle will be filled with page's background color (see IMG_PageSetBgColor) before drawing.
 
;DrawFlags_UseTransparentColor
 
;DrawFlags_UseTransparentColor
:The ...
+
:If this flag is set, the pixels of the page which has the same color value as page's transparent color (see IMG_PageSetTransparentColor) will not be drawn, and destination surface will be unchanged within the corresponding area.
 
;DrawFlags_IgnorePageAlpha
 
;DrawFlags_IgnorePageAlpha
 
:The ...
 
:The ...
 
;DrawFlags_No_B_Channel
 
;DrawFlags_No_B_Channel
:The ...
+
:If this flag is set, the blue channel of the image will be ignored while drawing.
 
;DrawFlags_No_G_Channel
 
;DrawFlags_No_G_Channel
:The ...
+
:If this flag is set, the green channel of the image will be ignored while drawing.
 
;DrawFlags_No_R_Channel
 
;DrawFlags_No_R_Channel
:The ...
+
:If this flag is set, the red channel of the image will be ignored while drawing.
 
;DrawFlags_IgnoreAlphaChannel
 
;DrawFlags_IgnoreAlphaChannel
:The ...
+
:If this flag is set, the page's alpha channel will be ignored while drawing.
  
 
== See Also ==
 
== See Also ==
See also ...
+
:[[PXV:IIXC_Page_DrawToDC|IIXC_Page:DrawToDC]]

Revision as of 01:45, 30 April 2015


Specifies the flags which define how the image should be drawn.

Syntax

enum IXC_DrawFlags
{
    DrawFlags_FillBackGround      = 1;
    DrawFlags_UseTransparentColor = 2;
    DrawFlags_IgnorePageAlpha     = 16;
    DrawFlags_No_B_Channel        = 256;
    DrawFlags_No_G_Channel        = 512;
    DrawFlags_No_R_Channel        = 1024;
    DrawFlags_IgnoreAlphaChannel  = 2048;
};

Constants

DrawFlags_FillBackGround
If this flag is set, the destination rectangle will be filled with page's background color (see IMG_PageSetBgColor) before drawing.
DrawFlags_UseTransparentColor
If this flag is set, the pixels of the page which has the same color value as page's transparent color (see IMG_PageSetTransparentColor) will not be drawn, and destination surface will be unchanged within the corresponding area.
DrawFlags_IgnorePageAlpha
The ...
DrawFlags_No_B_Channel
If this flag is set, the blue channel of the image will be ignored while drawing.
DrawFlags_No_G_Channel
If this flag is set, the green channel of the image will be ignored while drawing.
DrawFlags_No_R_Channel
If this flag is set, the red channel of the image will be ignored while drawing.
DrawFlags_IgnoreAlphaChannel
If this flag is set, the page's alpha channel will be ignored while drawing.

See Also

IIXC_Page:DrawToDC