Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
ee7f141f
Kaydet (Commit)
ee7f141f
authored
Eki 24, 2013
tarafından
Ptyl Dragon
Kaydeden (comit)
Jan Holesovsky
Kas 15, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
now iOS draws something (upside down)
Change-Id: Ibf04322d34605fce30b2fa477de98a3e2ff9c2d1
üst
f2c3fcc3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
10 deletions
+9
-10
MLOTestingTileParametersViewController.m
...rs/testing_tiles/MLOTestingTileParametersViewController.m
+4
-4
viewsh.cxx
sw/source/core/view/viewsh.cxx
+5
-6
No files found.
ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTileParametersViewController.m
Dosyayı görüntüle @
ee7f141f
...
@@ -39,12 +39,12 @@ static const CGFloat RENDER_BUTTON_HEIGHT = 50.0f;
...
@@ -39,12 +39,12 @@ static const CGFloat RENDER_BUTTON_HEIGHT = 50.0f;
}
}
-
(
void
)
initParams
{
-
(
void
)
initParams
{
self
.
params
=
@[[
self
createParam
:
@"contextWidth"
extractor
:
^
(
CGFloat
value
)
{
self
.
contextWidth
=
value
;}
value
:
1
00
],
self
.
params
=
@[[
self
createParam
:
@"contextWidth"
extractor
:
^
(
CGFloat
value
)
{
self
.
contextWidth
=
value
;}
value
:
3
00
],
[
self
createParam
:
@"contextHeight"
extractor
:
^
(
CGFloat
value
){
self
.
contextHeight
=
value
;}
value
:
1
00
],
[
self
createParam
:
@"contextHeight"
extractor
:
^
(
CGFloat
value
){
self
.
contextHeight
=
value
;}
value
:
3
00
],
[
self
createParam
:
@"tilePosX"
extractor
:
^
(
CGFloat
value
){
self
.
tilePosX
=
value
;}
value
:
0
],
[
self
createParam
:
@"tilePosX"
extractor
:
^
(
CGFloat
value
){
self
.
tilePosX
=
value
;}
value
:
0
],
[
self
createParam
:
@"tilePosY"
extractor
:
^
(
CGFloat
value
){
self
.
tilePosY
=
value
;}
value
:
0
],
[
self
createParam
:
@"tilePosY"
extractor
:
^
(
CGFloat
value
){
self
.
tilePosY
=
value
;}
value
:
0
],
[
self
createParam
:
@"tileWidth"
extractor
:
^
(
CGFloat
value
){
self
.
tileWidth
=
value
;}
value
:
1
00
],
[
self
createParam
:
@"tileWidth"
extractor
:
^
(
CGFloat
value
){
self
.
tileWidth
=
value
;}
value
:
3
00
],
[
self
createParam
:
@"tileHeight"
extractor
:
^
(
CGFloat
value
){
self
.
tileHeight
=
value
;}
value
:
1
00
]
[
self
createParam
:
@"tileHeight"
extractor
:
^
(
CGFloat
value
){
self
.
tileHeight
=
value
;}
value
:
3
00
]
];
];
}
}
...
...
sw/source/core/view/viewsh.cxx
Dosyayı görüntüle @
ee7f141f
...
@@ -58,6 +58,7 @@
...
@@ -58,6 +58,7 @@
#include <vcl/bitmapex.hxx>
#include <vcl/bitmapex.hxx>
#include <svtools/colorcfg.hxx>
#include <svtools/colorcfg.hxx>
#include <vcl/bmpacc.hxx>
#include <vcl/bmpacc.hxx>
#include <vcl/alpha.hxx>
#include <svtools/accessibilityoptions.hxx>
#include <svtools/accessibilityoptions.hxx>
#include <accessibilityoptions.hxx>
#include <accessibilityoptions.hxx>
#include <statstr.hrc>
#include <statstr.hrc>
...
@@ -1788,12 +1789,10 @@ void touch_lo_draw_tile(void * context, int contextWidth, int contextHeight, int
...
@@ -1788,12 +1789,10 @@ void touch_lo_draw_tile(void * context, int contextWidth, int contextHeight, int
// SystemGraphicsData aData;
// SystemGraphicsData aData;
// [setup the aData]
// [setup the aData]
// VirtualDevice aDevice(&aData, [color depth]);
// VirtualDevice aDevice(&aData, [color depth]);
VirtualDevice
aDevice
;
//VirtualDevice aDevice;
aDevice
.
SetOutputSizePixel
(
Size
(
contextWidth
,
contextHeight
));
//aDevice.SetOutputSizePixel(Size(contextWidth, contextHeight));
pViewShell
->
PaintTile
(
pViewShell
->
GetOut
(),
Rectangle
(
tilePosX
,
tilePosY
,
tileWidth
,
tileHeight
));
pViewShell
->
PaintTile
(
&
aDevice
,
Rectangle
(
tilePosX
,
tilePosY
,
tileWidth
,
tileHeight
));
Bitmap
aBitmap
(
pViewShell
->
GetOut
()
->
GetBitmap
(
Point
(
0
,
0
),
pViewShell
->
GetOut
()
->
PixelToLogic
(
Size
(
contextWidth
,
contextHeight
))));
BitmapEx
aBitmapEx
(
aDevice
.
GetBitmapEx
(
Point
(
0
,
0
),
aDevice
.
GetOutputSizePixel
()));
Bitmap
aBitmap
=
aBitmapEx
.
GetBitmap
();
BitmapReadAccess
*
readAccess
=
aBitmap
.
AcquireReadAccess
();
BitmapReadAccess
*
readAccess
=
aBitmap
.
AcquireReadAccess
();
touch_lo_copy_buffer
((
void
*
)
readAccess
->
GetBuffer
(),
touch_lo_copy_buffer
((
void
*
)
readAccess
->
GetBuffer
(),
tileWidth
,
tileWidth
,
...
...
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