IXC_DrawFlags Enumeration

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IXC_DrawFlags Enumeration}}
 
{{#customTitle:IXC_DrawFlags Enumeration}}
 +
{{#parentPage:PXV:IXC_Enumerations|IXC_DrawFlags|enum}}
  
Specifies the ...
+
Specifies the flags that define how the image should be drawn.
  
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">enum IXC_DrawFlags
 
<pre class="brush:cpp;gutter:false">enum IXC_DrawFlags
 
{
 
{
     DrawFlags_FillBackGround = 1;
+
     DrawFlags_FillBackGround     = 1,
     DrawFlags_UseTransparentColor = 2;
+
     DrawFlags_UseTransparentColor = 2,
     DrawFlags_IgnorePageAlpha = 16;
+
     DrawFlags_IgnorePageAlpha     = 16,
     DrawFlags_No_B_Channel = 256;
+
     DrawFlags_No_B_Channel       = 256,
     DrawFlags_No_G_Channel = 512;
+
     DrawFlags_No_G_Channel       = 512,
     DrawFlags_No_R_Channel = 1024;
+
     DrawFlags_No_R_Channel       = 1024,
     DrawFlags_IgnoreAlphaChannel = 2048;
+
     DrawFlags_IgnoreAlphaChannel = 2048,
 
};
 
};
 
</pre>
 
</pre>
Line 19: Line 21:
 
== Constants ==
 
== Constants ==
 
;DrawFlags_FillBackGround
 
;DrawFlags_FillBackGround
:The ...
+
:If this flag is set, the destination rectangle will be filled with page's background color (see [[PXV:IIXC_Page_BackgroundColor|IIXC_Page_BackgroundColor]]), before drawing.
 
;DrawFlags_UseTransparentColor
 
;DrawFlags_UseTransparentColor
:The ...
+
:If this flag is set, the pixels of the page that have the same color value as page's transparent color (see IMG_PageSetTransparentColor) will not be drawn, and the destination surface will be unchanged, within the corresponding area.
 
;DrawFlags_IgnorePageAlpha
 
;DrawFlags_IgnorePageAlpha
:The ...
+
:''reserved'': should not be used.
 
;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 ...
+

Latest revision as of 09:33, 23 May 2015

Specifies the flags that 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 IIXC_Page_BackgroundColor), before drawing.
DrawFlags_UseTransparentColor
If this flag is set, the pixels of the page that have the same color value as page's transparent color (see IMG_PageSetTransparentColor) will not be drawn, and the destination surface will be unchanged, within the corresponding area.
DrawFlags_IgnorePageAlpha
reserved: should not be used.
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.