Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
8d2ae4ea
Commit
8d2ae4ea
authored
Jan 14, 2005
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add comment "if col=bcol, assume background is transparent"
parent
135767a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
font.c
libvncserver/font.c
+2
-1
No files found.
libvncserver/font.c
View file @
8d2ae4ea
...
...
@@ -24,7 +24,7 @@ int rfbDrawChar(rfbScreenInfoPtr rfbScreen,rfbFontDataPtr font,
d
=*
data
;
data
++
;
}
if
(
d
&
0x80
&&
y
+
j
>=
0
&&
x
+
i
>=
0
&&
y
+
j
<
rfbScreen
->
height
&&
x
+
i
<
rfbScreen
->
width
)
if
(
d
&
0x80
)
memcpy
(
rfbScreen
->
frameBuffer
+
(
y
+
j
)
*
rowstride
+
(
x
+
i
)
*
bpp
,
colour
,
bpp
);
d
<<=
1
;
}
...
...
@@ -43,6 +43,7 @@ void rfbDrawString(rfbScreenInfoPtr rfbScreen,rfbFontDataPtr font,
}
/* TODO: these two functions need to be more efficient */
/* if col==bcol, assume transparent background */
int
rfbDrawCharWithClip
(
rfbScreenInfoPtr
rfbScreen
,
rfbFontDataPtr
font
,
int
x
,
int
y
,
unsigned
char
c
,
int
x1
,
int
y1
,
int
x2
,
int
y2
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment