Property | Type | Description | |
---|---|---|---|
ClearCodecImage | |||
MaxBmpHeight | ushort | ||
MaxBmpWidth | ushort | ||
RfxProgCodecImage | |||
cacheKey | ulong | ||
cacheRect | |||
ccBandHeight | ushort | ||
ccBandHeight2 | ushort | ||
ccBandWidth | ushort | ||
ccBandWidth2 | ushort | ||
ccGlyphIndex | ushort | ||
ccGlyphWidth | ushort | ||
ccLargeBandHeight | ushort | ||
ccLargeBandWidth | ushort | ||
ccMaxBandHeight | ushort | ||
ccMaxGlyphIndexNum | ushort | ||
ccMaxGlyphSize | ushort | ||
ccSmallGlyphHeight | ushort | ||
ccSmallGlyphWidth | ushort | ||
ccSubcodecHeight | ushort | ||
ccSubcodecMaxWidth | ushort | ||
ccSubcodecWidth | ushort | ||
copySrcRect | |||
copySrcRect2 | |||
delaySeconds | byte | ||
desktopHeight | uint | ||
desktopWidth | uint | ||
fillColorARGB | |||
fillColorBlue | |||
fillColorGreen | |||
fillColorRed | |||
imgPos | |||
imgPos2 | |||
imgPos3 | |||
imgPos4 | |||
largeCacheRect | |||
largeSurfHeight | ushort | ||
largeSurfWidth | ushort | ||
maxCacheSize | int | ||
maxCacheSizeForSmallCache | int | ||
maxCacheSlot | ushort | ||
maxCacheSlotForSmallCache | ushort | ||
maxMonitorCount | uint | ||
maxRfxProgCodecContextId | uint | ||
segmentPartSize | uint | ||
smallHeight | ushort | ||
smallWidth | ushort | ||
surfHeight | ushort | ||
surfHeight2 | ushort | ||
surfHeight3 | ushort | ||
surfPos | |||
surfPos2 | |||
surfPos3 | |||
surfPos4 | |||
surfWidth | ushort | ||
surfWidth2 | ushort | ||
surfWidth3 | ushort |
Method | Description | |
---|---|---|
ConvertToRect ( |
Convert a position and width/height into Rectangle structure
|
|
DrawGradientImage ( int w, int h, Color startColor ) : |
Draw an image with gradient color. The image is only used for clearcode subcodec test, and the width of image can't exceed 128.
|
|
DrawImage ( int w, int h, Color c ) : |
Draw an image with a color
|
|
DrawImageWithUniqueColor ( int w, int h, Color startColor ) : |
Draw a bitmap with each pixel has unique color. The image is only used for clearcode subcodec test, and the pixel number in image can't exceed 128.
|
|
DrawSurfImage ( Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx.Surface surf, Color bgcolor, |
Draw an image for surface, which has a bitmap in surface.
|
|
ToRdpgfx_Color32 ( Color c ) : |
Transform a C# color into RDPGRX_COLOR32 structure
|
|
captureFromImage ( Image srcImage, |
Capture a bitmap from an image
|
|
captureFromScreen ( int left, int top, int width, int height ) : |
Capture a bitmap from screen
|
|
drawDiagonal ( Image srcImage ) : |
Draw an image with a diagonal
|
public static ConvertToRect ( |
||
pos | Left-top position of a rectangle | |
width | ushort | Width of a rectangle |
height | ushort | Height of a rectangle |
return |
public static DrawGradientImage ( int w, int h, Color startColor ) : |
||
w | int | Width of an image |
h | int | Height of an image |
startColor | Color | The start color to draw image |
return |
public static DrawImage ( int w, int h, Color c ) : |
||
w | int | Width of an image |
h | int | Height of an image |
c | Color | The color to fill image |
return |
public static DrawImageWithUniqueColor ( int w, int h, Color startColor ) : |
||
w | int | Width of image |
h | int | Height of image |
startColor | Color | The start color to draw image |
return |
public static DrawSurfImage ( Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx.Surface surf, Color bgcolor, |
||
surf | Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx.Surface | Indicate the size of surface image |
bgcolor | Color | Indicate the background color of surface image |
pic | The bitmap to be drawn in surface image | |
picPos | The bitmap position in surface | |
return |
public static ToRdpgfx_Color32 ( Color c ) : |
||
c | Color | Color to be converted |
return |
public static captureFromImage ( Image srcImage, |
||
srcImage | Image | The source of captured bitmap |
capPos | Left-top position in source image for captured bitmap | |
width | int | Width of captured bitmap |
height | int | Height of captured bitmap |
bgImage | Image | The image after a part is captured |
return |
public static captureFromScreen ( int left, int top, int width, int height ) : |
||
left | int | Left position in screen for captured bitmap |
top | int | Top position in screen for captured bitmap |
width | int | Width of captured bitmap |
height | int | Height of captured bitmap |
return |
public static drawDiagonal ( Image srcImage ) : |
||
srcImage | Image | The source image |
return |
public Bitmap,System.Drawing ClearCodecImage | ||
return |
public Bitmap,System.Drawing RfxProgCodecImage | ||
return |
public static RDPGFX_RECT16,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx cacheRect | ||
return |
public static ushort ccMaxGlyphIndexNum | ||
return | ushort |
public static ushort ccSmallGlyphHeight | ||
return | ushort |
public static ushort ccSubcodecMaxWidth | ||
return | ushort |
public static RDPGFX_RECT16,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx copySrcRect | ||
return |
public static RDPGFX_RECT16,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx copySrcRect2 | ||
return |
public static RDPGFX_COLOR32,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx fillColorARGB | ||
return |
public static RDPGFX_COLOR32,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx fillColorBlue | ||
return |
public static RDPGFX_COLOR32,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx fillColorGreen | ||
return |
public static RDPGFX_COLOR32,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx fillColorRed | ||
return |
public static RDPGFX_POINT16,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx imgPos | ||
return |
public static RDPGFX_POINT16,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx imgPos2 | ||
return |
public static RDPGFX_POINT16,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx imgPos3 | ||
return |
public static RDPGFX_POINT16,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx imgPos4 | ||
return |
public static RDPGFX_RECT16,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx largeCacheRect | ||
return |
public static int maxCacheSizeForSmallCache | ||
return | int |
public static ushort maxCacheSlotForSmallCache | ||
return | ushort |
public static uint maxRfxProgCodecContextId | ||
return | uint |
public static RDPGFX_POINT16,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx surfPos | ||
return |
public static RDPGFX_POINT16,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx surfPos2 | ||
return |
public static RDPGFX_POINT16,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx surfPos3 | ||
return |
public static RDPGFX_POINT16,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpegfx surfPos4 | ||
return |