AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Multimedia Delphi [DelphiX] DrawRotate
Thema durchsuchen
Ansicht
Themen-Optionen

[DelphiX] DrawRotate

Ein Thema von Gentleman · begonnen am 20. Feb 2005 · letzter Beitrag vom 26. Jul 2006
 
smc

Registriert seit: 21. Dez 2005
49 Beiträge
 
#7

Re: [DelphiX] DrawRotate

  Alt 26. Jul 2006, 09:34
hallo,

ich will nun kein neues thema deswegen aufmachen, aber kann mir jemand die definitionen von drawrotate erklären?

DXImageList1.Items[0].DrawRotate(DXDraw1.Surface, 100, 100, 100, 50, 0, 0, 0, r);

was DXDraw1.Surface bewirkt ist mir klar, aber was danach folgt ist mir unklar (besonders dieses r)

edit: hat sich erledigt

habe folgendes per google gefunden

Zitat:
Found this cool site that explains many things:
http://www.cerebral-bicycle.co.uk/viewdoc.asp?doc=37

So, here is the function details:
DrawRotate( Surface, X , Y, Width, Height, PatternIndex, CenterX, CenterY, Angle);

Surface: TDirectDrawSurface that image is drawn to, usually DXDraw.Surface.
X,Y: Draw point. Image rotates around it.
Width,Height: New width and height can be set to scale image, or set original values.
PatternIndex: Set this to 0, unless you have image-grid that has patterns for animation.
CenterX,CenterY: Defines weight-point for rotation. Normally 0.5, or in range 0..1.
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 06:20 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz