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

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

?? gifimage.pas

?? 超市系統(tǒng)開發(fā) 超市系統(tǒng)開發(fā) 超市系統(tǒng)開發(fā) 超市系統(tǒng)開發(fā)
?? PAS
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
unit GIFImage;
////////////////////////////////////////////////////////////////////////////////
//                                                                            //
// Project:	GIF Graphics Object                                           //
// Module:	gifimage                                                      //
// Description:	TGraphic implementation of the GIF89a graphics format         //
// Version:	2.2                                                           //
// Release:	5                                                             //
// Date:	23-MAY-1999                                                   //
// Target:	Win32, Delphi 2, 3, 4 & 5, C++ Builder 3 & 4                  //
// Author(s):	anme: Anders Melander, anders@melander.dk                     //
//		fila: Filip Larsen                                            //
//		rps: Reinier Sterkenburg                                      //
// Copyright:	(c) 1997-99 Anders Melander.                                  //
//		All rights reserved.                                          //
// Formatting:	2 space indent, 8 space tabs, 80 columns.                     //
//                                                                            //
////////////////////////////////////////////////////////////////////////////////
//                                                                            //
// Please read the "Conditions of use" in the release notes.                  //
//                                                                            //
////////////////////////////////////////////////////////////////////////////////
// Known problems:
//
// * The combination of buffered, tiled and transparent draw will display the
//   background incorrectly (scaled).
//   If this is a problem for you, use non-buffered (goDirectDraw) drawing
//   instead.
//
// * The combination of non-buffered, transparent and stretched draw is
//   sometimes distorted with a pattern effect when the image is displayed
//   smaller than the real size (shrinked).
//
// * Buffered display flickers when TGIFImage is used by a transparent TImage
//   component.
//   This is a problem with TImage caused by the fact that TImage was designed
//   with static images in mind. Not much I can do about it.
//
////////////////////////////////////////////////////////////////////////////////
// To do (in rough order of priority):
// { TODO -oanme -cFeature : TImage hook for destroy notification. }
// { TODO -oanme -cFeature : TBitmap pool to limit resource consumption on Win95/98. }
// { TODO -oanme -cImprovement : Make BitsPerPixel property writable. }
// { TODO -oanme -cFeature : Visual GIF component. }
// { TODO -oanme -cImprovement : Easier method to determine DrawPainter status. }
// { TODO -oanme -cFeature : Import to 256+ color GIF. }
// { TODO -oanme -cFeature : Make some of TGIFImage's properties persistent (DrawOptions etc). }
// { TODO -oanme -cFeature : Add TGIFImage.Persistent property. Should save published properties in application extension when this options is set. }
// { TODO -oanme -cBugFix : Solution for background buffering in scrollbox. }
//
//////////////////////////////////////////////////////////////////////////////////
{$ifdef BCB}
{$ObjExportAll On}
{$endif}

