This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo.mapsuite.core.unsafehelper [2015/09/17 10:41] admin |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ThinkGeo.MapSuite.Core.UnsafeHelper ====== | ||
- | This static class is a wrapper contains unsafe native methods | ||
- | ===== Inheritance Hierarchy ===== | ||
- | *System.Object | ||
- | ***ThinkGeo.MapSuite.Core.UnsafeHelper** | ||
- | ===== Members Summary ===== | ||
- | === Public Constructors === | ||
- | === Protected Constructors === | ||
- | === Public Methods === | ||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#CopyImage(Bitmap,Bitmap,Rectangle)|CopyImage]]** | ||
- | * **Parameters**:Bitmap,Bitmap,Rectangle | ||
- | * **DeclaringType**:N/A | ||
- | * **Summary**:This method transfers pixels from source bitmap to destination bitmap within a specified rectangle. | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#CopyImage(Bitmap,Graphics,Rectangle,Rectangle,CopyPixelOperation)|CopyImage]]** | ||
- | * **Parameters**:Bitmap,Graphics,Rectangle,Rectangle,CopyPixelOperation | ||
- | * **DeclaringType**:N/A | ||
- | * **Summary**:This method transfers pixels from source bitmap with a specified source rectangle to destination a specified destination rectangle by specified CopyPixelOperation. | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#Equals(Object)|Equals]]** | ||
- | * **Parameters**:Object | ||
- | * **DeclaringType**:Object | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#FastLoadImageFromFile(String)|FastLoadImageFromFile]]** | ||
- | * **Parameters**:String | ||
- | * **DeclaringType**:N/A | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#GetHashCode()|GetHashCode]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:Object | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#GetType()|GetType]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:Object | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}}[[#IsKeyPressed(Keys)|IsKeyPressed]]** | ||
- | * **Parameters**:Keys | ||
- | * **DeclaringType**:N/A | ||
- | * **Summary**:Returns a value represents is a specified key pressed or not. | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:PublicMethod.gif|}}[[#ToString()|ToString]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:Object | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | === Protected Methods === | ||
- | <div class_table> | ||
- | **{{wiki:ProtectedMethod.gif|}}[[#Finalize()|Finalize]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:Object | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | <div class_table> | ||
- | **{{wiki:ProtectedMethod.gif|}}[[#MemberwiseClone()|MemberwiseClone]]** | ||
- | * **Parameters**:N/A | ||
- | * **DeclaringType**:Object | ||
- | * **Summary**:N/A | ||
- | </div> | ||
- | |||
- | === Public Properties === | ||
- | === Protected Properties === | ||
- | === Public Events === | ||
- | ===== Public Constructors ===== | ||
- | ===== Protected Constructors ===== | ||
- | ===== Public Methods ===== | ||
- | === CopyImage(Bitmap,Bitmap,Rectangle) === | ||
- | This method transfers pixels from source bitmap to destination bitmap within a specified rectangle. | ||
- | ==== Remarks ==== | ||
- | It will call GDI32.dll API CreateCompatibleDC and BitBlt. | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Void | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | **source** | ||
- | * **Type**:Bitmap | ||
- | * **Description**:source bitmap | ||
- | |||
- | **target** | ||
- | * **Type**:Bitmap | ||
- | * **Description**:target bitmap | ||
- | |||
- | **r** | ||
- | * **Type**:Rectangle | ||
- | * **Description**:the specified rectangle | ||
- | |||
- | [[#Public Methods|Go Back]] | ||
- | === CopyImage(Bitmap,Graphics,Rectangle,Rectangle,CopyPixelOperation) === | ||
- | This method transfers pixels from source bitmap with a specified source rectangle to destination a specified destination rectangle by specified CopyPixelOperation. | ||
- | ==== Remarks ==== | ||
- | It will call GDI32.dll API CreateCompatibleDC and BitBlt. | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Void | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | **source** | ||
- | * **Type**:Bitmap | ||
- | * **Description**:source bitmap | ||
- | |||
- | **target** | ||
- | * **Type**:Graphics | ||
- | * **Description**:target graphics | ||
- | |||
- | **sourceRectangle** | ||
- | * **Type**:Rectangle | ||
- | * **Description**:the specified rectangle for source bitmap | ||
- | |||
- | **targetRectangle** | ||
- | * **Type**:Rectangle | ||
- | * **Description**:the specified rectangle for target graphics | ||
- | |||
- | **copyPixelOperation** | ||
- | * **Type**:CopyPixelOperation | ||
- | * **Description**:Specifies a raster-operation code.These codes define how the color data for the source rectangle is to be combined with the color data for the destination rectangle to achieve the final color. | ||
- | |||
- | [[#Public Methods|Go Back]] | ||
- | === Equals(Object) === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Boolean | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | **obj** | ||
- | * **Type**:Object | ||
- | * **Description**:N/A | ||
- | |||
- | [[#Public Methods|Go Back]] | ||
- | === FastLoadImageFromFile(String) === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Bitmap | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | **pathFileName** | ||
- | * **Type**:String | ||
- | * **Description**:N/A | ||
- | |||
- | [[#Public Methods|Go Back]] | ||
- | === GetHashCode() === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Int32 | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Public Methods|Go Back]] | ||
- | === GetType() === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Type | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Public Methods|Go Back]] | ||
- | === IsKeyPressed(Keys) === | ||
- | Returns a value represents is a specified key pressed or not. | ||
- | ==== Remarks ==== | ||
- | It will call User32.dll API GetAsyncKeyState internally. | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Boolean | ||
- | * **Description**:Returns a value represents is a specified key pressed or not. | ||
- | |||
- | ==== Parameters ==== | ||
- | **keys** | ||
- | * **Type**:Keys | ||
- | * **Description**:An enum represents which key is pressed or not. | ||
- | |||
- | [[#Public Methods|Go Back]] | ||
- | === ToString() === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:String | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Public Methods|Go Back]] | ||
- | ===== Protected Methods ===== | ||
- | === Finalize() === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Void | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Protected Methods|Go Back]] | ||
- | === MemberwiseClone() === | ||
- | N/A | ||
- | ==== Remarks ==== | ||
- | N/A | ||
- | |||
- | **Return Value** | ||
- | * **Return Type**:Object | ||
- | * **Description**:N/A | ||
- | |||
- | ==== Parameters ==== | ||
- | [[#Protected Methods|Go Back]] | ||
- | ===== Public Properties ===== | ||
- | ===== Protected Properties ===== | ||
- | ===== Public Events ===== | ||
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.