亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? gdiplusmetaheader.h

?? 一個很強悍的爬行蜘蛛,能用于很多網(wǎng)頁,而且速度也快
?? H
字號:
/**************************************************************************\
*
* Copyright (c) 1998-2000, Microsoft Corp.  All Rights Reserved.
*
* Module Name:
*
*   Metafile headers
*
* Abstract:
*
*   Declarations for various metafile header structures.
*
\**************************************************************************/

#ifndef _GDIPLUSMETAHEADER_H
#define _GDIPLUSMETAHEADER_H

typedef struct
{
    DWORD   iType;              // Record type EMR_HEADER
    DWORD   nSize;              // Record size in bytes.  This may be greater
                                // than the sizeof(ENHMETAHEADER).
    RECTL   rclBounds;          // Inclusive-inclusive bounds in device units
    RECTL   rclFrame;           // Inclusive-inclusive Picture Frame of metafile in .01 mm units
    DWORD   dSignature;         // Signature.  Must be ENHMETA_SIGNATURE.
    DWORD   nVersion;           // Version number
    DWORD   nBytes;             // Size of the metafile in bytes
    DWORD   nRecords;           // Number of records in the metafile
    WORD    nHandles;           // Number of handles in the handle table
                                // Handle index zero is reserved.
    WORD    sReserved;          // Reserved.  Must be zero.
    DWORD   nDescription;       // Number of chars in the unicode description string
                                // This is 0 if there is no description string
    DWORD   offDescription;     // Offset to the metafile description record.
                                // This is 0 if there is no description string
    DWORD   nPalEntries;        // Number of entries in the metafile palette.
    SIZEL   szlDevice;          // Size of the reference device in pels
    SIZEL   szlMillimeters;     // Size of the reference device in millimeters
} ENHMETAHEADER3;

// Aldus Placeable Metafiles

// Placeable Metafiles were created by Aldus Corporation as a non-standard
// way of specifying how a metafile is mapped and scaled on an output device.
// Placeable metafiles are quite wide-spread, but not directly supported by
// the Windows API. To playback a placeable metafile using the Windows API,
// you will first need to strip the placeable metafile header from the file.
// This is typically performed by copying the metafile to a temporary file
// starting at file offset 22 (0x16). The contents of the temporary file may
// then be used as input to the Windows GetMetaFile(), PlayMetaFile(),
// CopyMetaFile(), etc. GDI functions.

// Each placeable metafile begins with a 22-byte header,
//  followed by a standard metafile:

#include <pshpack2.h>   // set structure packing to 2

typedef struct
{
    INT16           Left;
    INT16           Top;
    INT16           Right;
    INT16           Bottom;
} APMRect16;

typedef struct
{
    UINT32          Key;            // GDIP_WMF_ALDUSKEY
    INT16           Hmf;            // Metafile HANDLE number (always 0)
    APMRect16       BoundingBox;    // Coordinates in metafile units
    INT16           Inch;           // Number of metafile units per inch
    UINT32          Reserved;       // Reserved (always 0)
    INT16           Checksum;       // Checksum value for previous 10 WORDs
} APMFileHeader;

#include <poppack.h>

// Key contains a special identification value that indicates the presence
// of a placeable metafile header and is always 0x9AC6CDD7.

// Handle is used to stored the handle of the metafile in memory. When written
// to disk, this field is not used and will always contains the value 0.

// Left, Top, Right, and Bottom contain the coordinates of the upper-left
// and lower-right corners of the image on the output device. These are
// measured in twips.

// A twip (meaning "twentieth of a point") is the logical unit of measurement
// used in Windows Metafiles. A twip is equal to 1/1440 of an inch. Thus 720
// twips equal 1/2 inch, while 32,768 twips is 22.75 inches.

// Inch contains the number of twips per inch used to represent the image.
// Normally, there are 1440 twips per inch; however, this number may be
// changed to scale the image. A value of 720 indicates that the image is
// double its normal size, or scaled to a factor of 2:1. A value of 360
// indicates a scale of 4:1, while a value of 2880 indicates that the image
// is scaled down in size by a factor of two. A value of 1440 indicates
// a 1:1 scale ratio.

// Reserved is not used and is always set to 0.

// Checksum contains a checksum value for the previous 10 WORDs in the header.
// This value can be used in an attempt to detect if the metafile has become
// corrupted. The checksum is calculated by XORing each WORD value to an
// initial value of 0.

// If the metafile was recorded with a reference Hdc that was a display.
#define GDIP_EMFPLUSFLAGS_DISPLAY       0x00000001

