IVsUIShell5.ThemeDIBits-Methode: (UInt32, Byte , UInt32, UInt32, Boolean, UInt32)

 

Veröffentlicht: Oktober 2016

Geräteunabhängige Bitmap-Bits BGRA32 gilt Designs. Die Helligkeit des Bilds wird so umgewandelt, damit die Helligkeit der Konstante "Halo" mit dem Hintergrund gemischt. Dies wirkt sich die Halos visuell auszuschalten. Die Helligkeit "Halo" ist eine unveränderliche Konstante und nicht aus der Eingabe berechnet. Images, die Zyan (#00FFFF) in die rechte obere Pixel enthalten sind nicht umgekehrt. Stattdessen wird das Pixel oben rechts gelöscht (RGBA werden alle auf 0 festgelegt) und ohne andernfalls Modifizierung des Abbilds S_OK zurückgegeben.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

void ThemeDIBits(
    uint dwBitmapLength,
    byte[] pBitmap,
    uint dwPixelWidth,
    uint dwPixelHeight,
    bool fIsTopDownBitmap,
    uint crBackground
)
void ThemeDIBits(
    unsigned int dwBitmapLength,
    array<unsigned char>^ pBitmap,
    unsigned int dwPixelWidth,
    unsigned int dwPixelHeight,
    bool fIsTopDownBitmap,
    unsigned int crBackground
)
abstract ThemeDIBits : 
        dwBitmapLength:uint32 *
        pBitmap:byte[] *
        dwPixelWidth:uint32 *
        dwPixelHeight:uint32 *
        fIsTopDownBitmap:bool *
        crBackground:uint32 -> unit
Sub ThemeDIBits (
    dwBitmapLength As UInteger,
    pBitmap As Byte(),
    dwPixelWidth As UInteger,
    dwPixelHeight As UInteger,
    fIsTopDownBitmap As Boolean,
    crBackground As UInteger
)

Parameter

  • pBitmap
    Type: System.Byte[]

    Das Array von Bytes, das die Bitmap darstellt.

  • fIsTopDownBitmap
    Type: System.Boolean

    True, wenn diese ist einer Top-Down-Bitmap ist, andernfalls false.

Siehe auch

IVsUIShell5-Schnittstelle
Microsoft.VisualStudio.Shell.Interop-Namespace

Zurück zum Anfang