This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
thinkgeo.mapsuite.core.unsafehelper [2015/08/20 03:08] 127.0.0.1 external edit |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== ThinkGeo.MapSuite.Core.UnsafeHelper ====== | ||
| - | |||
| - | |||
| - | |||
| - | <!-- Class --> | ||
| - | This static class is a wrapper contains unsafe native methods | ||
| - | ===== Inheritance Hierarchy ===== | ||
| - | *System.Object | ||
| - | **[[ThinkGeo.MapSuite.Core.UnsafeHelper]] | ||
| - | ===== Members Summary ===== | ||
| - | ==== Public Constructors ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | |||
| - | ==== Protected Constructors ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | |||
| - | ==== Public Methods ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#CopyImage(Bitmap, Bitmap, Rectangle)|CopyImage]] | Bitmap, Bitmap, Rectangle | | This method transfers pixels from source bitmap to destination bitmap within a specified rectangle. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#CopyImage(Bitmap, Graphics, Rectangle, Rectangle, CopyPixelOperation)|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. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#FastLoadImageFromFile(String)|FastLoadImageFromFile]] | String | | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#IsKeyPressed(Keys)|IsKeyPressed]] | Keys | | Returns a value represents is a specified key pressed or not. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | ||
| - | |||
| - | ==== Protected Methods ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | ||
| - | |||
| - | ==== Public Properties ==== | ||
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | ||
| - | |||
| - | ==== Protected Properties ==== | ||
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | ||
| - | |||
| - | ==== Public Events ==== | ||
| - | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | ||
| - | |||
| - | ===== Public Constructors ===== | ||
| - | ===== Protected Constructors ===== | ||
| - | ===== Public Methods ===== | ||
| - | ==== CopyImage(Bitmap, Bitmap, Rectangle) ==== | ||
| - | <!-- static --> | ||
| - | 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 ^ Description ^ | ||
| - | | Void<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | source | Bitmap<!-- System.Drawing.Bitmap --> | source bitmap | | ||
| - | | target | Bitmap<!-- System.Drawing.Bitmap --> | target bitmap | | ||
| - | | r | Rectangle<!-- System.Drawing.Rectangle --> | the specified rectangle | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.UnsafeHelper --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== CopyImage(Bitmap, Graphics, Rectangle, Rectangle, CopyPixelOperation) ==== | ||
| - | <!-- static --> | ||
| - | 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 ^ Description ^ | ||
| - | | Void<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | source | Bitmap<!-- System.Drawing.Bitmap --> | source bitmap | | ||
| - | | target | Graphics<!-- System.Drawing.Graphics --> | target graphics | | ||
| - | | sourceRectangle | Rectangle<!-- System.Drawing.Rectangle --> | the specified rectangle for source bitmap | | ||
| - | | targetRectangle | Rectangle<!-- System.Drawing.Rectangle --> | the specified rectangle for target graphics | | ||
| - | | copyPixelOperation | CopyPixelOperation<!-- System.Drawing.CopyPixelOperation --> | 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. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.UnsafeHelper --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== Equals(Object) ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Boolean<!-- System.Boolean --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | obj | Object<!-- System.Object --> | | | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== FastLoadImageFromFile(String) ==== | ||
| - | <!-- static --> | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Bitmap<!-- System.Drawing.Bitmap --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | pathFileName | String<!-- System.String --> | | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.UnsafeHelper --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== GetHashCode() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Int32<!-- System.Int32 --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== GetType() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Type<!-- System.Type --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== IsKeyPressed(Keys) ==== | ||
| - | <!-- static --> | ||
| - | Returns a value represents is a specified key pressed or not. | ||
| - | === Remarks === | ||
| - | It will call User32.dll API GetAsyncKeyState internally. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Boolean<!-- System.Boolean --> | Returns a value represents is a specified key pressed or not. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | keys | Keys<!-- System.Windows.Forms.Keys --> | An enum represents which key is pressed or not. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.Core.UnsafeHelper --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== ToString() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | String<!-- System.String --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ===== Protected Methods ===== | ||
| - | ==== Finalize() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Void<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== MemberwiseClone() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Object<!-- System.Object --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ===== Public Properties ===== | ||
| - | ===== Protected Properties ===== | ||
| - | ===== Public Events ===== | ||
| - | __NOTOC__ | ||
| - | [[Category:MapSuiteCore]] | ||
| - | [[Category:ThinkGeo.MapSuite.Core]] | ||
| - | [[Category:UpdateDocumentation]] | ||
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.