class MetafileHeader
{
public:
    MetafileType        Type;
    UINT                Size;               // Size of the metafile (in bytes)
    UINT                Version;            // EMF+, EMF, or WMF version
    UINT                EmfPlusFlags;
    REAL                DpiX;
    REAL                DpiY;
    INT                 X;                  // Bounds in device units
    INT                 Y;
    INT                 Width;
    INT                 Height;
    union
    {
        METAHEADER      WmfHeader;
        ENHMETAHEADER3  EmfHeader;
    };
    INT                 EmfPlusHeaderSize;  // size of the EMF+ header in file
    INT                 LogicalDpiX;        // Logical Dpi of reference Hdc
    INT                 LogicalDpiY;        // usually valid only for EMF+ files

public:
    // Get the metafile type
    MetafileType GetType() const { return Type; }

    // Get the size of the metafile in BYTEs
    UINT GetMetafileSize() const { return Size; }

    // If IsEmfPlus, this is the EMF+ version; else it is the WMF or EMF version
    UINT GetVersion() const { return Version; }

    // Get the EMF+ flags associated with the metafile
    UINT GetEmfPlusFlags() const { return EmfPlusFlags; }

    // Get the X Dpi of the metafile
    REAL GetDpiX() const { return DpiX; }

    // Get the Y Dpi of the metafile
    REAL GetDpiY() const { return DpiY; }

    // Get the bounds of the metafile in device units
    VOID GetBounds (OUT Rect *rect) const
    {
        rect->X = X;
        rect->Y = Y;
        rect->Width = Width;
        rect->Height = Height;
    }
    
    // Is it any type of WMF (standard or Aldus Placeable Metafile)?
    BOOL IsWmf() const
    {
       return ((Type == MetafileTypeWmf) || (Type == MetafileTypeWmfAldus));
    }

    // Is this an Aldus Placeable Metafile?
    BOOL IsWmfAldus() const { return (Type == MetafileTypeWmf); }

    // Is this an EMF (not an EMF+)?
    BOOL IsEmf() const { return (Type == MetafileTypeEmf); }

    // Is this an EMF or EMF+ file?
    BOOL IsEmfOrEmfPlus() const { return (Type >= MetafileTypeEmf); }

    // Is this an EMF+ file?
    BOOL IsEmfPlus() const { return (Type >= MetafileTypeEmfPlusOnly); }

    // Is this an EMF+ dual (has dual, down-level records) file?
    BOOL IsEmfPlusDual() const { return (Type == MetafileTypeEmfPlusDual); }

    // Is this an EMF+ only (no dual records) file?
    BOOL IsEmfPlusOnly() const { return (Type == MetafileTypeEmfPlusOnly); }

    // If it's an EMF+ file, was it recorded against a display Hdc?
    BOOL IsDisplay() const
    {
        return (IsEmfPlus() &&
                ((EmfPlusFlags & GDIP_EMFPLUSFLAGS_DISPLAY) != 0));
    }

    // Get the WMF header of the metafile (if it is a WMF)
    const METAHEADER * GetWmfHeader() const
    {
        if (IsWmf())
        {
            return &WmfHeader;
        }
        return NULL;
    }

    // Get the EMF header of the metafile (if it is an EMF)
    const ENHMETAHEADER3 * GetEmfHeader() const
    {
        if (IsEmfOrEmfPlus())
        {
            return &EmfHeader;
        }
        return NULL;
    }
};