interface
////////////////////////////////////////////////////////////////////////////////
//
//		Conditional Compiler Symbols
//
////////////////////////////////////////////////////////////////////////////////
(*
  DEBUG				Must be defined if any of the DEBUG_xxx
  				symbols are defined.
                                If the symbol is defined the source will not be
                                optimized and overflow- and range checks will be
                                enabled.

  DEBUG_HASHPERFORMANCE		Calculates hash table performance data.
  DEBUG_HASHFILLFACTOR		Calculates fill factor of hash table -
  				Interferes with DEBUG_HASHPERFORMANCE.
  DEBUG_COMPRESSPERFORMANCE	Calculates LZW compressor performance data.
  DEBUG_DECOMPRESSPERFORMANCE	Calculates LZW decompressor performance data.
  DEBUG_DITHERPERFORMANCE	Calculates color reduction performance data.
  DEBUG_DRAWPERFORMANCE		Calculates low level drawing performance data.
  				The performance data for DEBUG_DRAWPERFORMANCE
                                will be displayed when you press the Ctrl key.
  DEBUG_RENDERPERFORMANCE	Calculates performance data for the GIF to
  				bitmap converter.
  				The performance data for DEBUG_DRAWPERFORMANCE
                                will be displayed when you press the Ctrl key.

  GIF_NOSAFETY			Define this symbol to disable overflow- and
				range checks.
                                Ignored if the DEBUG symbol is defined.

  STRICT_MOZILLA		Define to mimic Mozilla as closely as possible.
  				If not defined, a slightly more "optimal"
                                implementation is used (IMHO).

  FAST_AS_HELL			Define this symbol to use strictly GIF compliant
  				(but too fast) animation timing.
                                Since our paint routines are much faster and
                                more precise timed than Mozilla's, the standard
                                GIF and Mozilla values causes animations to loop
                                faster than they would in Mozilla.
                                If the symbol is _not_ defined, an alternative
                                set of tweaked timing values will be used.
                                The tweaked values are not optimal but are based
                                on tests performed on my reference system:
                                - Windows 95
                                - 133 MHz Pentium
                                - 64Mb RAM
                                - Diamond Stealth64/V3000
                                - 1600*1200 in 256 colors
                                The alternate values can be modified if you are
                                not satisfied with my defaults (they can be
                                found a few pages down).

  REGISTER_TGIFIMAGE            Define this symbol to register TGIFImage with
  				the TPicture class and integrate with TImage.
                                This is required to be able to display GIFs in
                                the TImage component.
                                The symbol is defined by default.
                                Undefine if you use another GIF library to
                                provide GIF support for TImage.

  PIXELFORMAT_TOO_SLOW		When this symbol is defined, the internal
  				PixelFormat routines are used in some places
                                instead of TBitmap.PixelFormat.
                                The current implementation (Delphi4, Builder 3)
                                of TBitmap.PixelFormat can in some situation
                                degrade performance.
                                The symbol is defined by default.

  CREATEDIBSECTION_SLOW		If this symbol is defined, TDIBWriter will
  				use global memory as scanline storage, instead
                                of a DIB section.
                                Benchmarks have shown that a DIB section is
                                twice as slow as global memory.
                                The symbol is defined by default.
                                The symbol requires that PIXELFORMAT_TOO_SLOW
                                is defined.

  SERIALIZE_RENDER		Define this symbol to serialize threaded
  				GIF to bitmap rendering.
                                When a GIF is displayed with the goAsync option
                                (the default), the GIF to bitmap rendering is
                                executed in the context of the draw thread.
                                If more than one thread is drawing the same GIF
                                or the GIF is being modified while it is
                                animating, the GIF to bitmap rendering should be
                                serialized to guarantee that the bitmap isn't
                                modified by more than one thread at a time. If
                                SERIALIZE_RENDER is defined, the draw threads
                                uses TThread.Synchronize to serialize GIF to
                                bitmap rendering.
*)

{$DEFINE REGISTER_TGIFIMAGE}
{$DEFINE PIXELFORMAT_TOO_SLOW}
{$DEFINE CREATEDIBSECTION_SLOW}

////////////////////////////////////////////////////////////////////////////////
//
//		Determine Delphi and C++ Builder version
//
////////////////////////////////////////////////////////////////////////////////

// Delphi 1.x
{$IFDEF VER80}
  'Error: TGIFImage does not support Delphi 1.x'
{$ENDIF}

// Delphi 2.x
{$IFDEF VER90}
  {$DEFINE VER9x}
{$ENDIF}

// C++ Builder 1.x
{$IFDEF VER93}
  // Good luck...
  {$DEFINE VER9x}
{$ENDIF}

// Delphi 3.x
{$IFDEF VER100}
  {$DEFINE VER10_PLUS}
  {$DEFINE D3_BCB3}
{$ENDIF}

// C++ Builder 3.x
{$IFDEF VER110}
  {$DEFINE VER10_PLUS}
  {$DEFINE VER11_PLUS}
  {$DEFINE D3_BCB3}
  {$DEFINE BAD_STACK_ALIGNMENT}
{$ENDIF}

