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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? gifimage.pas

?? 超市系統開發 超市系統開發 超市系統開發 超市系統開發
?? PAS
?? 第 1 頁 / 共 5 頁
字號:
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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产毛片精品国产一区二区三区| 欧美色图天堂网| 欧美性生活久久| 欧美精品一区二区三区在线 | 亚洲韩国精品一区| 丁香网亚洲国际| 日韩亚洲欧美中文三级| 亚洲另类春色校园小说| 国产精品中文字幕一区二区三区| 欧美日韩国产免费一区二区 | 91精品1区2区| 国产精品午夜在线| 国产一区二区成人久久免费影院| 99这里只有精品| 久久色成人在线| 极品少妇xxxx偷拍精品少妇| 欧美精品在线观看播放| 日韩毛片视频在线看| 欧美一区二区视频免费观看| 欧美精品一二三四| 一区二区在线观看视频在线观看| 国产91精品欧美| 欧美激情一区二区三区蜜桃视频| 国产一区在线不卡| 一区二区三区中文在线| 色婷婷亚洲综合| 欧美午夜宅男影院| 洋洋成人永久网站入口| 91一区二区在线| 日韩伦理免费电影| 白白色 亚洲乱淫| 日韩毛片在线免费观看| 色综合天天在线| 亚洲精品久久久久久国产精华液| 不卡电影一区二区三区| 亚洲欧洲精品一区二区精品久久久| 国产精品自拍在线| 国产精品日韩成人| av激情亚洲男人天堂| 中文字幕佐山爱一区二区免费| 不卡av在线网| 亚洲妇女屁股眼交7| 欧美日韩国产另类一区| 日韩高清不卡一区| 日韩视频在线永久播放| 精品写真视频在线观看 | 亚洲一区二区不卡免费| 欧美亚州韩日在线看免费版国语版| 亚洲伦在线观看| 欧美老女人第四色| 日本网站在线观看一区二区三区 | 18成人在线观看| 色婷婷av一区二区三区之一色屋| 一区二区三区在线视频观看58 | 在线精品视频免费观看| 午夜视频在线观看一区二区三区 | 亚洲欧美偷拍另类a∨色屁股| 色综合视频在线观看| 日韩精品亚洲一区| 国产视频一区在线播放| 91首页免费视频| 午夜精彩视频在线观看不卡| 精品精品国产高清一毛片一天堂| 成人小视频在线观看| 亚洲一区中文日韩| 久久久精品欧美丰满| 在线视频综合导航| 韩国成人福利片在线播放| 亚洲天堂久久久久久久| 欧美一级在线免费| 97国产精品videossex| 美女性感视频久久| 亚洲男人天堂一区| 久久亚洲精品小早川怜子| 欧美性猛交xxxxxx富婆| 国产福利91精品一区二区三区| 亚洲精品视频免费看| 精品久久人人做人人爽| 欧美专区日韩专区| 国产成人在线看| 天堂影院一区二区| 亚洲女人小视频在线观看| 精品国产伦一区二区三区观看方式 | 亚洲一级不卡视频| 国产视频视频一区| 91精品国产综合久久蜜臀| 91免费在线视频观看| 精品一区二区三区在线观看 | 国产精品理伦片| 日韩美女在线视频| 色av一区二区| 懂色一区二区三区免费观看 | 国产网站一区二区三区| 这里是久久伊人| 91网上在线视频| 国产 欧美在线| 蜜芽一区二区三区| 午夜精品久久一牛影视| 亚洲日本在线天堂| 亚洲国产精品激情在线观看| 日韩一级在线观看| 欧美高清一级片在线| 国产精品亚洲一区二区三区在线| 亚洲一二三四区| 国产日韩v精品一区二区| 欧美一区三区二区| 欧美日本免费一区二区三区| 一本色道久久综合亚洲aⅴ蜜桃| 国产精品综合二区| 国产成人精品一区二区三区网站观看 | 久久综合av免费| 日韩欧美高清一区| 欧美一卡二卡在线观看| 7777精品伊人久久久大香线蕉超级流畅 | av在线不卡网| proumb性欧美在线观看| 成人h版在线观看| 成人一道本在线| 99国内精品久久| 色婷婷久久综合| 欧美色手机在线观看| 欧美日韩免费一区二区三区 | 国产情人综合久久777777| 日韩欧美中文字幕精品| 欧美精品 日韩| 91精品国产91久久综合桃花| 日韩一级高清毛片| 国产精品视频看| 色婷婷综合久色| 激情六月婷婷综合| 国产乱国产乱300精品| 国产91丝袜在线播放九色| 国产福利91精品| 色婷婷av一区二区三区gif| 欧美日韩专区在线| 精品国产乱码久久久久久图片 | 不卡在线观看av| 欧美在线免费观看亚洲| 777色狠狠一区二区三区| 久久奇米777| 亚洲私人影院在线观看| 亚洲va在线va天堂| 美国毛片一区二区三区| 高清视频一区二区| 欧美日韩国产高清一区二区三区| 精品久久久久香蕉网| 18成人在线观看| 男人的j进女人的j一区| 成人黄色软件下载| 911国产精品| 国产偷国产偷精品高清尤物| 亚洲乱码国产乱码精品精可以看 | 精品国精品国产尤物美女| 国产精品久久精品日日| 亚洲国产综合91精品麻豆| 国产精品一区在线观看你懂的| 91一区在线观看| 久久久国产精品不卡| 亚洲一区二区av电影| 国产999精品久久| 日韩一区二区免费在线观看| 成人免费在线播放视频| 久久99国产精品尤物| 在线精品视频免费播放| 中文字幕乱码久久午夜不卡| 日本三级韩国三级欧美三级| 96av麻豆蜜桃一区二区| 欧美刺激脚交jootjob| 亚洲在线中文字幕| 成人网在线播放| 亚洲精品一区二区三区蜜桃下载 | 亚洲精品写真福利| 国产91丝袜在线播放九色| 日韩欧美色综合| 丝袜a∨在线一区二区三区不卡| 97久久精品人人做人人爽| 久久精品夜色噜噜亚洲aⅴ| 婷婷综合在线观看| 欧美视频日韩视频在线观看| 中文字幕一区在线| 国产剧情av麻豆香蕉精品| 日韩一区二区三| 蜜臀久久久99精品久久久久久| 欧美色图片你懂的| 亚洲一区在线观看视频| 91丨porny丨中文| 亚洲四区在线观看| 91无套直看片红桃| 亚洲欧美色一区| 91丝袜美腿高跟国产极品老师| 国产精品不卡在线| 国产乱色国产精品免费视频| 日韩视频一区在线观看| 青青草97国产精品免费观看无弹窗版| 欧美主播一区二区三区| 亚洲香肠在线观看| 欧美手机在线视频| 午夜视黄欧洲亚洲| 欧美一区二区三区在| 久久99精品视频|