What parameters I can pass to this function?


I found a <a href="http://www.swissdelphicenter.ch/en/showcode.php?id=1199" rel="nofollow">function</a>

function RotateBitmap(var hDIB: HGlobal;  radang: Double; clrBack: TColor): Boolean;

that rotates an image. But I don't know how to call this function. What parameters I can pass to this function. I don't know how to use this func at all.


Judging by the code presented hDIB is a pointer to a single memory block containing 2 structures - BitmapInfo and bitmap's pixel array. You can obtain these structures from TBitmap using <a href="http://docwiki.embarcadero.com/VCL/en/Graphics.GetDIBSizes" rel="nofollow">GetDIBSizes</a> and <a href="http://docwiki.embarcadero.com/VCL/en/Graphics.GetDIB" rel="nofollow">GetDIB</a> functions.

If you are interested in bitmap transformations you can follow David's advice and try <a href="http://sourceforge.net/projects/graphics32/" rel="nofollow">graphics32</a>


  • Can't update Label from other class in Swift
  • iPhone: what is mean Landscape? [closed]
  • Unity object not rotating around correct axis
  • Simulate keypress in java to write user inputs to another application
  • Applying Coefficient of Restitution in a collision resolution method
  • How to rotate a PShape around its centre?
  • FLAG_ACTIVITY_REORDER_TO_FRONT and startActivityForResult
  • D3.js rotate axis labels around the middle point
  • Pie-in-pie (Donut) charts
  • How do I use SFSafariViewController with a dark theme like this user?
  • Plotting A Hyperboloid
  • Unable to set a breakpoint on main while debugging a program compiled with Rust 1.10 with GDB
  • Custom Nav Title offset ios 11
  • JSR-330 support in Picocontainer : @Inject … @Named(\"xxx)
  • Creating a DropDownList
  • Who propagate bugfixes across branches (corporate development)?
  • How can I enlarge video fullscreen without the affected interface project in as3?
  • How can I extract results of aggregate queries in slick?
  • OOP Javascript - Is “get property” method necessary?
  • Functions in global context
  • Python urlparse: small issue
  • Scrapy recursive link crawler
  • FileReader+canvas image loading problem
  • Update CALayer sublayers immediately
  • NetLogo BehaviorSpace - Measure runs using reporters
  • Spring security and special characters
  • PHP - How to update data to MySQL when click a radio button
  • JSON with duplicate key names losing information when parsed
  • Acquiring multiple attributes from .xml file in c#
  • C# - Getting references of reference
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Change div Background jquery
  • How does Linux kernel interrupt the application?
  • How can I remove ASP.NET Designer.cs files?
  • Bitwise OR returns boolean when one of operands is nil
  • python draw pie shapes with colour filled
  • XCode 8, some methods disappeared ? ex: layoutAttributesClass() -> AnyClass
  • Busy indicator not showing up in wpf window [duplicate]
  • Why do underscore prefixed variables exist?
  • java string with new operator and a literal