Bitmaps: How to get RGB values very fast
Thanks, that’s what I was looking for! Paul Nicholls schrieb: > Hi Philipp, you could try this: > > r := (value shr…
Bitmaps: Rotate Bitmap any angle (slow)
// Make sure to add Math to your uses clause. [code lang=”delphi”]procedure TForm1.bmp_rotate(src,dst:tbitmap;angle:extended); var c1x,c1y,c2x,c2y:integer; p1x,p1y,p2x,p2y:integer; radius,n:integer; alpha:extended; c0,c1,c2,c3:tcolor; begin //calculate the angle…
Bitmaps: Rotate Bitmap any angle 2
Diese Routine dreht eine Bitmap um jeden beliebigen Grad. Dabei wird die Zielbitmap in der Größe so angepasst, daß immer das gesamte Bitmap…
Bitmaps: Rotate Image (90°, any angle)
Tony Nixon heeft geschreven in bericht 36645B68.102BFAE0@eng.monash.edu.au >… >Hi all, > >Could someone help me with a method of rotating a TBitmap image…
Distance between two pixels
Distance Abstand zwischen zwei Pixeln Punkten auf einer Bitmap: Sqrt( Sqr(X1-X2) + Sqr(Y1-Y2) ) [tags]Delphi, Graphic[/tags]
DrawTransparent Bitmaps
>Sam King wrote: > >> I want overlay bitmap2 over bitmap1 >> The bitmap2 should be on top of bitmap1 >> i.e. the…
Fonts: 3D Text
Called like so : imgPaintCanvas(Image3.Canvas, ‘0’, 10, 6, 4); [code lang=”delphi”]procedure TForm1.imgPaintCanvas(TheCanvas : TCanvas; TheString : String; TheFontSize, UCorner, LCorner : Integer); Begin…
Fonts: Anti-Aliasing Text
Of course it is slower than non-antialiased text. So it is important to optimize the routine. Here is some part of the routine…
Fonts: Antialiased Font
Chris, Thanks, tried this and works fine. Dave Parsons Simply Software To make the Canvas’s current font antialiased (remember it must be a…
Fonts: Rotate Font
> I was wondering if anyone knows how to draw curved or wavy text. >I’d like to be able to draw some text…