vb@rchiv
VB Classic
VB.NET
ADO.NET
VBA
C#
Top-Preis! AP-Access-Tools-CD Volume 1  
 vb@rchiv Quick-Search: Suche startenErweiterte Suche starten   Impressum  | Datenschutz  | vb@rchiv CD Vol.6  | Shop Copyright ©2000-2025
 
zurück

 Sie sind aktuell nicht angemeldet.Funktionen: Einloggen  |  Neu registrieren  |  Suchen

VB & Windows API
Re: PlgBlt 
Autor: ModeratorMartoeng (Moderator)
Datum: 04.08.04 15:38

Mit Hilfe der MSDN ist das doch recht einfach:

hdcDest
[in] Handle to the destination device context.
Ziel-HDC.

lpPoint
[in] Pointer to an array of three points in logical space that identify three corners of the destination parallelogram. The upper-left corner of the source rectangle is mapped to the first point in this array, the upper-right corner to the second point in this array, and the lower-left corner to the third point. The lower-right corner of the source rectangle is mapped to the implicit fourth point in the parallelogram.
Ein Array von drei Punkten. Der erste bestimmt die linke obere Ecke des Parallelograms, der zweite oben rechts und der dritte unten links. Der vierte Punkt wird von der Funktion berechnet.

hdcSrc
[in] Handle to the source device context.
Quell-HDC.

nXSrc
[in] Specifies the x-coordinate, in logical units, of the upper-left corner of the source rectangle.
Linker Rand des Rechteckes, welches zum Auslesen aus dem Quell-DC verwendet wird.

nYSrc
[in] Specifies the y-coordinate, in logical units, of the upper-left corner of the source rectangle.
Oberer Rand.

nWidth
[in] Specifies the width, in logical units, of the source rectangle.
Breite.

nHeight
[in] Specifies the height, in logical units, of the source rectangle.
Höhe.

hbmMask
[in] Handle to an optional monochrome bitmap that is used to mask the colors of the source rectangle.
Optional, wenn Du das Bild maskieren willst gibst Du hier ein Handle für eine Monochrom-Bitmap an.

xMask
[in] Specifies the x-coordinate, in logical units, of the upper-left corner of the monochrome bitmap.

yMask
[in] Specifies the y-coordinate, in logical units, of the upper-left corner of the monochrome bitmap.

If the bitmask exists, a value of one in the mask indicates that the source pixel color should be copied to the destination. A value of zero in the mask indicates that the destination pixel color is not to be changed. If the mask rectangle is smaller than the source and destination rectangles, the function replicates the mask pattern.

Wenn Du also eine Bitmap angibst, dann wird dort, wo die monochrom-Bitmap den Wert 1 hat der Pixel kopiert, wo 0 ist wird nichts geändert.


vbarchiv.dll (Freeware), Tutorials uvm. auf http://www.martoeng.com.
alle Nachrichten anzeigenGesamtübersicht  |  Zum Thema  |  Suchen

 ThemaViews  AutorDatum
PlgBlt2.213Rolli03.08.04 20:35
Re: PlgBlt2.003Zardoz03.08.04 20:46
Re: PlgBlt1.575Rolli03.08.04 21:14
Re: PlgBlt1.943ModeratorMartoeng04.08.04 15:38
Re: PlgBlt1.534Rolli04.08.04 18:39
Re: PlgBlt1.624ModeratorMartoeng04.08.04 19:00
Re: PlgBlt1.544Rolli05.08.04 18:12
Re: PlgBlt1.638ModeratorMartoeng05.08.04 23:39
Re: PlgBlt2.163Rolli06.08.04 18:07

Sie sind nicht angemeldet!
Um auf diesen Beitrag zu antworten oder neue Beiträge schreiben zu können, müssen Sie sich zunächst anmelden.

Einloggen  |  Neu registrieren

Funktionen:  Zum Thema  |  GesamtübersichtSuchen 

nach obenzurück
 
   

Copyright ©2000-2025 vb@rchiv Dieter Otter
Alle Rechte vorbehalten.
Microsoft, Windows und Visual Basic sind entweder eingetragene Marken oder Marken der Microsoft Corporation in den USA und/oder anderen Ländern. Weitere auf dieser Homepage aufgeführten Produkt- und Firmennamen können geschützte Marken ihrer jeweiligen Inhaber sein.

Diese Seiten wurden optimiert für eine Bildschirmauflösung von mind. 1280x1024 Pixel