mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 03:59:13 +02:00
MG: small bugfixes
git-svn-id: trunk@952 -
This commit is contained in:
parent
5f04083c25
commit
5bb3552d16
@ -272,7 +272,10 @@ begin
|
|||||||
If ClipRegion <> 0 then begin
|
If ClipRegion <> 0 then begin
|
||||||
Region:=PGDIObject(ClipRegion);
|
Region:=PGDIObject(ClipRegion);
|
||||||
DCOrigin:=GetDCOffset(PDeviceContext(DC));
|
DCOrigin:=GetDCOffset(PDeviceContext(DC));
|
||||||
//writeln('SelectGDIRegion DC=',HexStr(Cardinal(DC),8),' DCOrigin=',DCOrigin.X,',',DCOrigin.Y);
|
//DCOrigin:=PDeviceContext(DC)^.Origin;
|
||||||
|
//writeln('SelectGDIRegion DC=',HexStr(Cardinal(DC),8),
|
||||||
|
// ' DCOrigin=',DCOrigin.X,',',DCOrigin.Y,' ',
|
||||||
|
// ' ',PDeviceContext(DC)^.Origin.X,',',PDeviceContext(DC)^.Origin.Y);
|
||||||
if (DCOrigin.X<>0) or (DCOrigin.X<>0) then
|
if (DCOrigin.X<>0) or (DCOrigin.X<>0) then
|
||||||
gdk_region_offset(Region^.GDIRegionObject,DCOrigin.X,DCOrigin.Y);
|
gdk_region_offset(Region^.GDIRegionObject,DCOrigin.X,DCOrigin.Y);
|
||||||
gdk_gc_set_clip_region(gc, PGDIObject(ClipRegion)^.GDIRegionObject);
|
gdk_gc_set_clip_region(gc, PGDIObject(ClipRegion)^.GDIRegionObject);
|
||||||
@ -2851,6 +2854,9 @@ end;
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.97 2002/09/12 15:53:10 lazarus
|
||||||
|
MG: small bugfixes
|
||||||
|
|
||||||
Revision 1.96 2002/09/12 15:35:57 lazarus
|
Revision 1.96 2002/09/12 15:35:57 lazarus
|
||||||
MG: small bugfixes
|
MG: small bugfixes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user