Home
last modified time | relevance | path

Searched refs:FPalette (Results 1 – 25 of 85) sorted by relevance

1234

/dports/graphics/lazpaint/lazpaint-7.1.6/bgrabitmapnew/bgrabitmap/
H A Dbgrawritebmpmiomap.pas18 FPalette: packed array of record
59 if length(FPalette)>0 then
61 with FPalette[0] do
77 with FPalette[i] do
88 if (result <> -1) and (FPalette[result].AlphaValue <> searchedAlphaValue) then
97 if length(FPalette) <= result then
98 setlength(FPalette, length(FPalette)*2 + 128);
99 with FPalette[result] do
339 colors[i] := NtoLE(FPalette[i].ColorValue);
345 alphas[i] := FPalette[i].AlphaValue;
H A Dbgrareadgif.pas39 FPalette.count := 0;
52 FPalette.Add(C);
63 FPalette:=nil;
70 FPalette := TFPPalette.Create(0);
134 FreeAndNil(FPalette);
322 getmem(PBGRAPalette, (FPalette.Count)*sizeof(TBGRAPixel));
323 for i := 0 to FPalette.Count-1 do PBGRAPalette[i] := FPColorToBGRA(FPalette.Color[i]);
H A Dbgrareadtga.pas101 PDest^ := FPColorToBGRA(FPalette[P^]);
131 PDest^ := FPColorToBGRA(FPalette[P^]);
139 blue:=FPalette[P^].blue shr 8;
140 green:=FPalette[P^].green shr 8;
141 red:=FPalette[P^].red shr 8;
H A Dbgradithering.pas20 FPalette: TBGRACustomApproxPalette;
65 FPalette: TBGRACustomApproxPalette;
105 property Palette: TBGRACustomApproxPalette read FPalette write SetPalette;
270 if FPalette=AValue then Exit;
271 FPalette:=AValue;
447 if FPalette <> nil then
449 AIndex := FPalette.FindNearestColorIndex(AColor, FIgnoreAlpha);
453 AApproxColor := FPalette.Color[AIndex];
472 FPalette := APalette;
487 FPalette := APalette;
[all …]
/dports/editors/cudatext/CudaText-1.151.0/bgrabitmap/bgrabitmap/
H A Dbgrawritebmpmiomap.pas18 FPalette: packed array of record
59 if length(FPalette)>0 then
61 with FPalette[0] do
77 with FPalette[i] do
88 if (result <> -1) and (FPalette[result].AlphaValue <> searchedAlphaValue) then
97 if length(FPalette) <= result then
98 setlength(FPalette, length(FPalette)*2 + 128);
99 with FPalette[result] do
339 colors[i] := NtoLE(FPalette[i].ColorValue);
345 alphas[i] := FPalette[i].AlphaValue;
H A Dbgrareadgif.pas39 FPalette.count := 0;
52 FPalette.Add(C);
63 FPalette:=nil;
70 FPalette := TFPPalette.Create(0);
134 FreeAndNil(FPalette);
322 getmem(PBGRAPalette, (FPalette.Count)*sizeof(TBGRAPixel));
323 for i := 0 to FPalette.Count-1 do PBGRAPalette[i] := FPColorToBGRA(FPalette.Color[i]);
H A Dbgrareadtga.pas101 PDest^ := FPColorToBGRA(FPalette[P^]);
131 PDest^ := FPColorToBGRA(FPalette[P^]);
139 blue:=FPalette[P^].blue shr 8;
140 green:=FPalette[P^].green shr 8;
141 red:=FPalette[P^].red shr 8;
H A Dbgradithering.pas20 FPalette: TBGRACustomApproxPalette;
65 FPalette: TBGRACustomApproxPalette;
105 property Palette: TBGRACustomApproxPalette read FPalette write SetPalette;
270 if FPalette=AValue then Exit;
271 FPalette:=AValue;
447 if FPalette <> nil then
449 AIndex := FPalette.FindNearestColorIndex(AColor, FIgnoreAlpha);
453 AApproxColor := FPalette.Color[AIndex];
472 FPalette := APalette;
487 FPalette := APalette;
[all …]
/dports/devel/fpc-fcl-image/fpc-3.2.2/packages/fcl-image/src/
H A Dfpditherer.pas34 FPalette : TFPPalette;
98 if FPalette.Count=0 then
112 FPalette:=ThePalette;
202 pivot:=FPalette[l];
212 temp:=FPalette[i];
213 FPalette[i]:=FPalette[j];
214 FPalette[j]:=temp;
230 QuickSort(0,FPalette.Count-1);
262 bottom:=FPalette.Count-1;
316 Dest.Palette.Merge(FPalette);
[all …]
H A Dfpimage.inc23 FPalette := nil;
30 if assigned (FPalette) then
31 FPalette.Free;
430 FPalette.Free;
431 FPalette := nil;
516 if Assigned(FPalette)
530 if Assigned(FPalette)
558 if Assigned(FPalette)
593 if Value<>assigned(FPalette)
621 FPalette.Free;
[all …]
H A Dfpreadgif.pas75 FPalette: TFPPalette;
98 property Palette: TFPPalette read FPalette;
118 FPalette.count := 0;
129 FPalette.Add(C);
167 C:=FPalette.Color[FBackground];
169 FPalette.Color[FBackground]:=C;
181 FPalette:=nil;
188 FPalette := TFPPalette.Create(0);
251 FreeAndNil(FPalette);
466 Img.Colors[Col,Row]:=FPalette[P^];
[all …]
H A Dfpreadtga.pp48 FPalette : PFPColor;
91 If (FPalette<>Nil) then
93 FreeMem(FPalette);
119 GetMem(FPalette,FPaletteSize);
133 With FPalette[I] do
156 With FPalette[I] do
168 With FPalette[I] do
276 Img.Colors[Col,Row]:=FPalette[P[Col]];
321 Blue:=FPalette[P^].blue;
322 Green:=FPalette[P^].green;
[all …]
/dports/lang/fpc-source/fpc-3.2.2/packages/fcl-image/src/
H A Dfpditherer.pas34 FPalette : TFPPalette;
98 if FPalette.Count=0 then
112 FPalette:=ThePalette;
202 pivot:=FPalette[l];
212 temp:=FPalette[i];
213 FPalette[i]:=FPalette[j];
214 FPalette[j]:=temp;
230 QuickSort(0,FPalette.Count-1);
262 bottom:=FPalette.Count-1;
316 Dest.Palette.Merge(FPalette);
[all …]
H A Dfpimage.inc23 FPalette := nil;
30 if assigned (FPalette) then
31 FPalette.Free;
430 FPalette.Free;
431 FPalette := nil;
516 if Assigned(FPalette)
530 if Assigned(FPalette)
558 if Assigned(FPalette)
593 if Value<>assigned(FPalette)
621 FPalette.Free;
[all …]
H A Dfpreadgif.pas75 FPalette: TFPPalette;
98 property Palette: TFPPalette read FPalette;
118 FPalette.count := 0;
129 FPalette.Add(C);
167 C:=FPalette.Color[FBackground];
169 FPalette.Color[FBackground]:=C;
181 FPalette:=nil;
188 FPalette := TFPPalette.Create(0);
251 FreeAndNil(FPalette);
466 Img.Colors[Col,Row]:=FPalette[P^];
[all …]
H A Dfpreadtga.pp48 FPalette : PFPColor;
91 If (FPalette<>Nil) then
93 FreeMem(FPalette);
119 GetMem(FPalette,FPaletteSize);
133 With FPalette[I] do
156 With FPalette[I] do
168 With FPalette[I] do
276 Img.Colors[Col,Row]:=FPalette[P[Col]];
321 Blue:=FPalette[P^].blue;
322 Green:=FPalette[P^].green;
[all …]
/dports/editors/lazarus/lazarus/lcl/include/
H A Dsharedcustombitmap.inc41 if FPalette = 0 then Exit;
43 DeleteObject(FPalette);
44 FPalette := 0;
66 Result := FPalette;
67 FPalette := 0;
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/lcl/include/
H A Dsharedcustombitmap.inc41 if FPalette = 0 then Exit;
43 DeleteObject(FPalette);
44 FPalette := 0;
66 Result := FPalette;
67 FPalette := 0;
/dports/editors/lazarus-qt5/lazarus/lcl/include/
H A Dsharedcustombitmap.inc41 if FPalette = 0 then Exit;
43 DeleteObject(FPalette);
44 FPalette := 0;
66 Result := FPalette;
67 FPalette := 0;
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/lcl/include/
H A Dsharedcustombitmap.inc41 if FPalette = 0 then Exit;
43 DeleteObject(FPalette);
44 FPalette := 0;
66 Result := FPalette;
67 FPalette := 0;
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dv_palette.h48 struct FPalette struct
50 FPalette ();
51 FPalette (const BYTE *colors);
68 extern FPalette GPalette; argument
H A Dv_palette.cpp61 FPalette GPalette;
142 FPalette::FPalette () in FPalette() function in FPalette
146 FPalette::FPalette (const BYTE *colors) in FPalette() function in FPalette
151 void FPalette::SetPalette (const BYTE *colors) in SetPalette()
172 void FPalette::MakeGoodRemap () in MakeGoodRemap()
238 void FPalette::MakeRemap (const DWORD *colors, BYTE *remap, const BYTE *useful, int numcolors) const in MakeRemap()
/dports/games/ecwolf/ecwolf-1.3.3-src/src/
H A Dv_palette.h80 struct FPalette struct
82 FPalette ();
83 FPalette (const BYTE *colors);
100 extern FPalette GPalette; argument
H A Dv_palette.cpp55 FPalette GPalette;
139 FPalette::FPalette () in FPalette() function in FPalette
143 FPalette::FPalette (const BYTE *colors) in FPalette() function in FPalette
148 void FPalette::SetPalette (const BYTE *colors) in SetPalette()
180 void FPalette::MakeGoodRemap () in MakeGoodRemap()
246 void FPalette::MakeRemap (const DWORD *colors, BYTE *remap, const BYTE *useful, int numcolors) const in MakeRemap()
/dports/lang/fpc-source/fpc-3.2.2/packages/ptc/src/core/
H A Dsurfacei.inc48 FPalette: IPTCPalette;
122 FPalette := TPTCPalette.Create;
140 ASurface.Load(FPixels, FWidth, FHeight, FPitch, FFormat, FPalette);
146 ASurface.Load(FPixels, FWidth, FHeight, FPitch, FFormat, FPalette,
173 FCopy.Palette(APalette, FPalette);
196 FCopy.Palette(APalette, FPalette);
211 FCopy.Palette(FPalette, APalette);
234 FCopy.Palette(FPalette, APalette);
270 FPalette.Load(APalette.Data^);
275 Result := FPalette;

1234