#endif

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品亚洲综合一区在线观看| 日韩欧美专区在线| 六月丁香婷婷久久| 日韩精品乱码av一区二区| 一区二区三区丝袜| 亚洲一区免费观看| 亚洲午夜激情网站| 香蕉加勒比综合久久| 午夜伦欧美伦电影理论片| 亚洲成av人片www| 青青草成人在线观看| 日韩精品一区第一页| 日韩精品国产欧美| 久久草av在线| av中文字幕不卡| 一本色道a无线码一区v| 91精品办公室少妇高潮对白| 欧美日韩在线亚洲一区蜜芽| 欧美日韩视频专区在线播放| 日韩午夜小视频| 国产女主播视频一区二区| 久久精品夜色噜噜亚洲aⅴ| 欧美激情在线一区二区| 亚洲丝袜美腿综合| 天天综合天天综合色| 久久精品999| 99天天综合性| 欧美丰满美乳xxx高潮www| 精品国产乱码久久久久久久| 日本一区二区三区久久久久久久久不 | 日韩黄色在线观看| 狠狠色综合色综合网络| 不卡的看片网站| 7777精品伊人久久久大香线蕉完整版 | 日韩三级视频中文字幕| 久久久午夜精品| 亚洲综合激情另类小说区| 精品一区二区在线观看| 色综合久久久久综合| 91精品国产麻豆国产自产在线| 久久久久久9999| 亚洲一区国产视频| 成人h精品动漫一区二区三区| 欧美日韩亚州综合| 中文在线免费一区三区高中清不卡| 香蕉久久夜色精品国产使用方法 | 一本色道久久综合亚洲aⅴ蜜桃 | 亚洲免费av在线| 国产精品1区2区3区在线观看| 国产麻豆日韩欧美久久| 欧美网站大全在线观看| 国产精品丝袜一区| 久久er精品视频| 欧美色男人天堂| 亚洲三级免费电影| 国产高清不卡二三区| 日韩一卡二卡三卡四卡| 一区二区不卡在线播放 | 亚洲欧美成aⅴ人在线观看| 精品在线视频一区| 欧美片网站yy| 一区二区三区在线观看网站| 国产乱码精品1区2区3区| 欧美夫妻性生活| 天天综合日日夜夜精品| 91啪在线观看| 中文字幕一区二区三| 国产麻豆成人精品| 精品va天堂亚洲国产| 日本不卡123| 日韩色视频在线观看| 亚洲福利一二三区| 欧美系列一区二区| 亚洲精品日日夜夜| 在线看国产日韩| 夜夜精品视频一区二区| 色999日韩国产欧美一区二区| 自拍偷拍亚洲欧美日韩| av一二三不卡影片| 中文字幕一区二区三区在线观看 | 91国内精品野花午夜精品 | 6080亚洲精品一区二区| 水野朝阳av一区二区三区| 91麻豆精品国产自产在线| 首页国产欧美久久| 日韩久久久精品| 国产一区二区三区日韩| 精品日本一线二线三线不卡| 麻豆国产91在线播放| 久久只精品国产| 成人av在线影院| 亚洲激情图片一区| 精品1区2区3区| 精品一区二区国语对白| 久久精品日韩一区二区三区| 成人av在线网| 亚洲第一综合色| 精品久久人人做人人爰| 国产精品一区在线观看乱码| 一色屋精品亚洲香蕉网站| 91论坛在线播放| 日欧美一区二区| 国产农村妇女毛片精品久久麻豆| 国产成人精品aa毛片| 亚洲欧美一区二区不卡| 欧美一区永久视频免费观看| 狠狠色丁香婷婷综合久久片| 国产精品毛片无遮挡高清| 91成人免费在线视频| 久久99九九99精品| 亚洲精品视频在线观看免费| 欧美高清视频一二三区 | 亚洲国产精品久久不卡毛片| 欧美不卡123| 在线观看av不卡| 国产一区二区三区四区五区美女 | 欧美色图12p| 国产又粗又猛又爽又黄91精品| 亚洲欧美成人一区二区三区| 日韩精品一区二区三区视频 | 九九**精品视频免费播放| 国产精品欧美精品| 欧美一级日韩不卡播放免费| 成人高清视频免费观看| 日韩中文字幕91| 一区二区三区在线视频观看| 精品成人一区二区| 欧美日韩免费一区二区三区视频| 国产激情偷乱视频一区二区三区| 亚洲一区在线视频| 国产精品久久久久久久蜜臀 | 亚洲三级视频在线观看| xnxx国产精品| 欧美大白屁股肥臀xxxxxx| 色国产精品一区在线观看| 国产成人精品免费看| 久久精品久久精品| 性做久久久久久免费观看欧美| 中文字幕乱码日本亚洲一区二区| 日韩女优电影在线观看| 欧美日韩一区二区在线观看| 不卡的电视剧免费网站有什么| 激情偷乱视频一区二区三区| 午夜视频久久久久久| 一区二区三区四区亚洲| 亚洲天堂免费看| 亚洲三级在线观看| 亚洲日本在线看| 亚洲日本在线观看| 亚洲色图一区二区三区| 中文字幕在线不卡国产视频| 国产精品美女久久久久aⅴ国产馆| 国产亚洲一区二区三区在线观看| 欧美成人三级电影在线| 欧美一区二区播放| 日韩你懂的在线播放| 精品免费国产一区二区三区四区| 欧美一区二区三区视频在线观看| 欧美日韩成人综合在线一区二区 | 日韩三级av在线播放| 欧美一级搡bbbb搡bbbb| 日韩一级黄色大片| 精品国产露脸精彩对白| 精品国产凹凸成av人导航| 久久久久久久久蜜桃| 久久久一区二区三区| 国产欧美一区二区精品性| 国产精品色噜噜| 一级女性全黄久久生活片免费| 午夜影视日本亚洲欧洲精品| 日韩制服丝袜av| 国产麻豆91精品| 99久久免费视频.com| 在线免费亚洲电影| 欧美一级高清大全免费观看| 精品国产3级a| 亚洲蜜臀av乱码久久精品蜜桃| 亚洲一区在线观看视频| 日本成人在线一区| 成人黄色av电影| 欧美日韩精品一区二区| 精品日韩欧美一区二区| 《视频一区视频二区| 日欧美一区二区| 99久久综合国产精品| 欧美欧美午夜aⅴ在线观看| 久久影院视频免费| 一区二区三区自拍| 国内精品久久久久影院一蜜桃| 97国产一区二区| 欧美α欧美αv大片| 国产精品国产三级国产aⅴ中文| 性做久久久久久免费观看欧美| 国产在线视视频有精品| 色www精品视频在线观看| 26uuu精品一区二区三区四区在线| 亚洲视频资源在线| 国产一区二区三区黄视频| 欧美午夜精品一区| 国产精品视频观看|