repo.or.cz
/
phpCairo.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updating checkpoint ...
[phpCairo.git]
/
testcases
/
phpCairo
/
glyph-cache-pressure.php
blob
f6511c63fbc21171de8599d8de9110ad96136544
1
<
?
2
$textsize
=
10
;
3
$sur
=
new
CairoImageSurface
(
FORMAT_ARGB32
,
223
,
$textsize
+
4
);
4
$con
->
save
();
5
$con
->
set_source_rgb
(
1
,
1
,
1
);
6
$con
->
paint
();
7
$con
->
restore
();
8
$con
->
select_font_face
(
"Bitstream Vera Sans"
);
9
$con
->
font_size
(
$textsize
);
10
//Boiler plate stuff ... out of consideration
11
?
>