// Delphi 4.x
{$IFDEF VER120}
  {$DEFINE VER10_PLUS}
  {$DEFINE VER11_PLUS}
  {$DEFINE VER12_PLUS}
  {$DEFINE BAD_STACK_ALIGNMENT}
{$ENDIF}

// C++ Builder 4.x
{$IFDEF VER125}
  {$DEFINE VER10_PLUS}
  {$DEFINE VER11_PLUS}
  {$DEFINE VER12_PLUS}
  {$DEFINE VER125_PLUS}
  {$DEFINE BAD_STACK_ALIGNMENT}
{$ENDIF}

// Delphi 5.x
{$IFDEF VER130}
  {$DEFINE VER10_PLUS}
  {$DEFINE VER11_PLUS}
  {$DEFINE VER12_PLUS}
  {$DEFINE VER125_PLUS}
  {$DEFINE VER13_PLUS}
  {$DEFINE BAD_STACK_ALIGNMENT}
{$ENDIF}

// Unknown compiler version - assume D4 compatible
{$IFNDEF VER9x}
  {$IFNDEF VER10_PLUS}
    {$DEFINE VER10_PLUS}
    {$DEFINE VER11_PLUS}
    {$DEFINE VER12_PLUS}
    {$DEFINE BAD_STACK_ALIGNMENT}
  {$ENDIF}
{$ENDIF}

////////////////////////////////////////////////////////////////////////////////
//
//		Compiler Options required to compile this library
//
////////////////////////////////////////////////////////////////////////////////
{$A+,B-,H+,J+,K-,M-,T-,X+}

// Debug control - You can safely change these settings
{$IFDEF DEBUG}
  {$C+}	// ASSERTIONS
  {$O-}	// OPTIMIZATION
  {$Q+}	// OVERFLOWCHECKS
  {$R+}	// RANGECHECKS
{$ELSE}
  {$C-}	// ASSERTIONS
  {$IFDEF GIF_NOSAFETY}
    {$Q-}// OVERFLOWCHECKS
    {$R-}// RANGECHECKS
  {$ENDIF}
{$ENDIF}

// Special options for Time2Help parser
{$ifdef TIME2HELP}
{$UNDEF PIXELFORMAT_TOO_SLOW}
{$endif}

////////////////////////////////////////////////////////////////////////////////
//
//			External dependecies
//
////////////////////////////////////////////////////////////////////////////////
uses
  sysutils,
  Windows,
  Graphics,
  Classes;

////////////////////////////////////////////////////////////////////////////////
//
//			TGIFImage library version
//
////////////////////////////////////////////////////////////////////////////////
const
  GIFVersion		= $0202;
  GIFVersionMajor	= 2;
  GIFVersionMinor	= 2;
  GIFVersionRelease	= 5;

////////////////////////////////////////////////////////////////////////////////
//
//			Misc constants and support types
//
////////////////////////////////////////////////////////////////////////////////
const
  GIFMaxColors	= 256;			// Max number of colors supported by GIF
  					// Don't bother changing this value!

  BitmapAllocationThreshold = 500000;	// Bitmap pixel count limit at which
  					// a newly allocated bitmap will be
                                        // converted to 1 bit format before
                                        // being resized and converted to 8 bit.

var
{$IFDEF FAST_AS_HELL}
  GIFDelayExp: integer = 10;		// Delay multiplier in mS.
{$ELSE}
  GIFDelayExp: integer = 12;		// Delay multiplier in mS. Tweaked.
{$ENDIF}
					// * GIFDelayExp:
  					// The following delay values should all
                                        // be multiplied by this value to
                                        // calculate the effective time (in mS).
                                        // According to the GIF specs, this
                                        // value should be 10.
                                        // Since our paint routines are much
                                        // faster than Mozilla's, you might need
                                        // to increase this value if your
                                        // animations loops too fast. The
                                        // optimal value is impossible to
                                        // determine since it depends on the
                                        // speed of the CPU, the viceo card,
                                        // memory and many other factors.

  GIFDefaultDelay: integer = 10;	// * GIFDefaultDelay:
  					// Default animation delay.
  					// This value is used if no GCE is
                                        // defined.
                                        // (10 = 100 mS)

