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
7de47fe4
Kaydet (Commit)
7de47fe4
authored
May 21, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
de-break published API change
Change-Id: I86c2a3d8897278b47eb6b81327469cfae2f41fd5
üst
f858fa26
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
106 additions
and
66 deletions
+106
-66
vclxgraphics.hxx
include/toolkit/awt/vclxgraphics.hxx
+2
-2
UnoApi_offapi.mk
offapi/UnoApi_offapi.mk
+1
-0
XGraphics.idl
offapi/com/sun/star/awt/XGraphics.idl
+24
-64
XGraphics2.idl
offapi/com/sun/star/awt/XGraphics2.idl
+79
-0
No files found.
include/toolkit/awt/vclxgraphics.hxx
Dosyayı görüntüle @
7de47fe4
...
...
@@ -21,7 +21,7 @@
#define _TOOLKIT_AWT_VCLXGRAPHICS_HXX_
#include <com/sun/star/awt/XGraphics.hpp>
#include <com/sun/star/awt/XGraphics
2
.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include <com/sun/star/lang/XTypeProvider.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
...
...
@@ -47,7 +47,7 @@ class Region;
// class VCLXGraphics
// ----------------------------------------------------
class
VCLXGraphics
:
public
::
com
::
sun
::
star
::
awt
::
XGraphics
,
class
VCLXGraphics
:
public
::
com
::
sun
::
star
::
awt
::
XGraphics
2
,
public
::
com
::
sun
::
star
::
lang
::
XTypeProvider
,
public
::
com
::
sun
::
star
::
lang
::
XUnoTunnel
,
public
::
cppu
::
OWeakObject
...
...
offapi/UnoApi_offapi.mk
Dosyayı görüntüle @
7de47fe4
...
...
@@ -1812,6 +1812,7 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,offapi/com/sun/star/awt,\
XFont \
XFont2 \
XGraphics \
XGraphics2 \
XImageButton \
XImageConsumer \
XImageProducer \
...
...
offapi/com/sun/star/awt/XGraphics.idl
Dosyayı görüntüle @
7de47fe4
...
...
@@ -25,8 +25,7 @@
#
include
<
com
/
sun
/
star
/
awt
/
FontDescriptor
.
idl>
#
include
<
com
/
sun
/
star
/
awt
/
RasterOperation
.
idl>
#
include
<
com
/
sun
/
star
/
awt
/
Gradient
.
idl>
#
include
<
com
/
sun
/
star
/
awt
/
Rectangle
.
idl>
#
include
<
com
/
sun
/
star
/
graphic
/
XGraphic
.
idl>
module
com
{
module
sun
{
module
star
{
module
awt
{
...
...
@@ -35,48 +34,49 @@ published interface XDisplayBitmap;
published
interface
XFont
;
published
interface
XDevice
;
/**
provides
the
basic
output
operation
of
a
device
.
*/
published
interface
XGraphics
:
com
::
sun
::
star
::
uno
::
XInterface
{
/**
the
device
of
this
graphics
/**
returns
the
device
of
this
graphics
.
*/
[
attribute
,
readonly
]
XDevice
Device
;
XDevice
getDevice
()
;
/**
the
text
color
used
by
text
operations
.
/**
returns
the
font
metric
of
the
current
font
.
*/
[
attribute
]
com
::
sun
::
star
::
util
::
Color
TextColor
;
SimpleFontMetric
getFontMetric
()
;
/**
the
fill
color
used
by
text
operations
.
/**
sets
the
font
used
by
text
operations
.
*/
[
attribute
]
com
::
sun
::
star
::
util
::
Color
TextFillColor
;
void
setFont
(
[
in
]
XFont
xNewFont
)
;
/**
the
line
color
.
/**
creates
a
new
font
and
sets
the
font
.
*/
[
attribute
]
com
::
sun
::
star
::
util
::
Color
LineColor
;
void
selectFont
(
[
in
]
FontDescriptor
aDescription
)
;
/**
the
fill
color
.
/**
sets
the
text
color
used
by
text
operations
.
*/
[
attribute
]
com
::
sun
::
star
::
util
::
Color
FillColor
;
/**
the
raster
operation
.
void
setTextColor
(
[
in
]
com
::
sun
::
star
::
util
::
Color
nColor
)
;
<
p
>
If
the
device
does
not
support
raster
operations
,
this
attribute
is
ignored
.
</p>
/**
sets
the
fill
color
used
by
text
operations
.
*/
[
attribute
]
RasterOperation
RasterOp
;
void
setTextFillColor
(
[
in
]
com
::
sun
::
star
::
util
::
Color
nColor
)
;
/**
the
font
used
by
text
operations
.
/**
sets
the
line
color
.
*/
[
attribute
]
XFont
Font
;
void
setLineColor
(
[
in
]
com
::
sun
::
star
::
util
::
Color
nColor
)
;
/**
the
font
metric
of
the
current
font
.
/**
sets
the
fill
color
.
*/
[
attribute
,
readonly
]
SimpleFontMetric
FontMetric
;
void
setFillColor
(
[
in
]
com
::
sun
::
star
::
util
::
Color
nColor
)
;
/**
creates
a
new
font
and
sets
the
font
.
/**
sets
the
raster
operation
.
<
p
>
If
the
device
does
not
support
raster
operations
then
this
call
is
ignored
.
</p>
*/
void
se
lectFont
(
[
in
]
FontDescriptor
aDescription
)
;
void
se
tRasterOp
(
[
in
]
RasterOperation
ROP
)
;
/**
sets
the
clip
region
to
specified
clipping
.
*/
...
...
@@ -95,12 +95,6 @@ published interface XGraphics: com::sun::star::uno::XInterface
*/
void
pop
()
;
/**
clears
the
given
rectangle
on
the
device
@
since
LibreOffice
4.1
*/
void
clear
(
[
in
]
Rectangle
aRect
)
;
/**
copies
a
rectangle
of
pixels
from
another
device
into
this
one
.
*/
void
copy
(
[
in
]
XDevice
xSource
,
...
...
@@ -232,43 +226,9 @@ published interface XGraphics: com::sun::star::uno::XInterface
[
in
]
long
Y
,
[
in
]
string
Text
,
[
in
]
sequence
<
long
>
Longs
)
;
/**
draws
a
<
type
scope
=
"com::sun::star::graphic"
>
XGraphic
</
type
>
in
the
output
device
.
<
p
>
Note
that
some
devices
may
not
support
this
operation
.
</p>
@
since
LibreOffice
4.1
@
param
nX
the
X
coordinate
on
the
device
where
the
graphic
will
be
drawn
@
param
nY
the
Y
coordinate
on
the
device
where
the
graphic
will
be
drawn
@
param
nWidth
the
width
of
the
region
on
the
device
@
param
nHeight
the
height
of
the
region
on
the
device
@
param
nStyle
the
style
used
to
draw
the
image
.
See
<
type
scope
=
"com::sun::star::awt"
>
ImageDrawMode
</
type
>.
@
param
aGraphic
the
<
type
scope
=
"com::sun::star::graphic"
>
XGraphic
</
type
>
to
be
drawn
onto
the
device
*/
void
drawImage
(
[
in
]
long
nX
,
[
in
]
long
nY
,
[
in
]
long
nWidth
,
[
in
]
long
nHeight
,
[
in
]
short
nStyle
,
[
in
]
::
com
::
sun
::
star
::
graphic
::
XGraphic
aGraphic
)
;
}
;
}
; }; }; };
#
endif
...
...
offapi/com/sun/star/awt/XGraphics2.idl
0 → 100644
Dosyayı görüntüle @
7de47fe4
/*
-*-
Mode
:
C
++
; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
*
This
file
is
part
of
the
LibreOffice
project
.
*
*
This
Source
Code
Form
is
subject
to
the
terms
of
the
Mozilla
Public
*
License
,
v
.
2.0
.
If
a
copy
of
the
MPL
was
not
distributed
with
this
*
file
,
You
can
obtain
one
at
http
:
//
mozilla
.
org/MPL/2.0/.
*
*
This
file
incorporates
work
covered
by
the
following
license
notice
:
*
*
Licensed
to
the
Apache
Software
Foundation
(
ASF
)
under
one
or
more
*
contributor
license
agreements
.
See
the
NOTICE
file
distributed
*
with
this
work
for
additional
information
regarding
copyright
*
ownership
.
The
ASF
licenses
this
file
to
you
under
the
Apache
*
License
,
Version
2.0
(
the
"License"
)
; you may not use this file
*
except
in
compliance
with
the
License
.
You
may
obtain
a
copy
of
*
the
License
at
http
:
//
www
.
apache.org/licenses/LICENSE-2.0
.
*/
#
ifndef
__com_sun_star_awt_XGraphics2_idl__
#
define
__com_sun_star_awt_XGraphics2_idl__
#
include
<
com
/
sun
/
star
/
awt
/
XGraphics
.
idl>
#
include
<
com
/
sun
/
star
/
awt
/
Rectangle
.
idl>
#
include
<
com
/
sun
/
star
/
graphic
/
XGraphic
.
idl>
module
com
{
module
sun
{
module
star
{
module
awt
{
/**
provides
the
basic
output
operation
of
a
device
.
*/
published
interface
XGraphics2
:
com
::
sun
::
star
::
awt
::
XGraphics
{
/**
clears
the
given
rectangle
on
the
device
@
since
LibreOffice
4.1
*/
void
clear
(
[
in
]
Rectangle
aRect
)
;
/**
draws
a
<
type
scope
=
"com::sun::star::graphic"
>
XGraphic
</
type
>
in
the
output
device
.
<
p
>
Note
that
some
devices
may
not
support
this
operation
.
</p>
@
since
LibreOffice
4.1
@
param
nX
the
X
coordinate
on
the
device
where
the
graphic
will
be
drawn
@
param
nY
the
Y
coordinate
on
the
device
where
the
graphic
will
be
drawn
@
param
nWidth
the
width
of
the
region
on
the
device
@
param
nHeight
the
height
of
the
region
on
the
device
@
param
nStyle
the
style
used
to
draw
the
image
.
See
<
type
scope
=
"com::sun::star::awt"
>
ImageDrawMode
</
type
>.
@
param
aGraphic
the
<
type
scope
=
"com::sun::star::graphic"
>
XGraphic
</
type
>
to
be
drawn
onto
the
device
*/
void
drawImage
(
[
in
]
long
nX
,
[
in
]
long
nY
,
[
in
]
long
nWidth
,
[
in
]
long
nHeight
,
[
in
]
short
nStyle
,
[
in
]
::
com
::
sun
::
star
::
graphic
::
XGraphic
aGraphic
)
;
}
;
}
; }; }; };
#
endif
/*
vim
:
set
shiftwidth
=
4
softtabstop
=
4
expandtab
:
*/
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