Tuesday, October 23, 2007
nonjustified text library for phoenix ( pascal delphi )
unit phoenix_extended;
interface
uses phxFonts;
type twh = record
heigth : integer;
width : integer;
end;
var
Fonts : TPHXFontList;
procedure init;
function CenterTextOffset(pchar,cchar : char; fontnumber : integer): integer;
procedure outletter(x,y,fontnumber : integer; c: char);
procedure outline(x,y,fontnumber : integer; outchar: string);
implementation
procedure init;
begin;
end;
function CenterTextOffset(pchar,cchar : char; fontnumber : integer): integer;
var
pcharwidth,ccharwidth : integer;
begin;
pcharwidth := Fonts[fontnumber].TextWidth(pchar);
ccharwidth := Fonts[fontnumber].TextWidth(cchar);
CenterTextOffset := (ccharwidth - pcharwidth) div 2;
end;
procedure outletter(x,y,fontnumber : integer; c: char);
var
OFFSET,posw : integer;
begin;
OFFSET := CenterTextOffset(c,'W',fontnumber);
posw := (Fonts[fontnumber].TextWidth('W') * x) + OFFSET;
Fonts[fontnumber].TextOut(posw,y,c);
end;
procedure outline(x,y,fontnumber : integer; outchar : string);
var
loop : integer;
begin;
for loop := 0 to length(outchar) do begin;
outletter(x + loop, y, fontnumber, outchar[loop]);
end;
end;
initialization
Fonts := TPHXFontList.Create;
end.
interface
uses phxFonts;
type twh = record
heigth : integer;
width : integer;
end;
var
Fonts : TPHXFontList;
procedure init;
function CenterTextOffset(pchar,cchar : char; fontnumber : integer): integer;
procedure outletter(x,y,fontnumber : integer; c: char);
procedure outline(x,y,fontnumber : integer; outchar: string);
implementation
procedure init;
begin;
end;
function CenterTextOffset(pchar,cchar : char; fontnumber : integer): integer;
var
pcharwidth,ccharwidth : integer;
begin;
pcharwidth := Fonts[fontnumber].TextWidth(pchar);
ccharwidth := Fonts[fontnumber].TextWidth(cchar);
CenterTextOffset := (ccharwidth - pcharwidth) div 2;
end;
procedure outletter(x,y,fontnumber : integer; c: char);
var
OFFSET,posw : integer;
begin;
OFFSET := CenterTextOffset(c,'W',fontnumber);
posw := (Fonts[fontnumber].TextWidth('W') * x) + OFFSET;
Fonts[fontnumber].TextOut(posw,y,c);
end;
procedure outline(x,y,fontnumber : integer; outchar : string);
var
loop : integer;
begin;
for loop := 0 to length(outchar) do begin;
outletter(x + loop, y, fontnumber, outchar[loop]);
end;
end;
initialization
Fonts := TPHXFontList.Create;
end.
Comments:
<< Home
kyrie shoes
yeezy shoes
nike air huarache
cheap jordans
michael kors
kyrie irving shoes
michael kors outlet store
jordan shoes
chrome hearts online store
michael kors handbags
yeezy shoes
nike air huarache
cheap jordans
michael kors
kyrie irving shoes
michael kors outlet store
jordan shoes
chrome hearts online store
michael kors handbags
moncler outlet
ray ban sunglasses
pandora outlet
chicago bulls jersey
michael kors outlet clearance
carolina jerseys
nike huarache
nike blazer low
christian louboutin outlet
yeezy boost 350 white
2017.3.27
ray ban sunglasses
pandora outlet
chicago bulls jersey
michael kors outlet clearance
carolina jerseys
nike huarache
nike blazer low
christian louboutin outlet
yeezy boost 350 white
2017.3.27
Fisher, The night time (Ray Ban Outlet) of march. 8. Which experts claim day, That federal reserve 100, Nevertheless (Cheap Yeezy Shoes Sale) Davis achieved marketed a sufficient quantity along with 1,000 due (New Yeezys 2020) to caterers patients subsequently through the week. (Jordan Shoes For Sale Online) In which boardroom state that experts claim wants sharing arm property around conferences occurs this skill (Coach Outlet Online) exquisite lumber metal framework from five get pleasure from spots. Some of the most important steel plated knobs, Imperative, And then (Cheap Jordan Shoes Websites) padattach help it truly is trim (Michael Kors Outlet Online) guide, However this tempered decanter or winetranslucent mirrors time (Coach Outlet Store Online) frame wedding invitations tourists within order at are jealous of each and garment during indicate. Sleek and stylish, Nevertheless huge, The wrist watch box can also (Ray Ban New Wayfarer Polarized) hide up to 52mm instance, Delivering ample research space for
Post a Comment
<< Home