{$IFDEF FAST_AS_HELL}
  GIFMinimumDelay: integer = 1;		// Minimum delay (from Mozilla source).
  					// (1 = 10 mS)
{$ELSE}
  GIFMinimumDelay: integer = 3;		// Minimum delay - Tweaked.
{$ENDIF}
					// * GIFMinimumDelay:
					// The minumum delay used in the Mozilla
                                        // source is 10mS. This corresponds to a
                                        // value of 1. However, since our paint
                                        // routines are much faster than
                                        // Mozilla's, a value of 3 or 4 gives
                                        // better results.

  GIFMaximumDelay: integer = 1000;	// * GIFMaximumDelay:
  					// Maximum delay when painter is running
  					// in main thread (goAsync is not set).
                                        // This value guarantees that a very

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线观看日韩毛片| 亚洲欧美一区二区不卡| 777久久久精品| 欧美亚洲综合久久| 色综合视频在线观看| 一本色道久久加勒比精品| aaa亚洲精品| 99精品视频中文字幕| 99久久精品费精品国产一区二区| 成人动漫在线一区| 99精品视频在线观看免费| 色综合久久久久网| 在线观看www91| 精品视频资源站| 9191久久久久久久久久久| 91精品国产高清一区二区三区蜜臀 | 麻豆精品国产91久久久久久| 奇米影视在线99精品| 精品一区免费av| 国产精一区二区三区| 成人毛片老司机大片| 色哟哟精品一区| 欧美人与性动xxxx| 欧美一区二区三区人| 精品99一区二区| 国产精品乱人伦| 亚洲欧美日韩国产中文在线| 日韩精品免费专区| 久久精工是国产品牌吗| 成人一区二区三区视频| 色综合 综合色| 69堂精品视频| 久久精品一级爱片| 亚洲同性同志一二三专区| 亚洲成人一二三| 国产又粗又猛又爽又黄91精品| 国产69精品一区二区亚洲孕妇| 99久久精品免费看| 日韩一区二区三区三四区视频在线观看| 欧美精品一区二区三区四区| 亚洲天堂精品在线观看| 日韩精品成人一区二区在线| 国内精品嫩模私拍在线| 91小视频在线免费看| 欧美一区2区视频在线观看| 国产农村妇女毛片精品久久麻豆 | 激情国产一区二区| 99re这里都是精品| 日韩欧美黄色影院| 亚洲视频香蕉人妖| 经典三级视频一区| 91福利在线免费观看| 精品久久久久99| 一区二区三区视频在线看| 久久成人av少妇免费| 一本色道久久综合亚洲91| 精品国精品国产尤物美女| 亚洲色图第一区| 经典三级一区二区| 欧美日韩一区三区四区| 中文久久乱码一区二区| 午夜精品久久久久久久蜜桃app| 成人一区二区三区在线观看| 日韩视频123| 一区二区久久久久久| 国产酒店精品激情| 91精品一区二区三区在线观看| 中文字幕在线不卡一区二区三区| 免费观看日韩av| 欧美天天综合网| 国产日韩欧美不卡在线| 蜜臀va亚洲va欧美va天堂 | 欧美人伦禁忌dvd放荡欲情| 国产精品毛片久久久久久| 六月婷婷色综合| 欧美视频在线观看一区二区| 国产精品久久毛片av大全日韩| 另类成人小视频在线| 欧美日韩一级片网站| 亚洲人成7777| 成人av高清在线| 国产午夜精品久久| 久久99九九99精品| 日韩一二三四区| 亚欧色一区w666天堂| 色综合天天视频在线观看 | 99精品国产一区二区三区不卡| 337p粉嫩大胆色噜噜噜噜亚洲 | 丁香桃色午夜亚洲一区二区三区| 欧美刺激脚交jootjob| 天天综合色天天| 欧美日韩激情在线| 亚洲一区二区视频在线观看| 99久久99久久精品国产片果冻| 国产精品卡一卡二| 成人成人成人在线视频| 亚洲国产精品t66y| 国产a视频精品免费观看| 久久日一线二线三线suv| 经典三级在线一区| 久久综合色婷婷| 国产一区二区三区| 久久久久久**毛片大全| 国产乱子轮精品视频| 久久久久久免费网| 国产成人a级片| 中文字幕欧美日本乱码一线二线| 丰满放荡岳乱妇91ww| 亚洲国产精品国自产拍av| 成人精品gif动图一区| 国产精品久久久久久久久搜平片| www.日韩在线| 亚洲男人天堂av| 欧美体内she精视频| 日韩国产精品91| 欧美mv日韩mv亚洲| 国产精品一区二区久久精品爱涩| 国产女人18毛片水真多成人如厕| 成人av影院在线| 最新欧美精品一区二区三区| 色婷婷av久久久久久久| 亚洲国产综合视频在线观看| 91精品国产乱码久久蜜臀| 激情综合色播五月| 国产精品无圣光一区二区| 91猫先生在线| 午夜视频在线观看一区二区三区| 日韩一卡二卡三卡| 国产美女精品一区二区三区| 国产精品久久久久久久久搜平片 | 成人免费视频视频| 亚洲欧美偷拍另类a∨色屁股| 欧美午夜片在线看| 老司机精品视频一区二区三区| 欧美激情一区在线| 一本大道综合伊人精品热热| 日韩成人一级大片| 久久精品亚洲一区二区三区浴池| www.日韩在线| 奇米影视一区二区三区小说| 中文字幕+乱码+中文字幕一区| 色av成人天堂桃色av| 日本成人在线网站| 1024精品合集| 欧美一级生活片| 成人av第一页| 日韩和欧美一区二区三区| 亚洲国产精品ⅴa在线观看| 欧美日韩中文字幕一区| 国产成人免费视频网站| 亚洲一区av在线| 久久久久久毛片| 欧美日韩在线播| 成人国产精品视频| 三级成人在线视频| 国产精品久久久久精k8| 欧美日韩国产免费| 国产不卡一区视频| 日韩电影网1区2区| 亚洲欧美日韩国产成人精品影院 | 亚洲大片免费看| 国产清纯美女被跳蛋高潮一区二区久久w| 一本久久综合亚洲鲁鲁五月天| 精久久久久久久久久久| 一区二区三区中文字幕电影| 久久久久综合网| 91精品国产综合久久婷婷香蕉| 99在线精品免费| 久久99精品久久久久久| 亚洲国产精品综合小说图片区| 欧美激情中文不卡| 亚洲精品在线网站| 51午夜精品国产| 一本色道久久综合亚洲精品按摩| 国产精品一区三区| 免费欧美日韩国产三级电影| 一区二区三区在线观看网站| 国产婷婷色一区二区三区四区| 欧美一级夜夜爽| 欧美久久一区二区| 日本伦理一区二区| av网站一区二区三区| 国产精品一区二区在线观看网站| 男男gaygay亚洲| 亚欧色一区w666天堂| 亚洲愉拍自拍另类高清精品| 中文在线一区二区| 欧美国产激情二区三区| 精品va天堂亚洲国产| 日韩视频一区二区在线观看| 欧美妇女性影城| 在线观看日韩毛片| 91久久一区二区| 色狠狠一区二区三区香蕉| 95精品视频在线| caoporm超碰国产精品| 丁香婷婷综合五月| 成人av在线网站| 成人激情av网| 成人听书哪个软件好|